From owner-freebsd-questions@FreeBSD.ORG Tue Mar 20 22:56:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C32C106566B for ; Tue, 20 Mar 2012 22:56:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0518FC12 for ; Tue, 20 Mar 2012 22:56:21 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id nywD1i001516WCc01ywESe; Tue, 20 Mar 2012 22:56:14 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=VNBfbqzX c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=TyTfYiLqatMA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=rbkiEMHG64rMvOmXlmMA:9 a=tj8yEuLgAgXY3nJMjDIA:7 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1SA7yO-0000ls-VQ for freebsd-questions@freebsd.org; Tue, 20 Mar 2012 22:56:13 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 20 Mar 2012 22:56:12 +0000 User-Agent: KMail/1.9.10 References: <201203131413.41392.jmc-freebsd2@milibyte.co.uk> <44y5r177mm.fsf@lowell-desk.lan> <44haxp75jo.fsf@lowell-desk.lan> In-Reply-To: <44haxp75jo.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203202256.12788.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: Problem compiling emulators/virtualbox-ose-kmod 4.1.8_2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 22:56:23 -0000 On Friday 16 March 2012, Lowell Gilbert wrote: > My best advice is: clean out the directory for that port, update > again, and see if the problem is the same. I've now deleted everything in /usr/ports/emulators/virtualbox-ose-kmod and downloaded a fresh copy of the port (4.1.10) from the FreeBSD website but still get the same problem when compiling. /data1/tmp/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.10/out/freebsd.x86/ release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:405: error: invalid type argument of '->' *** Error code 1 I've also updated the source files for the base system and built a new kernel in case it's a header problem since I noticed that /usr/src/include/unistd.h and /usr/src/lib/libc/include/libc_private.h were both updated in security advisory SA-11:07 (for which I only did a binary update at the time) but this didn't cure the problem. I've had no problem building earlier versions but it went pear shaped with 4.1.8_2 As an experiment I've used portdowngrade to try compiling a few older versions number date portversion comment 1 2012/03/15 09:32:29 VirtualBox-${DISTVERSION} - Update to 4.1.10 2 2012/03/09 21:46:18 VirtualBox-${DISTVERSION}_2 - Reenabled fixed memobj r0 patch 3 2012/02/22 22:09:41 VirtualBox-${DISTVERSION}_1 - Revert memobj r0 patch until the problems on i386 are solved 4 2012/02/21 14:31:54 VirtualBox-${DISTVERSION} - Update to 4.1.8 Of these, the only one to compile OK was 4.1.8_1 so it looks like the fixed memobj r0 patch still has problems on my system. FreeBSD curlew.lan 8.1-RELEASE-p8 FreeBSD 8.1-RELEASE-p8 #0: Tue Mar 20 19:00:39 GMT 2012 root@curlew.lan:/usr/obj/usr/src/sys/GENERIC i386 -- Mike Clarke