Date: Sat, 13 Mar 2010 11:52:48 -0800 From: Garrett Cooper <yanefbsd@gmail.com> To: xorquewasp@googlemail.com Cc: freebsd-hackers@freebsd.org Subject: Re: Something rotten in ports (was Re: package building failure irritation) Message-ID: <7d6fde3d1003131152v6d6374fdsc2f1754306b5bbac@mail.gmail.com> In-Reply-To: <7d6fde3d1003131151x1909f475m7cd2633abaf436ce@mail.gmail.com> References: <20100226163227.GA15162@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> <20100313022817.GA40872@logik.internal.network> <4B9B0856.4090301@FreeBSD.org> <20100313075249.GA92690@logik.internal.network> <7d6fde3d1003131151x1909f475m7cd2633abaf436ce@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 13, 2010 at 11:51 AM, Garrett Cooper <yanefbsd@gmail.com> wrote= : > On Fri, Mar 12, 2010 at 11:52 PM, =A0<xorquewasp@googlemail.com> wrote: >>> Have you tried just setting PORTSDIR and letting bsd.port.mk set the >>> rest of the paths with their defaults that are relative to PORTSDIR? = =A0If >>> that works, then we can start hunting for places that are not handling >>> absolute vs. relative paths correctly in bsd.port.mk. >> >> Now, with only: >> >> =A0PORTSDIR=3D/var/ports/tree >> >> .. in make.conf, the error is: >> >> Creating package /var/ports/tree/devel/eggdbus/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/tree/devel/eggdbus/eggdbus-0.6.t= bz' >> rmdir: /var/ports/tree/devel/eggdbus/work: Directory not empty >> *** Error code 1 (ignored) >> =3D=3D=3D> =A0 Generating temporary packing list >> Creating package /var/ports/tree/textproc/docbook-420/docbook-4.2.tbz >> Registering depends: iso8879-1986_2 xmlcatmgr-2.2. >> Creating bzip'd tar ball in '/var/ports/tree/textproc/docbook-420/docboo= k-4.2.tbz' >> tar: share/sgml/docbook/4.2/ChangeLog: Cannot stat: No such file or dire= ctory >> tar: share/sgml/docbook/4.2/calstblx.dtd: Cannot stat: No such file or d= irectory >> tar: share/sgml/docbook/4.2/catalog: Cannot stat: No such file or direct= ory >> tar: share/sgml/docbook/4.2/catalog.xml: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/dbcentx.mod: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/dbgenent.mod: Cannot stat: No such file or d= irectory >> tar: share/sgml/docbook/4.2/dbhierx.mod: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/dbnotnx.mod: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/dbpoolx.mod: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/docbook.cat: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/docbook.dcl: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/docbook.dtd: Cannot stat: No such file or di= rectory >> tar: share/sgml/docbook/4.2/docbookx.dtd: Cannot stat: No such file or d= irectory >> tar: share/sgml/docbook/4.2/soextblx.dtd: Cannot stat: No such file or d= irectory >> tar: share/sgml/docbook/4.2/README: Cannot stat: No such file or directo= ry >> tar: Error exit delayed from previous errors. >> pkg_create: make_dist: tar command failed with code 256 >> *** Error code 1 > > Note: all packages being created via package-recursive are created via > package-noinstall, and because the pkg-plist is referring to files and > directories which don't exist when install is run, the call will > always fail: Before a few folks correct me on this claim... all DEPENDENT packages are created via package-noinstall. The top-level package created with package-recursive is actually created via package. > [gcooper@bayonetta ~]$ sudo make -C /usr/ports/textproc/docbook-420/ > package-noinstall > Password: > =3D=3D=3D> =A0 Generating temporary packing list > Creating package /usr/ports/packages/All/docbook-4.2.tbz > Registering depends: iso8879-1986_2 xmlcatmgr-2.2. > Creating bzip'd tar ball in '/usr/ports/packages/All/docbook-4.2.tbz' > tar: share/sgml/docbook/4.2/ChangeLog: Cannot stat: No such file or direc= tory > tar: share/sgml/docbook/4.2/calstblx.dtd: Cannot stat: No such file or di= rectory > tar: share/sgml/docbook/4.2/catalog: Cannot stat: No such file or directo= ry > tar: share/sgml/docbook/4.2/catalog.xml: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/dbcentx.mod: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/dbgenent.mod: Cannot stat: No such file or di= rectory > tar: share/sgml/docbook/4.2/dbhierx.mod: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/dbnotnx.mod: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/dbpoolx.mod: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/docbook.cat: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/docbook.dcl: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/docbook.dtd: Cannot stat: No such file or dir= ectory > tar: share/sgml/docbook/4.2/docbookx.dtd: Cannot stat: No such file or di= rectory > tar: share/sgml/docbook/4.2/soextblx.dtd: Cannot stat: No such file or di= rectory > tar: share/sgml/docbook/4.2/README: Cannot stat: No such file or director= y > tar: Error exit delayed from previous errors. > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > > Stop in /usr/ports/textproc/docbook-420. > *** Error code 1 > > Stop in /usr/ports/textproc/docbook-420. > [gcooper@bayonetta ~]$ cat /usr/ports/textproc/docbook-420/pkg-plist > share/sgml/docbook/4.2/ChangeLog > share/sgml/docbook/4.2/calstblx.dtd > @unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove > %%DTD_NAME%%/%%DTD_VERSION%%/catalog > share/sgml/docbook/4.2/catalog > share/sgml/docbook/4.2/catalog.xml > @exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG > %%DTD_NAME%%/%%DTD_VERSION%%/catalog > share/sgml/docbook/4.2/dbcentx.mod > share/sgml/docbook/4.2/dbgenent.mod > share/sgml/docbook/4.2/dbhierx.mod > share/sgml/docbook/4.2/dbnotnx.mod > share/sgml/docbook/4.2/dbpoolx.mod > share/sgml/docbook/4.2/docbook.cat > share/sgml/docbook/4.2/docbook.dcl > share/sgml/docbook/4.2/docbook.dtd > share/sgml/docbook/4.2/docbookx.dtd > share/sgml/docbook/4.2/soextblx.dtd > share/sgml/docbook/4.2/README > @dirrm share/sgml/docbook/4.2 > @dirrmtry share/sgml/docbook > [gcooper@bayonetta /usr/ports/textproc/docbook-420]$ ls -a work/ > . =A0 =A0 =A0 =A0 =A0 =A0 =A0 .. =A0 =A0 =A0 =A0 =A0 =A0 =A0.PLIST.mktmp > > =A0 =A0There's some sort of strange interaction with these ports > (textproc/docbook*) that I'm currently looking at. > Thanks, > -Garrett >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d1003131152v6d6374fdsc2f1754306b5bbac>