[vbox-dev] Error building 5.1.0_BETA2

Larry Finger Larry.Finger at lwfinger.net
Wed Jun 8 03:46:18 GMT 2016


I am getting the scripts ready for when I will be building the openSUSE RPMs. I 
have fixed a number of errors, but the following one has stymied me:

[   74s] + /usr/bin/kmk -j4 VBOX_GCC_WERR= KBUILD_VERBOSE=2 
VBOX_USE_SYSTEM_XORG_HEADERS=1 VBOX_WITH_REGISTRATION_REQUEST= 
VBOX_WITH_UPDATE_REQUEST= TOOL_YASM_AS=yasm VBOX_BUILD_PUBLISHER=_SUSE 
'TOOL_GCC3_CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g' 'TOOL_GCC3_CXXFLAGS=-fmessage-length=0 
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -g' 
'VBOX_GCC_OPT=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g'
[   74s] Config.kmk:2761: 
/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.0/out/linux.amd64/release/DynamicConfig.kmk: 
No such file or directory
[   74s] Config.kmk:6550: 
/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.0/out/linux.amd64/release/revision.kmk: 
No such file or directory
[   74s] 
/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.0/src/VBox/Main/Makefile.kmk:211: 
/home/abuild/rpmbuild/BUILD/VirtualBox-5.1.0/out/linux.amd64/release/vboxapiwrap.kmk: 
No such file or directory
[   74s] /usr/share/kBuild/footer-inherit-uses-tools.kmk:529: *** kBuild: Cannot 
find include file for the unit 'qt5'! Searched:  /usr/share/kBuild/units .  Stop.
[   74s] error: Bad exit status from /var/tmp/rpm-tmp.q3hoQt (%build)
[   74s]
[   74s]
[   74s] RPM build errors:
[   74s]     Bad exit status from /var/tmp/rpm-tmp.q3hoQt (%build)

Any suggestions on how I should fix the finding of the qt5 includes? I have 
added BuildRequires statements for all of the qt5 development packages that 
openSUSE offers.

Thanks,

Larry




More information about the vbox-dev mailing list