Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 02:10:04 -0800
From:      Jason Harmening <jason.harmening@gmail.com>
To:        "O. Hartmann" <ohartmann@walstatt.org>, David Wolfskill <david@catwhisker.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r328489 - head/sys/conf
Message-ID:  <98501f75-1a1b-9221-c52d-24415230a886@gmail.com>
In-Reply-To: <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de>
References:  <201801272013.w0RKDaMU098200@repo.freebsd.org> <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------FA187B7F511EB9BDEF4EE648
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

> 
> 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
> in /usr/obj/usr/src/amd64.amd64/sys/FY/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-387.34/src/nvidia
> *** Error code 2
> 
> Stop.
> make[7]: stopped
> in /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-387.34/src
> *** Error code 1
> 

David sent me logs of the failing case; thanks David!

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?


--------------FA187B7F511EB9BDEF4EE648
Content-Type: text/plain; charset=UTF-8;
 name="patch_auto_obj"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="patch_auto_obj"

SW5kZXg6IHN5cy9jb25mL2tlcm4ucG9zdC5tawo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvY29u
Zi9rZXJuLnBvc3QubWsJKHJldmlzaW9uIDMyODQ4OSkKKysrIHN5cy9jb25mL2tlcm4ucG9z
dC5tawkod29ya2luZyBjb3B5KQpAQCAtNzAsNyArNzAsOCBAQAogCS11IENYWCBcCiAJLXUg
Q1BQIFwKIAktdSBNQUtFU1lTUEFUSCBcCi0JTUFLRUZMQUdTPSIke01BS0VGTEFHUzpNKjp0
VzpTL14tbSAvLW1fL2c6Uy8gLW0gLyAtbV8vZzp0dzpOLW1fKn0iIFwKKwlNS19BVVRPX09C
Sj15ZXMgXAorCU1BS0VGTEFHUz0iJHtNQUtFRkxBR1M6TSo6dFc6Uy9eLW0gLy1tXy9nOlMv
IC1tIC8gLW1fL2c6dHc6Ti1tXyo6Tk1LX0FVVE9fT0JKPSp9IiBcCiAJU1lTRElSPSR7U1lT
RElSfSBcCiAJUEFUSD0ke1BBVEh9OiR7TE9DQUxCQVNFfS9iaW46JHtMT0NBTEJBU0V9L3Ni
aW4gXAogCVNSQ19CQVNFPSR7U1JDX0JBU0V9IFwK
--------------FA187B7F511EB9BDEF4EE648--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98501f75-1a1b-9221-c52d-24415230a886>