From owner-freebsd-ports@FreeBSD.ORG Fri Jun 1 17:18:24 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756DF106567F; Fri, 1 Jun 2012 17:18:24 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0E58FC27; Fri, 1 Jun 2012 17:18:23 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4B2732842A; Fri, 1 Jun 2012 19:18:17 +0200 (CEST) Received: from [192.168.1.2] (static-84-242-120-26.net.upcbroadband.cz [84.242.120.26]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id EC5F528423; Fri, 1 Jun 2012 19:18:15 +0200 (CEST) Message-ID: <4FC8F957.8030104@quip.cz> Date: Fri, 01 Jun 2012 19:18:15 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Bernhard Froehlich References: <4FC76549.8090300@quip.cz> <37093f3d7be7d165ca80edd803026add@bluelife.at> In-Reply-To: <37093f3d7be7d165ca80edd803026add@bluelife.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports , vbox@freebsd.org Subject: Re: cannot compile VirtualBox-ose 4.1.16 on FreeBSD 8.3-RELEASE amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 17:18:24 -0000 Bernhard Froehlich wrote: > On 31.05.2012 14:34, Miroslav Lachman wrote: >> Hi, >> >> I tried to install virtualbox-ose on our new testmachine, but >> compilation ends with error: >> [...] >> >> Full output can be seen on http://pastebin.com/raw.php?i=7eDEWze8 > > > The error above is completely unrelated because the problem starts much > earlier: > > In file included from > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.1.16/src/VBox/HostServices/auth/pam/VBoxAuthPAM.c:81: > > /usr/include/security/pam_appl.h:43:35: error: security/openpam_attr.h: > No such file or directory > > > So it seems your system is broken. On my system I have the file and I > have just > checked that vbox 4.1.16 did build fine on a stock FreeBSD 8.3 Tinderbox. > > # ident /usr/include/security/pam_appl.h > /usr/include/security/pam_appl.h: > $Id: pam_appl.h 408 2007-12-21 11:36:24Z des $ > > # uname -a > FreeBSD chii.bluelife.at 9.0-STABLE FreeBSD 9.0-STABLE #10: Wed May 23 > 23:30:26 CEST 2012 root@chii.bluelife.at:/usr/obj/usr/src/sys/GENERIC amd64 You are right! The system is missing /usr/include/security/openpam_attr.h - I don't know the reason. I successfully build VirtualBox on another machine. But there were some other problems: On one run, installation ends with: ===> Checking if emulators/virtualbox-ose already installed ===> Creating users and/or groups. Creating group 'vboxusers' with gid `920'. Creating user `vboxusers' with uid `920'. pw: user 'vboxusers' disappeared during update *** Error code 67 On the next run: ===> Checking if emulators/virtualbox-ose already installed ===> Creating users and/or groups. Using existing group `vboxusers'. Creating user `vboxusers' with uid `920'. pw: user 'vboxusers' already exists *** Error code 74 After few next runs (and manual deletion of the vboxusers) it was built and now I am running VirtualBox headless. So thank you very much for you time and work on VirtualBox! Miroslav Lachman