svn commit: r328489 - head/sys/conf

David Wolfskill david at catwhisker.org
Mon Jan 29 13:00:31 UTC 2018


On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote:
> > 
> > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in /etc/src.conf:
> > 
> > [...]
> > --- kernel-install ---
> > mkdir -p /boot/kernel
> > install -p -m 555 -o root -g wheel kernel /boot/kernel/
> > --- ports-install ---
> > Variable OBJTOP is recursive.
> > 
> > make[8]: stopped
> ...
> 
> David sent me logs of the failing case; thanks David!

Happy to help! :-)

> The failure happens when buildkernel and installkernel are run 
> separately instead of all-up, e.g. 'make kernel'.  The installkernel 
> step is leaving MK_AUTO_OBJ=no in the env passed to the port build.  It 
> looks like at least one of the install stages of nvidia-driver needs to 
> generate temporary output, which leads to confusion when the port isn't 
> built as though it's an in-tree component.
> 
> Can you guys try out the attached patch?

I tried it both on my build machine (which does not use kernel modules
from ports, and thus did not exhibit the problem -- but I thought that
verifying that the patch did not break that case worth checking) and on
my laptop (which did exhibit the problem).

It worked in both cases with no issues for me.

Thanks! :-)

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
"unfortunately, no trust!” -- well, of course!  You reap what you sow.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20180129/34674b6c/attachment.sig>


More information about the svn-src-head mailing list