From owner-freebsd-ports@FreeBSD.ORG Fri Jun 1 20:10:56 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 A28511065673; Fri, 1 Jun 2012 20:10:56 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 387468FC1C; Fri, 1 Jun 2012 20:10:56 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 2DAF49; Fri, 1 Jun 2012 22:10:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 01 Jun 2012 22:10:54 +0200 From: Bernhard Froehlich To: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <4FC913CA.4070300@quip.cz> References: <4FC76549.8090300@quip.cz> <37093f3d7be7d165ca80edd803026add@bluelife.at> <4FC8F957.8030104@quip.cz> <4FC913CA.4070300@quip.cz> Message-ID: X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.7.2 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B020D.4FC921CF.0050,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown 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 20:10:56 -0000 On 01.06.2012 21:11, Miroslav Lachman wrote: > Bernhard Froehlich wrote: >> On 01.06.2012 19:18, Miroslav Lachman wrote: >>> Bernhard Froehlich wrote: >>>> On 31.05.2012 14:34, Miroslav Lachman wrote: > > [...] > >>> 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! >> >> That is a symptom of a broken password database. So your password >> database /etc/pwd.db and /etc/master.passwd are out of sync and >> so pw complains. > > I think that pwd.db and master.passwd are OK. This error was shown on > two different machines during the virtualbox-ose install. Just for the record. The virtualbox port only tells the ports framework that it needs some users/groups to install correctly by setting USERS= vboxusers but the actual creation of that happens within the ports framework (See create-users-groups target in /usr/ports/Mk/bsd.port.mk). So this has nothing to do with virtualbox itself - it just happens to be one of the ports that need a special user/group. Use pwd_mkdb(8) to recreate your password database and everything should be fine again. -- Bernhard Froehlich http://www.bluelife.at/