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 <[email protected]> wrote:
>>> I think DESTDIR is what is causing the problem for you, but I would need
>>> more of the build log in order to confirm this.  I have kicked a build
>>> locally, to confirm.  I *think* we need to make WSTAGEDIR, KSTAGEDIR,
>>> and REPODIR overridable (i.e., 'KSTAGEDIR?=[...]').
>>>
>>> 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=/home/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=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh 
>> config ABI)/latest ;  pkg -o 
>> ABI_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh 
>> repo  -o /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o 
>> ABI_FILE=/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_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh 
>> config ABI)/11.0.s20160322202440   ;  ln -s 
>> /home/sef/obj/home/sef/freebsd-pkg/repo/$(pkg -o 
>> ABI_FILE=/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_FILE=/home/sef/obj/home/sef/freebsd-pkg/amd64.amd64/worldstage/bin/sh 
>> config 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.s20160322202440
>>  is not a directory
>> Cannot create repository catalogue
>>
>> Now, I do have 
>> /home/sef/obj/home/sef/freebsd-pkg/repo/FreeBSD:11:amd64/11.0.s20160317195753,
>>  so perhaps I’ll 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.premeta
-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.

-- 
Kris Moore
PC-BSD Software / iXsystems
Enterprise Storage & Servers Driven By Open Source


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
To unsubscribe, send any mail to "[email protected]"

Reply via email to