FreeBSD Port: emulators/virtualbox-ose

Kevin Oberman rkoberman at gmail.com
Mon Apr 28 04:44:39 UTC 2014


On Sun, Apr 27, 2014 at 9:28 AM, Jason Selwitz <jselwitz at verizon.net> wrote:

> Understood..
>
> - In general I always fetch/update the latest ports before updating
> anything,
> - No CFLAGS or CXXFLAGS statements in make.conf
> - Running FreeBSD 10.0-RELEASE-p1 AMD64
>
> And here is what seems to be erroring..
>
>
> The failing command:
> @gcc -c -O2 -g -pipe -Wall -Wextra -Wno-missing-field-initializers
> -Wno-unused -Wno-trigraphs -fdiagnostics-show-option
> -Wno-unused-parameter -Wno-long-long -Wno-long-long
> -Werror-implicit-function-declaration -Wno-variadic-macros -O2
> -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing
> -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN
> -DRT_USE_VISIBILITY_DEFAULT -fPIC -Wno-sign-compare
> -Werror-implicit-function-declaration -m64
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/Sun/crt
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/Sun
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/target-i386
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/tcg
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/fpu
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release/obj/VBoxRemPrimary
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/VMM/include
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/tcg/i386
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler
> -I/usr/include -I/usr/X11R6/include -I/usr/local/include
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release/obj/VBoxRemPrimary/dtrace
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/include
>
> -I/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release
> -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER
> -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__
> -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\" -DIN_RING3
> -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DPIC -DIN_REM_R3
> -DREM_INCLUDE_CPU_H -DNEED_CPU_H -DVBOX_WITH_RAW_MODE
> -DVBOX_WITH_RAW_RING1 -DLOG_USE_C99 -D_BSD -D__x86_64__
>
> -Wp,-MD,/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o.dep
>
> -Wp,-MT,/home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o
> -Wp,-MP -o
>
> /home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.amd64/release/obj/VBoxRemPrimary/VBoxRecompiler.o
>
> /home/jselwitz/work/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/recompiler/VBoxRecompiler.c
> kmk: *** Waiting for unfinished jobs....
> kmk: *** Exiting with status 2
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/ports/emulators/virtualbox-ose
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/emulators/virtualbox-ose
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20140427-11281-146uwyv env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=virtualbox-ose-4.2.18_1 UPGRADE_PORT_VER=4.2.18_1 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! emulators/virtualbox-ose (virtualbox-ose-4.2.18_1)    (unknown
> build error)
>
>
> Thanks for the assistance if I can provide any further output just let
> me know!
>
>
>
> On 04/26/2014 12:15, Thomas Hoffmann wrote:
> > On Sat, Apr 26, 2014 at 1:49 AM, Jason Selwitz <jselwitz at verizon.net
> > <mailto:jselwitz at verizon.net>> wrote:
> >
> >     Hello,
> >
> >       I recently tried upgrading to the latest release of virtualbox and
> ran
> >     into some errors, I was wondering if someone would be willing to
> have a
> >     look and lend a hand, I can forward on an output of the build and any
> >     other pertinent information. Thanks!
> >
> >
> > 1) update your local ports tree using 'portsnap fetch update' to make
> > sure you are working with the latest version of  virtualbox-ose
> > 2) remove any CFLAGS and CXXFLAGS statements from /etc/make.conf.
> > 3) Re-try the installation
> >
> > If you still have a problem, provide the FreeBSD version and hardware
> > platform, and the pertinent lines from the install log showing the
> > error. Be generous.
>

I don't see an error there. Was this run with MAKE_JOBS_UNSAFE=yes? If not,
the error came from some other job and is in earlier (perhaps much earlier)
output.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman at gmail.com


More information about the freebsd-emulation mailing list