Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 14:01:04 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        David Wolfskill <david@catwhisker.org>
Cc:        current@freebsd.org
Subject:   Re: Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional
Message-ID:  <20171105140104.006f8dbd@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20171105124444.GG1156@albert.catwhisker.org>
References:  <20171105124444.GG1156@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Am Sun, 5 Nov 2017 04:44:44 -0800
David Wolfskill <david@catwhisker.org> 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-340-340.102 depends on file: /usr/local/libdata/pkgconfig/xext.pc
> - found ===>  Configuring for nvidia-driver-340-340.102
> ===>  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 continue make[6]: stopped
> in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.102/src
> *** Error code 1
> 
> Stop.
> make[5]: stopped
> in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.102
> ===> Compilation failed unexpectedly. ....
> 
> 
> As noted, the previous successful build in head/amd64 was r325383:
> 
> FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #2
> r325383M/325385:1200052: Sat Nov  4 06:54:48 PDT 2017
> root@g1-252.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64
> 
> 
> I have 'PORTS_MODULES=x11/nvidia-driver-340' in src.conf -- as I'm
> rebuilding the kernel fairly often (daily), it seemed to make sense
> to ensure that the nvidia kmod stays synchronized.
> 
> Any suggestions for evasive maneuvers?  Thanks!
> 
> Peace,
> david

Me, too, here. Reported this yesterday in to src list. It is the very same when building
emulators/virtualbox-ose-kmod among x11/nvidia-driver.

-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWf8LkAAKCRDS528fyFhY
lCbUAf4m+MSrnxxcb03Nz0TaWT8LqoHuukGuXnERWoapAI6oIo7qaABdnY+lSxp3
J5YWmFrrk8jah8nX34/nxxjutD/oAf0W0LrvYsK3lw6XoP5AmxxY5p4G1pvnXAoO
gDpuOu7Vps+3Iqugk5calmJYBoQbYT4tZbtaXdQRYXh0aosTU5S/
=oCBb
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171105140104.006f8dbd>