Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2010 02:28:18 +0000
From:      xorquewasp@googlemail.com
To:        freebsd-hackers@FreeBSD.org
Subject:   Something rotten in ports (was Re: package building failure irritation)
Message-ID:  <20100313022817.GA40872@logik.internal.network>
In-Reply-To: <867hpr56ek.fsf@ds4.des.no>
References:  <20100226163227.GA15162@logik.internal.network> <4B88074E.7050007@FreeBSD.org> <20100226222113.GA14592@logik.internal.network> <4B884D48.90509@FreeBSD.org> <20100227093409.GA40858@logik.internal.network> <864ol0w4g5.fsf@ds4.des.no> <20100304175819.GC31036@logik.internal.network> <867hpr56ek.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a complete lot of how to reproduce the various errors I've
seen with 'make package-recursive'. I've checked the pointyhat logs
and there are no errors logged for the packages involved here. There
seems to be a bug somewhere in ports. I've used inkscape as a scapegoat
here but the errors occur with many, many ports.

There is no ZFS or nullfs involved here (apart from the read-only nullfs
mount that ezjail uses to share /usr/bin and the like).

I've used ezjail-admin to create jails.

$ sudo ezjail-admin create 8.0-amd64-pkg_viper-2 127.1.0.11
$ sudo ezjail-admin onestart 8.0-amd64-pkg_viper-2
$ sudo jexec `jls | grep pkg_viper-2 | awk '{print $1}'` sh

jail# mkdir /var/ports/work
jail# mkdir /var/ports/tree
jail# mkdir /var/ports/packages
jail# mkdir /var/ports/distfiles
jail# vi /etc/make.conf
DISTDIR=       /var/ports/distfiles
PACKAGES=      /var/ports/packages
WRKDIRPREFIX=  /var/ports/work
PORTSDIR=      /var/ports/tree

jail# vi /etc/profile
FTP_PASSIVE_MODE=yes
HTTP_PROXY=10.1.3.3:8080
export FTP_PASSIVE_MODE
export HTTP_PROXY
jail# . /etc/profile

jail# portsnap -p /var/ports/tree fetch extract
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from portsnap2.FreeBSD.org... done.
Fetching snapshot tag from portsnap2.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Fri Mar 12 00:22:12 UTC 2010:
d67bd7a10044c70dc705b2c5b05db32b07ab8bd2262c3e  1% of   61 MB  161 kBps
...

jail# cd /var/ports/tree/graphics/inkscape
jail# make config-recursive
jail# make fetch-recursive
jail# make package-recursive 2>&1 | tee /tmp/inkscape.log

Of course, at the end of inkscape.log:

Creating package /var/ports/packages/All/docbook-4.1_4.tbz
Registering depends: iso8879-1986_2 xmlcatmgr-2.2.
Creating bzip'd tar ball in '/var/ports/packages/All/docbook-4.1_4.tbz'
rmdir: /var/ports/work/var/ports/tree/textproc/docbook-410/work: Directory not empty
*** Error code 1 (ignored)
Creating package /var/ports/packages/All/eggdbus-0.6.tbz
Registering depends: dbus-glib-0.84 gio-fam-backend-2.22.4 gamin-0.1.10_3 glib-2.22.4 gettext-0.17_1 dbus-1.2.16_1 libxml2-2.7.6_1 libiconv-1.13.1_1 libX11-1.2.1_1,1 libxcb-1.5 libpthread-stubs-0.3_3 pcre-8.00 libXau-1.0.4 libXdmcp-1.0.2_1 xproto-7.0.15 pkg-config-0.23_1 perl-5.10.1 python26-2.6.4 gnome_subr-1.0 expat-2.0.1_1 kbproto-1.0.3.
Creating bzip'd tar ball in '/var/ports/packages/All/eggdbus-0.6.tbz'
rmdir: /var/ports/work/var/ports/tree/devel/eggdbus/work: Directory not empty
*** Error code 1 (ignored)
===>   Generating temporary packing list
tar: share/sgml/docbook/4.2/ChangeLog: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/calstblx.dtd: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/catalog: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/catalog.xml: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/dbcentx.mod: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/dbgenent.mod: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/dbhierx.mod: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/dbnotnx.mod: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/dbpoolx.mod: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/docbook.cat: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/docbook.dcl: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/docbook.dtd: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/docbookx.dtd: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/soextblx.dtd: Cannot stat: No such file or directory
tar: share/sgml/docbook/4.2/README: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
Creating package /var/ports/packages/All/docbook-4.2.tbz
Registering depends: iso8879-1986_2 xmlcatmgr-2.2.
Creating bzip'd tar ball in '/var/ports/packages/All/docbook-4.2.tbz'
*** Error code 1

Stop in /var/ports/tree/textproc/docbook-420.
*** Error code 1

Stop in /var/ports/tree/textproc/docbook-420.
*** Error code 1

Stop in /var/ports/tree/graphics/inkscape.

The full log is here:

  http://coreland.ath.cx/tmp/inkscape.log

xw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100313022817.GA40872>