Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 04:44:44 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Build failed: /usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional
Message-ID:  <20171105124444.GG1156@albert.catwhisker.org>

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

--TmwHKJoIRFM7Mu/A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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":

=2E..
>>> stage 3.1: building everything
=2E..
=3D=3D=3D>   nvidia-driver-340-340.102 depends on file: /usr/local/libdata/=
pkgconfig/xext.pc - found
=3D=3D=3D>  Configuring for nvidia-driver-340-340.102
=3D=3D=3D>  Building for nvidia-driver-340-340.102
=3D=3D=3D> src (all)
make[6]: "/usr/src/share/mk/bsd.obj.mk" line 89: Malformed conditional (def=
ined(SRCTOP) &&  (${CANONICALOBJDIR} =3D=3D /${RELDIR} || ${.OBJDIR} =3D=3D=
 /${RELDIR}))
make[6]: Fatal errors encountered -- cannot continue
make[6]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/po=
rts/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/po=
rts/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.102
=3D=3D=3D> Compilation failed unexpectedly.
=2E...


As noted, the previous successful build in head/amd64 was r325383:

FreeBSD g1-252.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #2  r325383=
M/325385:1200052: Sat Nov  4 06:54:48 PDT 2017     root@g1-252.catwhisker.o=
rg:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64


I have 'PORTS_MODULES=3Dx11/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
--=20
David H. Wolfskill				david@catwhisker.org
Unsubstantiated claims of "Fake News" are evidence that the claimant lies a=
gain.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--TmwHKJoIRFM7Mu/A
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJZ/we8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix
NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X4REH/09jxuf2puRAAKO3OFPXtDAw
eNOhz69Jj4SunwCicqezOHgExvahBoJg+SXb5w4PCjQ3akzlhNayUugg6dJsHIsB
jAwkPxdlemNpIYVEzJjkh+NGNXwtJ0jYAVm9pyyl11opWYwG4oxoui5vFoNWp2lD
TqyHOm6Ycqy/TwB5elEiHz/961gbi7XhMKCaoHeaLtCMvITbSlwuvm3hQwe13tDB
bu8nbkQXNs3hqT58ebY0CiNWhN3AOGd1zB9bzq+lLJaV8JMcktZV4fJMd2uV89CD
X/FaX/Q8qpIq/mgdvrzSrNCKTvLpiLva5YfYfn8VYO1JeZDGlj9mROp+mJ7nljk=
=M5po
-----END PGP SIGNATURE-----

--TmwHKJoIRFM7Mu/A--



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