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