Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 23:18:48 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org, Ed Schouten <ed@80386.nl>
Subject:   virtualbox-ose build fails on -current with utmp.h
Message-ID:  <4B5BF458.50507@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Today's -current (r202896) and up to date ports, virtualbox-ose fails as 
such:

kBuild: Forcing static libstdc++
kBuild: Compiling VBoxClient - 
/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp
In file included from 
/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp:41:
/usr/include/utmp.h:2:2: error: #error "<utmp.h> has been replaced by 
<utmpx.h>"
kBuild: Compiling VBoxClient - 
/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/GuestHost/SharedClipboard/x11-clipboard.cpp
kmk[2]: *** 
[/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.x86/release/obj/VBoxService/VBoxServiceVMInfo.o] 
Error 1
The failing command:
@c++ -c -O2 -g -pipe -pedantic -Wall -Wextra 
-Wno-missing-field-initializers -Wno-unused -Wno-trigraphs 
-Wno-long-long -Wno-variadic-macros -march=i586 -O2 -mtune=generic 
-fno-omit-frame-pointer -fno-strict-aliasing -fvisibility=hidden 
-DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT 
-fvisibility-inlines-hidden -fno-exceptions -m32 -I/usr/include 
-I/usr/X11R6/include -I/usr/local/include 
-I/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/include 
-I/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.x86/release 
-DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING 
-DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" 
-DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" 
-DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" 
-DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" 
-DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_X86 -D__X86__ -DIN_RING3 
-DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -DIN_GUEST -DIN_GUEST_R3 -DIN_RT_R3 
-DVBOXSERVICE_TIMESYNC -DVBOX_WITH_GUEST_PROPS -DVBOXSERVICE_VMINFO 
-DVBOX_SVN_REV=56127 
-Wp,-MD,/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.x86/release/obj/VBoxService/VBoxServiceVMInfo.o.dep 
-Wp,-MT,/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.x86/release/obj/VBoxService/VBoxServiceVMInfo.o 
-Wp,-MP -o 
/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/out/freebsd.x86/release/obj/VBoxService/VBoxServiceVMInfo.o 
/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
kmk[2]: *** Waiting for unfinished jobs....
kmk[2]: Leaving directory 
`/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE'
kmk[2]: Entering directory 
`/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE'
kmk[2]: *** Exiting with status 2
kmk[1]: *** [pass_binaries_this] Error 2
kmk[1]: Leaving directory 
`/usr/local/tmp/usr/local/ports/emulators/virtualbox-ose/work/VirtualBox-3.1.2_OSE'
kmk: *** [pass_binaries_order] Error 2
*** Error code 2



-- 

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/

	Computers are useless. They can only give you answers.
			-- Pablo Picasso




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5BF458.50507>