From owner-freebsd-current@FreeBSD.ORG Wed Aug 22 20:26:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6691106566C; Wed, 22 Aug 2012 20:26:58 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 204D88FC15; Wed, 22 Aug 2012 20:26:58 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1T4HVx-0004rd-3h>; Wed, 22 Aug 2012 22:26:57 +0200 Received: from e178003168.adsl.alicedsl.de ([85.178.3.168] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1T4HVw-00048S-Tb>; Wed, 22 Aug 2012 22:26:57 +0200 Message-ID: <50354085.2070605@zedat.fu-berlin.de> Date: Wed, 22 Aug 2012 22:26:45 +0200 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120810 Thunderbird/14.0 MIME-Version: 1.0 To: Garrett Cooper References: <50337752.8070707@zedat.fu-berlin.de> <1345582381.1632.6.camel@Nokia-N900-42-11> <503487DE.3050807@zedat.fu-berlin.de> <5034DF8B.102@mail.zedat.fu-berlin.de> <50352B03.8020802@zedat.fu-berlin.de> In-Reply-To: X-Enigmail-Version: 1.4.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig84BDE460D538188886883A09" X-Originating-IP: 85.178.3.168 Cc: Chris Rees , "O. Hartmann" , Current FreeBSD , =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= 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. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 20:26:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig84BDE460D538188886883A09 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 08/22/12 21:56, schrieb Garrett Cooper: > On Wed, Aug 22, 2012 at 11:54 AM, O. Hartmann > wrote: >> Am 08/22/12 17:24, schrieb Garrett Cooper: >>> On Wed, Aug 22, 2012 at 7:02 AM, Chris Rees wrote= : >>>> On 22 August 2012 14:32, O. Hartmann wrote: >>>>> On 08/22/12 15:05, Chris Rees wrote: >>>>>> On 22 August 2012 08:18, O. Hartmann = wrote: >>>>>>> Am 08/21/12 22:53, schrieb Bernhard Fr=F6hlich: >>>>>>>> On Di., 21. Aug. 2012 13:56:02 CEST, O. Hartmann 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 month= s ago because of the memobj r0 rewrite. You're the first who complains ab= out this so I'm pretty sure it was the correct decision to move forward. = Please also 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 a= s I >>>>>>> know, considered not to be deprecated by now. If I'm wrong in tha= t, sorry. >>>>>> >>>>>> 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 t= hat >>>>> 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 bee= n >>>>> 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 note= d >>> 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: >>> >> >> On both systems I have to maintain, the output is: >> >> BOX 1, patched: >> make -C /usr/ports/emulators/virtualbox-ose-kmod -VOSVERSION >> 1000017 >> >> BOX 2, unpatched: >> make -C /usr/ports/emulators/virtualbox-ose-kmod -VOSVERSION >> 1000017 >=20 > You didn't do what I asked. Please re-read the email I sent last night > asking for the output when running make buildkernel. root@thor [src] make -VOSVERSION buildkernel root@thor [src] =2E.. seems to tell me: no output. >=20 >> No difference. >> >> As I reported Chris Rees a moment ago, the "faulty" box was running a >> kernel compiled with CLANG 3.1 while I installed world with the freshl= y >> compiled CLANG 3.2 stuff and then tried to rebuild the kernel module f= or >> VBox with this mixture. The CLANG issue is a wild guess. I didn't foll= ow >> the install procedure for a new world (single user mode startup with n= ew >> kernel, installworld, mergemaster et cetera). I guess something really= >> nasty happened that way and is possibly not worth to be investigated >> further. >> >> After I rebuild and installed world on my lab's box today the regular >> way and faced no problems building the kernel module for virtual box, = I >> guess the problem is none but chasing ghosts ... >=20 > Hmmm... still seems odd, but if it's fixed, oh well... > Thanks, > -Garrett >=20 --------------enig84BDE460D538188886883A09 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQNUCQAAoJEOgBcD7A/5N8PhsH/jiDn1VFHhZlKoVevedtaxqQ eGAaGhrCnKKaBVlnkdAdsQK/QCLzDwAuT85iz/hEWR9XpUsXSYPOxfUy7DVnEUYb YNmEDHuyDZazSGUrgVQn6a1nZTMtFFnPuPEHztnUyKyrrUdruPw2bjme9MG3J2EB g6hfjAbOGK6JH+Das+DDNp4W3CKucvthIyNSluQiKowY+KGVdOFoMqj+5y4swA+G i8N5kfLuWE0p7SZrjZGoFV4YBTf8eJHzHfm/2/C3yhbyxW8MR/l4Om3rRyCoeUtW F3cymiuHgNWjLhPmUDh1qEZdSIilY957eZtxuZgK9YbApnEISexZaf0zWXHYviw= =LSes -----END PGP SIGNATURE----- --------------enig84BDE460D538188886883A09--