Re: Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional

2017-11-05 Thread David Wolfskill
On Sun, Nov 05, 2017 at 08:13:27AM -0800, Simon J. Gerraty wrote: > Simon J. Gerraty wrote: > ... > > I think I might have a fix for that. > > Or rather I know what the issue is - RELDIR isn't defined because > .CURDIR isn't under SRCTOP, > if OBJTOP were defined at that point, the fix is trivial

Re: Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional

2017-11-05 Thread Simon J. Gerraty
Simon J. Gerraty wrote: > David Wolfskill wrote: > > ===> Building for nvidia-driver-340-340.102 > > ===> src (all) > > make[6]: "/usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional > > (defined(SRCTOP) && (${CANONICALOBJDIR} == /${RELDIR} || ${.OBJDIR} == > > /${RELDIR})) > > make[

Re: Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional

2017-11-05 Thread Simon J. Gerraty
David Wolfskill wrote: > ===> Building for nvidia-driver-340-340.102 > ===> src (all) > make[6]: "/usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional > (defined(SRCTOP) && (${CANONICALOBJDIR} == /${RELDIR} || ${.OBJDIR} == > /${RELDIR})) > make[6]: Fatal errors encountered -- cannot c

Re: Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional

2017-11-05 Thread O. Hartmann
Am Sun, 5 Nov 2017 04:44:44 -0800 David Wolfskill schrieb: > This is a self-hosted amd64; the failure was during the (re)build of the > kernel module for x11/nvidia-driver-340 as the final bit of "make > buildkernel": > > ... > >>> stage 3.1: building everything > ... > ===> nvidia-driver-34