From owner-svn-src-head@freebsd.org Sat Nov 4 21:36:54 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81ADFE56A60; Sat, 4 Nov 2017 21:36:54 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0386A838CF; Sat, 4 Nov 2017 21:36:53 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.55.49.122]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3zT0-1dJxEf3CyY-00rWwa; Sat, 04 Nov 2017 22:36:51 +0100 Date: Sat, 4 Nov 2017 22:36:50 +0100 From: "O. Hartmann" To: "Simon J. Gerraty" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r325404 - head/share/mk Message-ID: <20171104223650.77c06a52@thor.intern.walstatt.dynvpn.de> In-Reply-To: <20171104223133.00f5bf30@thor.intern.walstatt.dynvpn.de> References: <201711042102.vA4L2RuR063978@repo.freebsd.org> <20171104223133.00f5bf30@thor.intern.walstatt.dynvpn.de> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/3pjL4/IA1beH7BBzBb7hg_4"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:gmzkXIeDkIVXfPCxBkE2DEUQXFn/+9GxOq0t7kMiPGrY+BUuW1e X9p0PfSO33VQWEEzDElrY4Owy39Hb3BUdlsLjIZJvPkK803zIX1N4CNjtZE5iX07L+gvr25 FQhWYZsN9YYQEJik+SS9pENn2zpDL+bjblmJ2lnwIsTRsJESyoQxTcnQns/byE5RcgUz/pq 5h5XQ74bgOpUrbTlpooww== X-UI-Out-Filterresults: notjunk:1;V01:K0:o8KAqtHzn3I=:wJjx9hNWZzR3dia/09uiPL qOTbD70OJvmfQkva3KaO6MDjMTJnVuJQNPEhnn1dpxItPcJfUEt7JboNNR/KGt5S0ET8unWTs L/CXW7woO+Eh30HdDeObBD7502ooUjGwjUo3V0CSGB6pDltCMyMYUCeY0jQZ6p0sFGNBeTg9a eohDOMdFW6XRw00RgpekvmVjJiNJLLIWZViUP0cGn7ABURH7Ho8n1XJr3XmDWzqQ7VLeJ3Erf oB40YVgkb7D/fNhz5i7hKKhII34/IXk4EaFAnCvof9CosQwtwjrfZ/eWqUYWKSUGlPA7B9x12 XjAb+lxUhZJPpefrSuSR2lrmlVVucj11aTB3/mzv5j6NNQL1T6GrBBHUbd75jeMI3M5Ib+AZY lzmGVwE0cbVs20y5C71n9WsNbZ8XQV8Fq4bZLQ8h3KOBcO1kfZequZgFZPyyoheGvp+ULiQsH //oXPLHDJEzVEsekpWPlC5u/RqBvM+/LhERQWRoNG9Bux4kPYaqQmQudmWOfVw1Lx1EEY9TJG Sk00GGbYQcM01rix649rkOGXDjn+HpnHYqmTdP+Ge6FSqCPuE8lWv3eNAM63pVTtKoR7Tkqiq iArqwzujcBM8fB+ecrfI0X2KrXwbBqTr2va6ySiSt9ZfSptnIGI0fKwctY1MSFvWDt0Tyzxyw kyOToWhpxkheffwNfBoZsdg3OgexbgFYKO6X6O0fo21iqW2dcUedvvTxX0MPAvoihJ9GwoWcf 5c6DWALU8WXTw/gX2h75kKlptZXPW4P/rjXi1tfAo2o5TGjFf8u5KnqFzQXNKE2xQty2UlVPZ 3w3FIodNjG7PZwwADTUdy/UX5Z+ug== X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 21:36:54 -0000 --Sig_/3pjL4/IA1beH7BBzBb7hg_4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am Sat, 4 Nov 2017 22:31:33 +0100 "O. Hartmann" schrieb: > Am Sat, 4 Nov 2017 21:02:27 +0000 (UTC) > "Simon J. Gerraty" schrieb: >=20 > > Author: sjg > > Date: Sat Nov 4 21:02:26 2017 > > New Revision: 325404 > > URL: https://svnweb.freebsd.org/changeset/base/325404 > >=20 > > Log: > > Ensure .OBJDIR has known value > > =20 > > If for any reason we cannot set .OBJDIR=3D=3D_objdir as desired > > use .CURDIR so that at least the classic > > .if ${.OBJDIR} !=3D ${.CURDIR} > > works and dangerous misstakes can be avoided. > > =20 > > Reviewed by: bdrewery > >=20 > > Modified: > > head/share/mk/auto.obj.mk > >=20 > > Modified: head/share/mk/auto.obj.mk > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/share/mk/auto.obj.mk Sat Nov 4 16:23:34 2017 (r325403) > > +++ head/share/mk/auto.obj.mk Sat Nov 4 21:02:26 2017 (r325404) > > @@ -61,11 +61,17 @@ __objdir_made !=3D echo ${__objdir}/; umask ${OBJDI= R_UMA > > .endif > > # This causes make to use the specified directory as .OBJDIR > > .OBJDIR: ${__objdir} > > -.if ${.OBJDIR:tA} !=3D ${__objdir:tA} && ${__objdir_made:Uno:M${__objd= ir}/*} !=3D "" > > +.if ${.OBJDIR:tA} !=3D ${__objdir:tA} > > +# we did not get what we want - do we care? > > +.if ${__objdir_made:Uno:M${__objdir}/*} !=3D "" > > # watch out for __objdir being relative path > > .if !(${__objdir:M/*} =3D=3D "" && ${.OBJDIR:tA} =3D=3D ${${.CURDIR}/$= {__objdir}:L:tA}) > > .error could not use ${__objdir}: .OBJDIR=3D${.OBJDIR} > > .endif > > +.endif > > +# apparently we can live with it > > +# make sure we know what we have > > +.OBJDIR: ${.CURDIR} > > .endif > > .endif > > .endif > > _______________________________________________ > > svn-src-head@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/svn-src-head > > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"= =20 >=20 > With the recent patches, nvidia driver x11/nvidia-driver fails tobuild wi= th the error > shown below: >=20 > [...] > =3D=3D=3D> src/nvidia (all) =20 > make[7]: "/usr/src/share/mk/bsd.obj.mk" line 87: Malformed conditional > (${CANONICALOBJDIR} =3D=3D /${RELDIR} || ${.OBJDIR} =3D=3D /${RELDIR}) ma= ke[7]: Fatal errors > encountered -- cannot continue > [...] The very same with emulators/virtualbox-ose-kmod: [...] kBuild: Installing /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/emulators/virtua= lbox-ose-kmod/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/src/vboxd= rv/Makefile =3D=3D=3D Building 'vboxdrv' module =3D=3D=3D make[6]: "/usr/src/share/mk/b= sd.obj.mk" line 87: Malformed conditional (${CANONICALOBJDIR} =3D=3D /${RELDIR} || ${.OBJDIR} = =3D=3D /${RELDIR}) make[6]: Fatal errors encountered -- cannot continue make[6]: stopped in /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/emulators/virtualbox-ose= -kmod/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/src/vboxdrv *** Error code 1 Stop. make[5]: stopped in /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/emulators/virtualbox-ose= -kmod/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/src =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dy= es and rebuild before reporting the failure to the maintainer. *** Error code 1 --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/3pjL4/IA1beH7BBzBb7hg_4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWf4y8gAKCRDS528fyFhY lLGxAfoDW2AwO61tZvPO+e/qBVKlKs/i/99jQtDP47nadpPKsNv20491sQtB4LEQ HCdfTiegkdQeuhbNm2cSnml8an2yAgCZwJAh/KHvM820fBzUcVJNjfJDq/cOmwI5 CtU+FppDWWZdf1fa8b+xn7nQGFqZK4FyggYmYM7kDLkiUXQS7N9K =gThS -----END PGP SIGNATURE----- --Sig_/3pjL4/IA1beH7BBzBb7hg_4--