Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 08:24:56 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Chris Rees <crees@freebsd.org>
Cc:        "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, Current FreeBSD <freebsd-current@freebsd.org>, "O. Hartmann" <ohartman@zedat.fu-berlin.de>, =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
Subject:   Re: FreeBSD 10.0-CURRENT r239477 doesn't compile: virtualbox-ose-kmod-4.1.18_1 is marked as broken: Does not compile on FreeBSD < 8.2.
Message-ID:  <CAGH67wRaZ9xNE6XEcU1NFZkMfX3u=NjvD4C4apJpt9i9A-AFsg@mail.gmail.com>
In-Reply-To: <CADLo839g8W5ryH3ngMjjZZq5-qP15gbc5wT-E1K%2Bvn6QamD8Cg@mail.gmail.com>
References:  <50337752.8070707@zedat.fu-berlin.de> <1345582381.1632.6.camel@Nokia-N900-42-11> <503487DE.3050807@zedat.fu-berlin.de> <CADLo839=1cTWqJg1qA5NZLWW9LX3fkwUvba=2XpyD6ij7A09aA@mail.gmail.com> <5034DF8B.102@mail.zedat.fu-berlin.de> <CADLo839g8W5ryH3ngMjjZZq5-qP15gbc5wT-E1K%2Bvn6QamD8Cg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2012 at 7:02 AM, Chris Rees <crees@freebsd.org> wrote:
> On 22 August 2012 14:32, O. Hartmann <ohartman@mail.zedat.fu-berlin.de> w=
rote:
>> On 08/22/12 15:05, Chris Rees wrote:
>>> On 22 August 2012 08:18, O. Hartmann <ohartman@zedat.fu-berlin.de> wrot=
e:
>>>> Am 08/21/12 22:53, schrieb Bernhard Fr=F6hlich:
>>>>> On Di., 21. Aug. 2012 13:56:02 CEST, O. Hartmann <ohartman@zedat.fu-b=
erlin.de> wrote:
>>>>>
>>>>>> Today I ran into a problem with FreeBSD 10.0-CURRENT #0 r239477
>>>>>> recompiling the VBox kernel module:
>>>>>>
>>>>>> =3D=3D=3D>   Cleaning for virtualbox-ose-kmod-4.1.18_1
>>>>>> =3D=3D=3D>   virtualbox-ose-kmod-4.1.18_1 is marked as broken: Does =
not compile
>>>>>> on FreeBSD < 8.2.
>>>>>> *** [all] Error code 1
>>>>>>
>>>>>> Stop in /usr/ports/emulators/virtualbox-ose-kmod.
>>>>>>
>>>>>> The port compiled prior to the updates of today.
>>>>>>
>>>>>> oh
>>>>>
>>>>> What is the question? We have deprecated < 8.2 almost five months ago=
 because of the memobj r0 rewrite. You're the first who complains about thi=
s so I'm pretty sure it was the correct decision to move forward. Please al=
so keep in mind that 8.1 is already EOL.
>>>>>
>>>>
>>>> I do not understand your complains about my mail to the list. For your
>>>> information: I'm on FreeBSD 10.0-CURRENT and this seems, as far as I
>>>> know, considered not to be deprecated by now. If I'm wrong in that, so=
rry.
>>>
>>> Can you give us the output of make -C
>>> /usr/ports/emulators/virtualbox-ose-kmod -VOSVERSION please?
>>
>> 1000017
>>
>>>
>>> I think your version of sys/param.h could be out of date.
>>>
>>> Chris
>>
>>
>>
>> As soon as I'm sitting in front of the machine again. But I doubt that
>> the sys/param.h is out of date, since that box has been recompiling
>> FreeBSD 10.0-CURRENT now for almost every day.
>
> Hm, does that mean that the output you gave me earlier was not from
> the same machine?
>
>> When the problem occured, the change to CLANG 3.2-Beta has just been
>> introduced, installed with "make buildworld installkernel". This
>> procedere also triggers (via /etc/src.conf)
>>
>> PORTS_MODULES=3D          "x11/nvidia-driver"
>> PORTS_MODULES+=3D         "emulators/virtualbox-ose-kmod"
>
> Please remove the quotes! [1]
>
>> the build of the modules for the nvidia GPU and Vbox kernel module.
>>
>> Thanks for your response,
>
> Something really weird is happening here.  All that is happening is
> that the Makefile is testing against OSVERSION;
>
> .if ${OSVERSION} < 802000
> BROKEN=3D         Does not compile on FreeBSD < 8.2
> .endif
>
> Since the result from make -VOSVERSION shows that your OSVERSION is
> indeed above 802000, I am completely at a loss as to what's going on
> :(

I think this is the issue that I was referring to earlier that I noted
to dougb@ but hadn't gotten an opportunity to repro because I've been
busy with other things.

What does OSVERSION look like when you run it from make buildkernel
(use this patch)?

Thanks,
-Garrett

$ svn diff /usr/src/sys/conf/kern.post.mk
Index: /usr/src/sys/conf/kern.post.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
--- /usr/src/sys/conf/kern.post.mk      (revision 239292)
+++ /usr/src/sys/conf/kern.post.mk      (working copy)
@@ -61,6 +61,8 @@
        OSVERSION=3D${OSRELDATE} \
        WRKDIRPREFIX=3D${WRKDIRPREFIX}

+.warning "PORTSMODULESENV =3D> ${PORTSMODULESENV}"
+
 # The WRKDIR needs to be cleaned before building, and trying to
change the target
 # with a :C pattern below results in install -> instclean
 all:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRaZ9xNE6XEcU1NFZkMfX3u=NjvD4C4apJpt9i9A-AFsg>