Opened 12 years ago

Closed 4 years ago

#38558 closed defect (fixed)

VirtualBox @4.2.10 build fails when poll-emulator @1.5.1 is active

Reported by: cooljeanius (Eric Gallager) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: VirtualBox poll-emulator

Description

I recently ran into this error when trying to build VirtualBox:

kBuild: Compiling VBoxDD - /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/ip_input.c => /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o
llvm-gcc-4.2 -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-long-long -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -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 -mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fno-common -m64 -Wno-sign-compare -Wno-format -Wno-bad-function-cast -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/bsd/sys -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/bsd/sys/sys -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/bsd/amd64/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/bsd/netinet -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/libalias -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/lwip/src/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/lwip/src/include/ipv4 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/lwip/vbox/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/dtrace -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/dtrace -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRT_OS_DARWIN -D__DARWIN__ -DRT_ARCH_AMD64 -D__AMD64__ -DRTPATH_APP_PRIVATE=\""/Applications/MacPorts/VirtualBox.app/Contents/MacOS"\" -DRTPATH_APP_PRIVATE_ARCH=\""/Applications/MacPorts/VirtualBox.app/Contents/MacOS"\" -DRTPATH_SHARED_LIBS=\""/Applications/MacPorts/VirtualBox.app/Contents/MacOS"\" -DRTPATH_APP_DOCS=\""/Applications/MacPorts/VirtualBox.app/Contents/MacOS"\" -DIN_RING3 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R3 -DVBOX_WITH_NATIVE_DTRACE -DVBOX_ACPI -DVBOX_HGCM_HOST_CODE -DVBOX_WITH_HGCM -DVBOX_WITH_DMI_CHASSIS -DVBOX_WITH_DMI_OEMSTRINGS -DVBOX_WITH_DTRACE -DVBOX_WITH_CRHGSMI -DVBOXWDDM_WITH_VBVA -DVBOX_WITH_VIDEOHWACCEL -DVBOX_WITH_HGSMI -DVBOX_WITH_WDDM -DVBOX_WITH_VDMA -DVBOX_WITH_PXE_ROM -DVBOX_WITH_USB -DVBOX_WITH_USB -DVBOX_WITH_VUSB -DVBOX_WITH_INIP -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_UDPTUNNEL -DVBOX_WITH_VDE -DVBOX_WITH_NETSHAPER -DVBOX_WITH_AHCI -DIN_AHCI_R3 -DVBOX_WITH_BUSLOGIC -DVBOX_WITH_LSILOGIC -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_SCSI -DVBOX_WITH_EFI -DVBOX_WITH_MSI_DEVICES -DVBOX_WITH_NETFLT -DMAC_OS_X_VERSION_MIN_REQUIRED=1070 -DMAC_OS_X_VERSION_MAX_ALLOWED=1070 -DPIC -DVUSB_HAVE_USBPROXY_DEVICE -DVBOX_WITH_NEW_USB_CODE_ON_DARWIN -DVBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER -Wp,-MD,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep -Wp,-MT,/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o -Wp,-MP -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/ip_input.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/DrvNAT.cpp: In function ‘int drvNATAsyncIoThread(PDMDRVINS*, PDMTHREAD*)’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/DrvNAT.cpp:747: error: ‘POLLRDNORM’ was not declared in this scope
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/DrvNAT.cpp:747: error: ‘POLLRDBAND’ was not declared in this scope
kmk: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/DrvNAT.o] Error 1
kmk: *** Waiting for unfinished jobs....
kmk_builtin_append -n "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep" "" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/ip_input.c:" ""
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep' 'define VBoxDD_/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/src/VBox/Devices/Network/slirp/ip_input.c_CMDS_PREV_'
kmk_builtin_append -c '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD/Network/slirp/ip_input.o.dep' 'endef'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD2/VBoxDD2.dep' 'define VBoxDD2_CMDS_PREV_'
kmk_builtin_append -c '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD2/VBoxDD2.dep' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD2/VBoxDD2.dylib'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxDD2/VBoxDD2.dep' 'endef'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxC/VBoxC.dep' 'define VBoxC_CMDS_PREV_'
kmk_builtin_append -c '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxC/VBoxC.dep' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxC/VBoxC.dylib'
kmk_builtin_append '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10/out/darwin.amd64/release/obj/VBoxC/VBoxC.dep' 'endef'
kmk: *** Exiting with status 2
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.2.10" && . env.sh && kmk all KBUILD_VERBOSE=full 
Exit code: 2
Error: org.macports.build for port virtualbox returned: command execution failed

Seeing "POLL" in the error made me think that the poll-emulator port I had installed might be to blame, so I deactivated it, and after that, VirtualBox was then able to build properly.

Change History (1)

comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: newclosed

In 80709efdc0b4154e6c0b26d01a28d9bae04850a9/macports-ports (master):

virtualbox: delete port

Port has not been successfully updated in 7 years, has reported build
problems, has broken dependencies (vde2), and is unbuildable on recent
macOS versions (requires apple-gcc42).

Closes: #35808
Closes: #36927
Closes: #38364
Closes: #38558
Closes: #50622
Closes: #51999

Note: See TracTickets for help on using tickets.