Missing METALOG
Glen Barber
gjb at FreeBSD.org
Tue Mar 22 20:22:44 UTC 2016
On Tue, Mar 22, 2016 at 03:06:04PM -0400, Kris Moore wrote:
> On 03/22/16 12:48 PM, Glen Barber wrote:
> > On Tue, Mar 22, 2016 at 11:51:08AM -0400, Kris Moore wrote:
> >> Hey, trying out the 'make packages' branch, running into this issue
> >> after doing build{world|kernel}
> >>
> >> ... snip ...
> >>
> >> kldxref
> >> /usr/obj/tmp/build/gDAE/pcbsd/git/freebsd/amd64.amd64/kernelstage/tmp/build/gDAE/pcbsd/fbsd-dist/kernel/boot/kernel
> >> awk: can't open file
> >> /usr/obj/tmp/build/gDAE/pcbsd/git/freebsd/amd64.amd64/worldstage/METALOG
> >> source line number 81
> >> *** Error code 2
> >>
> >> Stop.
> >> bmake[6]: stopped in /tmp/build/gDAE/pcbsd/git/freebsd
> >> *** Error code 1
> >>
> >> ... snip ...
> >>
> >> I checked that directory, and I have a fully staged world there, just no
> >> METALOG file. What am I missing?
> >>
> > So, you're seeing bizarre things not quite exact but similarly strange
> > as some others reported recently.
> >
> > Can you give the exact command history and/or full log?
> >
> > Glen
> >
>
> I didn't keep the full log (sorry), but the commands were as follows:
>
> # cd /tmp/build/gDAE/pcbsd/git/freebsd
> # make -j 8 buildworld TARGET=amd64
> # make -j 8 buildkernel TARGET=amd64
> # make packages DESTDIR=/tmp/build/gDAE/pcbsd/base-pkg
>
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.
Glen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20160322/3017105b/attachment.sig>
More information about the freebsd-pkgbase
mailing list