Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Mar 2012 15:19:26 +0100
From:      Florian Smeets <flo@FreeBSD.org>
To:        Chris Rees <crees@FreeBSD.org>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Subject:   Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}
Message-ID:  <4F52286E.4030608@FreeBSD.org>
In-Reply-To: <CADLo838ZKXXS4mVcjG3cnRp=aQdx5Cpas6DLiSsGQO1acqHnwQ@mail.gmail.com>
References:  <4F520523.90406@zedat.fu-berlin.de> <CADLo838ZKXXS4mVcjG3cnRp=aQdx5Cpas6DLiSsGQO1acqHnwQ@mail.gmail.com>

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

[-- Attachment #1 --]
On 03.03.12 14:24, Chris Rees wrote:
> On 3 March 2012 11:48, O. Hartmann <ohartman@zedat.fu-berlin.de> wrote:
>> On one of my FreeBSD 10.0-CURRENT boxes I receive this morning this
>> error message as shown below.
>>
>> I need to add, that I compiled the shown nvidia-driver hours ago on all
>> FreeBSD 9.0-STABLE boxes with the same settings and I compiled the
>> driver just two days before the same way I tried it this morning. What's
>> wrong?
>>
>> Some unexpected breakage? Then this is my shout to the community.
>>
>> Message below.
>>
>> Regards and thanks in advance,
>> Oliver
>>
>> ===>  Vulnerability check disabled, database not found
>> ===>  License NVIDIA accepted by the user
>> ===>  Found saved configuration for nvidia-driver-295.20
>> ===>  Extracting for nvidia-driver-295.20
>> => SHA256 Checksum OK for NVIDIA-FreeBSD-x86_64-295.20.tar.gz.
>> ===>  Patching for nvidia-driver-295.20
>> ===>   nvidia-driver-295.20 depends on file:
>> /usr/local/libdata/pkgconfig/xorg-server.pc - found
>> ===>   nvidia-driver-295.20 depends on shared library: GL.1 - found
>> ===>  Configuring for nvidia-driver-295.20
>> ===>  Building for nvidia-driver-295.20
>> ===> src (all)
>> "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}
>> == "no" && ${CC:T:Mclang} != "clang")
>> "/sys/conf/kmod.mk", line 115: if-less endif
>> "/sys/conf/kern.mk", line 18: Malformed conditional (${MK_CLANG_IS_CC}
>> != "no" || ${CC:T:Mclang} == "clang")
>> "/sys/conf/kern.mk", line 31: if-less endif
>> "/sys/conf/kern.mk", line 101: Malformed conditional (${MK_CLANG_IS_CC}
>> == "no" && ${CC:T:Mclang} != "clang")
>> "/sys/conf/kern.mk", line 109: if-less endif
>> make: fatal errors encountered -- cannot continue
>> *** [all] Error code 1
>>
> 
> Please post your make.conf and src.conf.
> 

No need, a buildworld / installworld cycle will fix it. A make install
in src/share/mk *could* also be enough, but i haven't tested it.

Florian


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

iEYEARECAAYFAk9SKG4ACgkQapo8P8lCvwm71QCfdimFfHQYoUa/g3sR31ZAPJM4
sr8AoI87R/r83aXvG7+q2Q+in6M/49fy
=4Wa2
-----END PGP SIGNATURE-----

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