From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 13 19:51:15 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13FE0106566C for ; Sat, 13 Mar 2010 19:51:15 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pz0-f196.google.com (mail-pz0-f196.google.com [209.85.222.196]) by mx1.freebsd.org (Postfix) with ESMTP id D0B7D8FC15 for ; Sat, 13 Mar 2010 19:51:14 +0000 (UTC) Received: by pzk34 with SMTP id 34so1314057pzk.3 for ; Sat, 13 Mar 2010 11:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XHgIGFe3qTs0scr3m4DetSJW6BWy/bTNhGqk8dtG/aw=; b=fvJ5mpMK+WZzp99VelM8wwmdRknneIl8/z/90LuVYjjlX3xf61AUpo1FfGGt0jAwWn 8I3eRGvTn13iWvkZrDCjQ3pgRrFpkARIrWLb/vk1cDbXYOE+mMNNG5KjXTHZ3vdizAiB t7QLGOG1oESbpiH6bkmOqYqlitrx19wQMGcC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NosFJw9OAcga2rgxGUGB2vvREStPWHqXpRa3E09izSYlz1v9WVNlQjgkaTSFww3KnR ZGHHx6X1zN28GI5Tiu+zIYO+Uv2PG2iaW/A+gt1ZzQn2l4iJ2BH6O4XWYnwTyV/dpSA9 1R2VJUg2SsZyJMxodlVfyhdiLEN2p2nMwS2u8= MIME-Version: 1.0 Received: by 10.142.151.31 with SMTP id y31mr2059686wfd.107.1268509874185; Sat, 13 Mar 2010 11:51:14 -0800 (PST) In-Reply-To: <20100313075249.GA92690@logik.internal.network> References: <20100226163227.GA15162@logik.internal.network> <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> <20100313022817.GA40872@logik.internal.network> <4B9B0856.4090301@FreeBSD.org> <20100313075249.GA92690@logik.internal.network> Date: Sat, 13 Mar 2010 11:51:14 -0800 Message-ID: <7d6fde3d1003131151x1909f475m7cd2633abaf436ce@mail.gmail.com> From: Garrett Cooper To: xorquewasp@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Something rotten in ports (was Re: package building failure irritation) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 19:51:15 -0000 On Fri, Mar 12, 2010 at 11:52 PM, 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? =A0= If >> 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.tb= z' > 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/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 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: [gcooper@bayonetta ~]$ sudo make -C /usr/ports/textproc/docbook-420/ package-noinstall Password: =3D=3D=3D> 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 directo= ry tar: share/sgml/docbook/4.2/calstblx.dtd: Cannot stat: No such file or dire= ctory 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 direc= tory tar: share/sgml/docbook/4.2/dbcentx.mod: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/dbgenent.mod: Cannot stat: No such file or dire= ctory tar: share/sgml/docbook/4.2/dbhierx.mod: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/dbnotnx.mod: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/dbpoolx.mod: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/docbook.cat: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/docbook.dcl: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/docbook.dtd: Cannot stat: No such file or direc= tory tar: share/sgml/docbook/4.2/docbookx.dtd: Cannot stat: No such file or dire= ctory tar: share/sgml/docbook/4.2/soextblx.dtd: Cannot stat: No such file or dire= ctory 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 *** 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/ . .. .PLIST.mktmp There's some sort of strange interaction with these ports (textproc/docbook*) that I'm currently looking at. Thanks, -Garrett