Problems building Virtualbox on 9.0

Andriy Gapon avg at FreeBSD.org
Sun Apr 8 08:38:52 UTC 2012


on 08/04/2012 09:48 Bernhard Fröhlich said the following:
> On Sa.,   7. Apr. 2012 21:55:37 CEST, Scott Ballantyne <sdb at ssr.com> wrote:
> 
>> Hi,
>>
>> Just for your information...
>>
>> This is a new install on Freebsd 9.0. 
>>
>> I kept running afoul of 'pw' errors. The install bailed saying
>>
>>> Creating group `vboxusers' with gid `920'.
>>> Creating user `vboxusers' with uid `920'.
>>> pw: user 'vboxusers' disappeared during update
>>> *** Error code 67
>>
>> but checking the /etc/group and /etc/master.passwd and /etc/passwd
>> files showed that both were created.
>>
>> So I continued the build, ending with:
>>
>>> ===>   Installing for virtualbox-ose-4.1.10
>>> ===>     Generating temporary packing list
>>> ===>   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
>>>
>>> Stop in /usr/ports/emulators/virtualbox-ose.
>>> *** Error code 1
>>
>>> Stop in /usr/ports/emulators/virtualbox-ose.
>>
>> Simply removing the vboxusers user allowed the build to complete.
>>
>> Thanks for virtualbox - I'm looking forward to using it.
> 
> That just means you messed up your shadow password database. pwd_mkdb is what you need.

This looks more like a nscd bug.

-- 
Andriy Gapon


More information about the freebsd-emulation mailing list