Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Dimitry Andric
On 2012-04-17 17:59, Arno J. Klaassen wrote: ... I verified and re-verfied : kernel and world perfectly in sync; /usr/src is a symlink but /sys points to the right place and (before patch) /usr/share/mk/bsd.own.mk and /usr/src/share/mk/bsd.own.mk are indentical. Still I have to apply something l

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Kevin Oberman
On Tue, Apr 17, 2012 at 2:49 AM, Dimitry Andric wrote: > On 2012-04-17 11:36, Anton Shterenlikht wrote: >> >> On Tue, Apr 17, 2012 at 11:18:29AM +0200, Dimitry Andric wrote: > > ... > >>> That said, i think it may be time to bow to the pressure, and just put a >>> fixup for this issue in kmod.mk,

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Arno J. Klaassen
problem as Chris on a 9-STABLE box. Dimitry Andric writes: > On 2012-04-17 01:08, Anton Shterenlikht wrote: > ... >> Just to say that I stumbled upon this issue as well: >> >> http://lists.freebsd.org/pipermail/freebsd-ports/2012-April/074409.html >> >> Su

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Mark Linimon
On Tue, Apr 17, 2012 at 11:49:44AM +0200, Dimitry Andric wrote: > It would hopefully error out. If you look in /usr/share/mk/bsd.kmod.mk, > you will see this at the bottom: > > .if !defined(SYSDIR) || !exists(${SYSDIR}/kern/) || \ > !exists(${SYSDIR}/conf/kmod.mk) > .error Unable to loc

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Anton Shterenlikht
On Tue, Apr 17, 2012 at 11:49:44AM +0200, Dimitry Andric wrote: > On 2012-04-17 11:36, Anton Shterenlikht wrote: > >On Tue, Apr 17, 2012 at 11:18:29AM +0200, Dimitry Andric wrote: > ... > >>That said, i think it may be time to bow to the pressure, and just put a > >>fixup for this issue in kmod.mk,

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Dimitry Andric
On 2012-04-17 11:36, Anton Shterenlikht wrote: On Tue, Apr 17, 2012 at 11:18:29AM +0200, Dimitry Andric wrote: ... That said, i think it may be time to bow to the pressure, and just put a fixup for this issue in kmod.mk, and the other .mk files, like I initially did in r232473, but with a BIG F

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Anton Shterenlikht
Subject: net/bwi-firmware-kmod "/sys/conf/kmod.mk", line 111: Malformed > >conditional (${MK_CLANG_IS_CC} == "no"&& ${CC:T:Mclang} != "clang") > > The root cause is still that your kernel sources (in /sys) do not match > your installed world.

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-17 Thread Dimitry Andric
On 2012-04-17 01:08, Anton Shterenlikht wrote: ... Just to say that I stumbled upon this issue as well: http://lists.freebsd.org/pipermail/freebsd-ports/2012-April/074409.html Subject: net/bwi-firmware-kmod "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_C

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-16 Thread Anton Shterenlikht
ree patch files > mentioned in Maxim Sobolev's posting and the port compiles with no > problems. It may be that the version of bsd.own.mk that I have fixes > any compilation issues with clang. > > Thanks for the help! > > Chris Just to say that I stumbled upon this issue as w

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-16 Thread Chris
On Mon, Apr 16, 2012 at 2:45 AM, Dimitry Andric wrote: > On 2012-04-16 03:03, Chris wrote: >> >> I recently updated my system from 8.2-STABLE to 9.0-STABLE and I'm >> seeing a similar error when trying to build the VirtualBox kernel >> module: >> >> *** Building 'vboxdrv' module *** >> "/usr/share

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-15 Thread Dimitry Andric
On 2012-04-16 03:03, Chris wrote: I recently updated my system from 8.2-STABLE to 9.0-STABLE and I'm seeing a similar error when trying to build the VirtualBox kernel module: *** Building 'vboxdrv' module *** "/usr/share/mk/bsd.own.mk", line 476: MK_CLANG_IS_CC can't be set by a user. *** Error

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-04-15 Thread Chris
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

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread O. Hartmann
iver-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-

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread Dimitry Andric
On 2012-03-03 15:19, Florian Smeets wrote: > On 03.03.12 14:24, Chris Rees wrote: >> On 3 March 2012 11:48, O. Hartmann wrote: ... >>> "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC} ... > No need, a buildworld / installworld cycle will

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread Florian Smeets
r-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 dep

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread Dimitry Andric
idia-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 >

Re: "/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread Chris Rees
r-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 >

"/sys/conf/kmod.mk", line 111: Malformed conditional (${MK_CLANG_IS_CC}

2012-03-03 Thread O. Hartmann
pends 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") "/s