VirtualBox

Opened 7 years ago

Closed 7 years ago

#16669 closed defect (fixed)

VirtualBox 5.1.20 build failed

Reported by: GabrielVlasiu Owned by:
Component: host support Version: VirtualBox 5.1.20
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

VirtualBox 5.1.20 cannot be built.

$ . ./env.sh
$ kmk VBOX_WITH_REGISTRATION_REQUEST= VBOX_WITH_UPDATE_REQUEST= all
....
kBuild: Linking SUPR3Static
kBuild: Installing SUPR3Static => /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/out/linux.amd64/release/lib/SUPR3Static.a
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
kBuild: Compiling SUPR3HardenedStatic - /home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
kmk: *** No rule to make target `/home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/src/VBox/HostDrivers/Support/posix/SUPR3HardenedMain-posix.cpp', needed by `/home/gabriel/work/rpm/BUILD/VirtualBox-5.1.20/out/linux.amd64/release/obj/SUPR3HardenedStatic/posix/SUPR3HardenedMain-posix.o'.  Stop.

Investigating VirtualBox-5.1.20/src/VBox/HostDrivers/Support/Makefile.kmk file I found that there are two missing files in archive (maybe more?):

posix/SUPR3HardenedMain-posix.cpp
posix/SUPR3HardenedMainA-posix.asm

There is no posix directory there.

The Makefile.kmk file from SVN (latest) does not have the whole section:

# Things specific to the posix crowd.
if1of ($(KBUILD_TARGET), linux darwin solaris)
...
endif

How this this section ended in Makefile.kmk?

Change History (4)

comment:1 by Frank Mehnert, 7 years ago

Description: modified (diff)

comment:2 by Frank Mehnert, 7 years ago

The same applies to 5.0.38. These 2 files are missing in the archive. The download directories should now contain VirtualBox-5.1.20a.tar.bz2 and VirtualBox-5.0.38a.tar.bz2 respective. I also fixed the links on the download page.

comment:3 by GabrielVlasiu, 7 years ago

Thank you!

comment:4 by Frank Mehnert, 7 years ago

Resolution: fixed
Status: newclosed

And thanks for the report!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use