From owner-freebsd-pkgbase@freebsd.org Mon Mar 28 20:35:02 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30B92AE058F for ; Mon, 28 Mar 2016 20:35:02 +0000 (UTC) (envelope-from kris@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 145A01450 for ; Mon, 28 Mar 2016 20:35:01 +0000 (UTC) (envelope-from kris@ixsystems.com) X-ASG-Debug-ID: 1459197300-08ca041787279b60001-wjM0Vu Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id 5Dz9SlXbWU51LJtT (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Mar 2016 13:35:00 -0700 (PDT) X-Barracuda-Envelope-From: kris@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id DBA359C1936; Mon, 28 Mar 2016 13:35:00 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id rpZGHNxuLNcT; Mon, 28 Mar 2016 13:35:00 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 7D0D59C193B; Mon, 28 Mar 2016 13:35:00 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5aLeGc-ulNzG; Mon, 28 Mar 2016 13:35:00 -0700 (PDT) Received: from [192.168.0.150] (68-114-155-91.static.kgpt.tn.charter.com [68.114.155.91]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id BCBC99C1936; Mon, 28 Mar 2016 13:34:59 -0700 (PDT) Subject: Re: Missing METALOG To: Glen Barber , Sean Fagan , Marko Turk , Kris Moore X-ASG-Orig-Subj: Re: Missing METALOG References: <56F169EC.6010400@pcbsd.org> <20160322164814.GJ58208@FreeBSD.org> <56F1979C.7010306@pcbsd.org> <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org> Cc: freebsd-pkgbase@freebsd.org From: Kris Moore X-Enigmail-Draft-Status: N1110 Message-ID: <56F99572.60706@ixsystems.com> Date: Mon, 28 Mar 2016 16:34:58 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160322210541.GM58208@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1459197300 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 20:35:02 -0000 On 03/22/16 05:05 PM, Glen Barber wrote: > On Tue, Mar 22, 2016 at 01:31:34PM -0700, Sean Fagan wrote: >> On Mar 22, 2016, at 1:22 PM, Glen Barber wrote: >>> I think DESTDIR is what is causing the problem for you, but I would n= eed >>> more of the build log in order to confirm this. I have kicked a buil= d >>> locally, to confirm. I *think* we need to make WSTAGEDIR, KSTAGEDIR,= >>> and REPODIR overridable (i.e., 'KSTAGEDIR?=3D[...]'). >>> >>> This might be the same reason for the other two reports yesterday. >> Looks like it. I just did the packages part as root, no DESTDIR, and = it died differently: >> >> [ -L "/home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/hom= e/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/= latest" ] && unlink /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI= _FILE=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh = config ABI)/latest ; pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-pk= g/amd64.amd64/worldstage/bin/sh repo -o /home/sef/obj/home/sef/freebsd-p= kg/repo/$(pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd6= 4/worldstage/bin/sh config ABI)/11.0.s20160322202440 /home/sef/obj/home/= sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/home/sef/obj/home/sef/freebsd-p= kg/amd64.amd64/worldstage/bin/sh config ABI)/11.0.s20160322202440 ; ln= -s /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FILE=3D/home/sef= /obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh config ABI)/11.0.= s20160322202440 /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o ABI_FIL= E=3D/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh conf= ig ABI)/latest >> pkg: Warning: Major OS version upgrade detected. Running "pkg-static = install -f pkg" recommended >> pkg: Warning: Major OS version upgrade detected. Running "pkg-static = install -f pkg" recommended >> pkg: Warning: Major OS version upgrade detected. Running "pkg-static = install -f pkg" recommended >> pkg: Warning: Major OS version upgrade detected. Running "pkg-static = install -f pkg" recommended >> pkg: /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s20= 160322202440 is not a directory >> Cannot create repository catalogue >> >> Now, I do have /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd6= 4/11.0.s20160317195753, so perhaps I=92ll clean everything and start over= , see how that goes. >> > Can the three of you please try with r297197 applied (attached for > convenience). In quick evaluation, I believe this should fix this. > > Glen > Sorry it took so long. Same error though, even with latest patch. install -U -M /tmp/build/6MzS/pcbsd/base-pkg//tmp/build/6MzS/pcbsd/fbsd-dist/kernel.pre= meta -D /tmp/build/6MzS/pcbsd/base-pkg/tmp/build/6MzS/pcbsd/fbsd-dist -T debug -o root -g wheel -m 555 zlib.ko.debug /tmp/build/6MzS/pcbsd/base-pkg/tmp/build/6MzS/pcbsd/fbsd-dist/kernel/usr/= lib/debug/boot/kernel/ kldxref /tmp/build/6MzS/pcbsd/base-pkg/tmp/build/6MzS/pcbsd/fbsd-dist/kernel/boot= /kernel awk: can't open file /tmp/build/6MzS/pcbsd/base-pkg/METALOG source line number 81 *** Error code 2 Stop. bmake[6]: stopped in /tmp/build/6MzS/pcbsd/git/freebsd *** Error code 1 Build was done with same flags as before. I can try without DESTDIR possibly and see, but I'm guessing it would be same error as what Sean ran into. --=20 Kris Moore PC-BSD Software / iXsystems Enterprise Storage & Servers Driven By Open Source From owner-freebsd-pkgbase@freebsd.org Tue Mar 29 02:22:40 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3600CAE1235 for ; Tue, 29 Mar 2016 02:22:40 +0000 (UTC) (envelope-from sef@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 174911D58 for ; Tue, 29 Mar 2016 02:22:39 +0000 (UTC) (envelope-from sef@ixsystems.com) X-ASG-Debug-ID: 1459218158-08ca04178827f180001-wjM0Vu Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id JoOMtGtfizBNwgyv (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 28 Mar 2016 19:22:39 -0700 (PDT) X-Barracuda-Envelope-From: sef@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id E316F9C1788; Mon, 28 Mar 2016 19:22:38 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id n7v6kITsewfT; Mon, 28 Mar 2016 19:22:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id A9A7E9C23C9; Mon, 28 Mar 2016 19:22:38 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oTy4__jrPmv9; Mon, 28 Mar 2016 19:22:38 -0700 (PDT) Received: from [192.168.0.115] (173-164-180-199-SFBA.hfc.comcastbusiness.net [173.164.180.199]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id 7C33B9C1788; Mon, 28 Mar 2016 19:22:38 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Missing METALOG From: Sean Fagan X-ASG-Orig-Subj: Re: Missing METALOG In-Reply-To: <20160323195701.GB1894@vps.markoturk.info> Date: Mon, 28 Mar 2016 19:22:37 -0700 Cc: Glen Barber , freebsd-pkgbase@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <88B39CE5-40ED-4AE9-B92F-97D5C6182FBE@ixsystems.com> References: <56F169EC.6010400@pcbsd.org> <20160322164814.GJ58208@FreeBSD.org> <56F1979C.7010306@pcbsd.org> <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org> <20160323144318.GA1894@vps.markoturk.info> <20160323194056.GI49119@FreeBSD.org> <20160323195701.GB1894@vps.markoturk.info> To: Marko Turk X-Mailer: Apple Mail (2.3124) X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1459218159 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 02:22:40 -0000 The problem is sign-packages. I made the following change: diff --git a/Makefile.inc1 b/Makefile.inc1 index 890ee64..64436d5 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1262,7 +1262,9 @@ _pkgbootstrap: .endif =20 packages: - ${MAKE} -C ${.CURDIR} PKG_VERSION=3D${PKG_VERSION} real-packages + ${MAKE} -C ${.CURDIR} PKG_VERSION=3D${PKG_VERSION} \ + WSTAGEDIR=3D${WSTAGEDIR} KSTAGEDIR=3D${KSTAGEDIR} \ + real-packages =20 package-pkg: rm -rf /tmp/ports.${TARGET} || : but ended up not using it: doing time env MAKEOBJDIRPREFIX=3D${HOME}/obj make -DNO_ROOT = -DNO_CLEAN -j1 -dl stage-packages create-packages ended up creating a whole bunch of packages. If I tried to do a make = packages, it failed. I haven=E2=80=99t delved further yet, but that=E2=80=99s on the list. Sean. From owner-freebsd-pkgbase@freebsd.org Tue Mar 29 14:17:18 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09320AE0772 for ; Tue, 29 Mar 2016 14:17:18 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (vps.markoturk.info [95.154.208.14]) by mx1.freebsd.org (Postfix) with ESMTP id CC3C819DA; Tue, 29 Mar 2016 14:17:17 +0000 (UTC) (envelope-from markoml@markoturk.info) Received: from vps.markoturk.info (localhost [127.0.0.1]) by vps.markoturk.info (Postfix) with ESMTP id E0C972738C; Tue, 29 Mar 2016 16:17:09 +0200 (CEST) Date: Tue, 29 Mar 2016 16:17:09 +0200 From: Marko Turk To: Sean Fagan Cc: Glen Barber , freebsd-pkgbase@freebsd.org Subject: Re: Missing METALOG Message-ID: <20160329141708.GA49133@vps.markoturk.info> References: <56F169EC.6010400@pcbsd.org> <20160322164814.GJ58208@FreeBSD.org> <56F1979C.7010306@pcbsd.org> <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org> <20160323144318.GA1894@vps.markoturk.info> <20160323194056.GI49119@FreeBSD.org> <20160323195701.GB1894@vps.markoturk.info> <88B39CE5-40ED-4AE9-B92F-97D5C6182FBE@ixsystems.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <88B39CE5-40ED-4AE9-B92F-97D5C6182FBE@ixsystems.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 14:17:18 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2016 at 07:22:37PM -0700, Sean Fagan wrote: > The problem is sign-packages. >=20 > I made the following change: >=20 > diff --git a/Makefile.inc1 b/Makefile.inc1 > index 890ee64..64436d5 100644 > --- a/Makefile.inc1 > +++ b/Makefile.inc1 > @@ -1262,7 +1262,9 @@ _pkgbootstrap: > .endif > =20 > packages: > - ${MAKE} -C ${.CURDIR} PKG_VERSION=3D${PKG_VERSION} real-packages > + ${MAKE} -C ${.CURDIR} PKG_VERSION=3D${PKG_VERSION} \ > + WSTAGEDIR=3D${WSTAGEDIR} KSTAGEDIR=3D${KSTAGEDIR} \ > + real-packages > =20 > package-pkg: > rm -rf /tmp/ports.${TARGET} || : >=20 > but ended up not using it: doing >=20 > time env MAKEOBJDIRPREFIX=3D${HOME}/obj make -DNO_ROOT -DNO_CLEAN -j1 -d= l stage-packages create-packages >=20 > ended up creating a whole bunch of packages. If I tried to do a make pac= kages, it failed. >=20 > I haven=E2=80=99t delved further yet, but that=E2=80=99s on the list. >=20 > Sean. >=20 Hi, I still get the file not found error as before. I tried both the patch and the make command you suggested. BR, Marko --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW+o5kAAoJEHg6bF2mqM2IiukP/jDa+K1GTQDRurx+6HpzAijP NeuSQDzwgZqlmlknt1+kKCq4evvgEU3+kTk8kWwxwmiyNAriunyf8NpRPTt9UlFa a1rk8VsHX8ObyB7/07idZmOr0IeiY1UglsDY+EUFGDFvSRp9cGV+mszcv1ovlm94 Ib72kkEDV5PYr9pw82gf+VPl5LSWuaDSvpPpjoOcUHUoy6sTX/GIFYsS+00ciuit cqkTXrrxMvOVjKnu/EnWS4mMBE2Z4KsEvGoHKQelPgpltxqw1tn6eYP6Cct+jsID B23/M0f8eaaAQsEFfDcVmcn0vfG6sQ+IwDnrkWgsGTS7mHQD9QrrBSVtbWne3j5Q 1JpsSgDKh7pRe6UWBJOHOsnknzbIWMiBSX+4//miw3PwSfoFf2Q0sE6pfyvQELti VwtzyehJP+i0lMOGcq7lTUR35eDuyXXEwnlUc5xfmSuZcOrlZjmCXr6UPoxz8W59 SMDzAsbHcaPYLt/rrIKfsqbhztKbxeAd8CASmV5o88iwDhLuZ7D+eCZNNsafcck3 uw31woeIQmXB9GzPcbhKnROyIiC/Df+YrXnPRpWzhIB5wpmW1B/mj53yJsZbflMC s8kXhBMLzGWVV2JZL9gNeLsM+SOAAvh5Ci9BR3RxiEiBbbUG23R2FlG5UR2AJoBk EXyA7xoK2GwZEUhmmcnP =jUym -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- From owner-freebsd-pkgbase@freebsd.org Tue Mar 29 20:06:54 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB033AE2B19 for ; Tue, 29 Mar 2016 20:06:54 +0000 (UTC) (envelope-from sef@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E61610D7 for ; Tue, 29 Mar 2016 20:06:54 +0000 (UTC) (envelope-from sef@ixsystems.com) X-ASG-Debug-ID: 1459282013-08ca04178828e600001-wjM0Vu Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id P5a1saXg1IOklz7y (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 29 Mar 2016 13:06:53 -0700 (PDT) X-Barracuda-Envelope-From: sef@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 0D1269C38B1; Tue, 29 Mar 2016 13:06:53 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id nZRtJUKEyOhP; Tue, 29 Mar 2016 13:06:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id D5E9F9C3973; Tue, 29 Mar 2016 13:06:52 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0A6Y-JnPQLxX; Tue, 29 Mar 2016 13:06:52 -0700 (PDT) Received: from [10.5.0.136] (unknown [10.5.0.136]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id B5C689C38B1; Tue, 29 Mar 2016 13:06:52 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Missing METALOG From: Sean Fagan X-ASG-Orig-Subj: Re: Missing METALOG In-Reply-To: <88B39CE5-40ED-4AE9-B92F-97D5C6182FBE@ixsystems.com> Date: Tue, 29 Mar 2016 13:06:52 -0700 Cc: Glen Barber , freebsd-pkgbase@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1D890961-FF7F-46E3-A85E-E854EB986DB3@ixsystems.com> References: <56F169EC.6010400@pcbsd.org> <20160322164814.GJ58208@FreeBSD.org> <56F1979C.7010306@pcbsd.org> <20160322202242.GL58208@FreeBSD.org> <08F56E57-F9F4-4C3E-8154-108E5E50E3D0@ixsystems.com> <20160322210541.GM58208@FreeBSD.org> <20160323144318.GA1894@vps.markoturk.info> <20160323194056.GI49119@FreeBSD.org> <20160323195701.GB1894@vps.markoturk.info> <88B39CE5-40ED-4AE9-B92F-97D5C6182FBE@ixsystems.com> To: Marko Turk X-Mailer: Apple Mail (2.3124) X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1459282013 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2016 20:06:54 -0000 sign-packages: _pkgbootstrap @[ -L "${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh = config ABI)/latest" ] && \ unlink ${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh= config ABI)/latest ; \ pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh repo \ -o ${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh = config ABI)/${PKG_VERSION} \ ${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh = config ABI)/${PKG_VERSION} \ ${PKGSIGNKEY} ; \ ln -s ${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh config = ABI)/${PKG_VERSION} \ ${REPODIR}/$$(pkg -o ABI_FILE=3D${WSTAGEDIR}/bin/sh = config ABI)/latest I can=E2=80=99t tell where ${REPODIR}/${ABI}/${PKG_VERSION} is supposed = to be created. Help? Thanks, Sean. From owner-freebsd-pkgbase@freebsd.org Wed Mar 30 00:07:35 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C5A1AE1FA3 for ; Wed, 30 Mar 2016 00:07:35 +0000 (UTC) (envelope-from sef@ixsystems.com) Received: from barracuda.ixsystems.com (barracuda.ixsystems.com [12.229.62.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D44111DC for ; Wed, 30 Mar 2016 00:07:34 +0000 (UTC) (envelope-from sef@ixsystems.com) X-ASG-Debug-ID: 1459296453-08ca0417882928d0001-wjM0Vu Received: from zimbra.ixsystems.com ([10.246.0.20]) by barracuda.ixsystems.com with ESMTP id kwdeIFTq7sC1cNs3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 29 Mar 2016 17:07:34 -0700 (PDT) X-Barracuda-Envelope-From: sef@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.246.0.20 X-ASG-Whitelist: Client Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id EDC089C4268 for ; Tue, 29 Mar 2016 17:07:33 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id j-nL3wQvjRDw for ; Tue, 29 Mar 2016 17:07:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 995019C4267 for ; Tue, 29 Mar 2016 17:07:33 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AAXC35x91dhp for ; Tue, 29 Mar 2016 17:07:33 -0700 (PDT) Received: from [192.168.0.115] (173-164-180-199-SFBA.hfc.comcastbusiness.net [173.164.180.199]) by zimbra.ixsystems.com (Postfix) with ESMTPSA id 766E09C41FF for ; Tue, 29 Mar 2016 17:07:33 -0700 (PDT) From: Sean Fagan Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Okay, got it to build Message-Id: <2515C2C2-0D7B-47B0-BD66-21B332F1B734@ixsystems.com> X-ASG-Orig-Subj: Okay, got it to build Date: Tue, 29 Mar 2016 17:07:32 -0700 To: freebsd-pkgbase@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-Barracuda-Connect: UNKNOWN[10.246.0.20] X-Barracuda-Start-Time: 1459296454 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://10.246.0.26:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 00:07:35 -0000 Using env MAKEOBJDIRPREFIX=3D${HOME}/obj make -DNO_ROOT -DNO_CLEAN = DESTDIR=3D${HOME}/packages REPODIR=3D${HOME}/packages/repo -dl -j1 = packages (Normal buildworld & buildkernel were fine, obviously.) When doing "make packages", which then did "make real-packags", the = sign-packages target was being built before create-packages (I ended up = verifying this by putting echos in each of the targets), so I broke it = into three separate invocations of make. I=E2=80=99m sure there=E2=80=99s= a better way. As I had asked before, I couldn=E2=80=99t figure out where = ${REPODIR}/${ABI}/${PKG_VERISON} was being created, so I put that into = the _pkgbootstrap rule. Diffs below; I=E2=80=99m not entirely sure how many of them are = necessary. But=E2=80=A6 this did create 413 package files. No root = needed, either, which is kinda sweet. Sean. diff --git a/Makefile.inc1 b/Makefile.inc1 index 890ee64..7430d7e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1260,9 +1260,14 @@ _pkgbootstrap: .if !exists(${LOCALBASE}/sbin/pkg) @env ASSUME_ALWAYS_YES=3DYES pkg bootstrap .endif +.if defined(PKG_VERSION) + @mkdir -p ${REPODIR}/$$(pkg -o ABI_FILE=3D${DESTDIR}/bin/sh = config ABI)/${PKG_VERSION} +.endif =20 packages: - ${MAKE} -C ${.CURDIR} PKG_VERSION=3D${PKG_VERSION} real-packages + env ${MAKEENV:Q} ${MAKE} -C ${.CURDIR} = PKG_VERSION=3D${PKG_VERSION} \ + WSTAGEDIR=3D${DESTDIR:U${WSTAGEDIR}} = KSTAGEDIR=3D${DESTDIR:U${KSTAGEDIR}} \ + real-packages =20 package-pkg: rm -rf /tmp/ports.${TARGET} || : @@ -1270,7 +1275,17 @@ package-pkg: PKG_VERSION=3D${PKG_VERSION} REPODIR=3D${REPODIR} = WSTAGEDIR=3D${WSTAGEDIR} \ sh ${.CURDIR}/release/scripts/make-pkg-package.sh =20 -real-packages: stage-packages create-packages sign-packages +#real-packages: stage-packages create-packages sign-packages +real-packages: + env ${MAKEENV:Q} ${MAKE} -C ${.CURDIR} = PKG_VERSION=3D${PKG_VERSION} \ + WSTAGEDIR=3D${DESTDIR:U${WSTAGEDIR}} = KSTAGEDIR=3D${DESTDIR:U${KSTAGEDIR}} \ + stage-packages + env ${MAKEENV:Q} ${MAKE} -C ${.CURDIR} = PKG_VERSION=3D${PKG_VERSION} \ + WSTAGEDIR=3D${DESTDIR:U${WSTAGEDIR}} = KSTAGEDIR=3D${DESTDIR:U${KSTAGEDIR}} \ + create-packages + env ${MAKEENV:Q} ${MAKE} -C ${.CURDIR} = PKG_VERSION=3D${PKG_VERSION} \ + WSTAGEDIR=3D${DESTDIR:U${WSTAGEDIR}} = KSTAGEDIR=3D${DESTDIR:U${KSTAGEDIR}} \ + sign-packages =20 stage-packages: @mkdir -p ${WSTAGEDIR} ${KSTAGEDIR} @@ -1279,7 +1294,7 @@ stage-packages: ${MAKE} DESTDIR=3D${DESTDIR:U${KSTAGEDIR}} -DNO_ROOT -B = stagekernel =20 create-packages: _pkgbootstrap - @mkdir -p ${REPODIR} + @mkdir -p ${REPODIR}/$$(pkg -o ABI_FILE=3D${DESTDIR}/bin/sh = config ABI)/${PKG_VERSION} ${_+_}@cd ${.CURDIR}; \ ${MAKE} DESTDIR=3D${DESTDIR:U${WSTAGEDIR}} \ PKG_VERSION=3D${PKG_VERSION} = create-world-packages ; \