Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 09:48:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236775] emulators/virtualbox: fails to build on head (r343963)
Message-ID:  <bug-236775-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236775

            Bug ID: 236775
           Summary: emulators/virtualbox: fails to build on head (r343963)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: madpilot@FreeBSD.org

I have recently updated to a newer head and now virtualbox fails in my
poudriere machine.

I get this error:

kBuild: Linking VBoxManage
kBuild: Linking VBoxBalloonCtrl
ld: error:
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so:
undefined reference to pthread_getschedparam
ld: error:
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so:
undefined reference to pthread_setschedparam
ld: error:
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so:
undefined reference to pthread_getschedparam
ld: error:
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so:
undefined reference to pthread_setschedparam
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
kmk: ***
[/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/fre=
ebsd.amd64/release/obj/VBoxManage/VBoxManage]
Error 1
The failing command:
@c++               '-Wl,-rpath,/usr/local/lib/virtualbox'   -m64   -o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManage
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManage.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxInternalManage.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageAppliance.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageBandwidthControl.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageControlVM.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageDebugVM.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageDHCPServer.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageDisk.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageGuestCtrl.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageGuestCtrlListener.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageGuestProp.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageHelp.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/gen/VBoxManageBuiltInHelp.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageHostonly.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageInfo.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageList.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageMetrics.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageMisc.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageModifyVM.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageSnapshot.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageStorageController.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageUSB.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/VBoxManageNATNetwork.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxManage/dt/dt/NetworkServices/NetLib/VBoxNetPortFo=
rwardString.o
  -L/usr/local/lib=20=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxDDU.so
=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxRT.so
=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/lib/VBoxCOM.a
=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so=20
kmk: *** Waiting for unfinished jobs....
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
kmk: ***
[/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/fre=
ebsd.amd64/release/obj/VBoxBalloonCtrl/VBoxBalloonCtrl]
Error 1
The failing command:
@c++               '-Wl,-rpath,/usr/local/lib/virtualbox'   -m64   -o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxBalloonCtrl/VBoxBalloonCtrl
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxBalloonCtrl/VBoxWatchdog.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxBalloonCtrl/VBoxWatchdogUtils.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxBalloonCtrl/VBoxModAPIMonitor.o
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/obj/VBoxBalloonCtrl/VBoxModBallooning.o
  -L/usr/local/lib=20=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxRT.so
=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/lib/VBoxCOM.a
=20
/wrkdirs/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/free=
bsd.amd64/release/bin/VBoxXPCOM.so=20
USBIdDatabaseGenerator: info: Total 378934 bytes - saving 29% (161311 bytes=
);
old version 717755 bytes + relocs (47% save)
kmk: *** Exiting with status 2
*** Error code 2

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose



>From the error it looks like it's missing a "-lpthread" argument, but I don=
't
know the virtualbox build system and was not able to easily figure out how =
to
add it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236775-7788>