Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building -current fails

> I get this too when doing an unprived build.
> The ultimate cause is that a bunch of directories aren't getting added
> to ${DESTDIR}/METALOG  - namely
> ./stand/${ARCH}
> ./stand/${ARCH}/${VERSION}
> ./stand/${ARCH}/${VERSION}/modules
> e.g. on my i386 build, when I hand-added
> ./stand/i386 type=dir mode=0755 
> ./stand/i386/4.99.63 type=dir mode=0755
> ./stand/i386/4.99.63/modules type=dir mode=0755
> to ${DESTDIR}/METALOG then checkflist was all happy again.

This is correctly diagnosed, ref. the comments I posted to
source-changes earlier today.

I committed a fix for this problem, to use it:

Update share/mk/ to revision 1.9 or higher.
After that, as per the entry I added to UPDATING, remove the
${DESTDIR}/${MACHINE} directory tree, and re-install in
sys/modules, and the METALOG file will be fixed.

I also submitted a PR (misc/38724), claiming that /stand/ is the
wrong directory tree to use for these files (kernel modules),
since these are not stand-alone binaries, since they depend on
the kernel.  The PR has a few suggestions for alternatives with
comments why one would not want either of them.  Other
suggestions are welcome.


- Håvard

Home | Main Index | Thread Index | Old Index