Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 16:34:58 -0400
From:      Kris Moore <kris@ixsystems.com>
To:        Glen Barber <gjb@FreeBSD.org>, Sean Fagan <sef@ixsystems.com>, Marko Turk <markoml@markoturk.info>, Kris Moore <kris@pcbsd.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: Missing METALOG
Message-ID:  <56F99572.60706@ixsystems.com>
In-Reply-To: <20160322210541.GM58208@FreeBSD.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <gjb@FreeBSD.org> 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





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