Build from SVN fail on Ubuntu 12.0.4

Discussions related to using the OSE version of VirtualBox.
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

After numerous attempts, my 'kmk all' process fails here:

Code: Select all

kBuild: Installing tstRTR0MemUserKernel => /root/virtualbox/vbox/out/linux.amd64/release/bin/testcase/tstRTR0MemUserKernel.r0
kBuild: Installing tstRTR0SemMutex => /root/virtualbox/vbox/out/linux.amd64/release/bin/testcase/tstRTR0SemMutex.r0
kBuild: Installing tstRTR0Timer => /root/virtualbox/vbox/out/linux.amd64/release/bin/testcase/tstRTR0Timer.r0
kBuild: Installing tstR0ThreadPreemption => /root/virtualbox/vbox/out/linux.amd64/release/bin/testcase/tstR0ThreadPreemption0
kBuild: Installing tstLdrObj => /root/virtualbox/vbox/out/linux.amd64/release/bin/testcase/tstLdrObj.gc
kBuild: Installing tstMicroRC => /root/virtualbox/vbox/out/linux.amd64/release/bin/tstMicroRC.gc
kBuild: Generating VMMRC - /root/virtualbox/vbox/out/linux.amd64/release/obj/VMMRC/dtrace/dtrace/VBoxVMM.h
kBuild: Generating VMMR0 - /root/virtualbox/vbox/out/linux.amd64/release/obj/VMMR0/dtrace/dtrace/VBoxVMM.h
kBuild: Installing VBoxDDR0 => /root/virtualbox/vbox/out/linux.amd64/release/bin/VBoxDDR0.r0
kBuild: Installing VBoxDDGC => /root/virtualbox/vbox/out/linux.amd64/release/bin/VBoxDDGC.gc
kBuild: Generating VBoxDrv - /root/virtualbox/vbox/out/linux.amd64/release/obj/VBoxDrv/dtrace/dtrace/SUPDrv.h
kBuild: Installing vboxvideo_drv => /root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv.o
install: warning: Not hard linking, mode differs: 0644, desires 0755
install: src path '/root/virtualbox/vbox/out/linux.amd64/release/obj/vboxvideo_drv/vboxvideo_drv.o'
install: dst path '/root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv.o'
kBuild: Installing vboxmouse_drv => /root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxmouse_drv.o
install: warning: Not hard linking, mode differs: 0644, desires 0755
install: src path '/root/virtualbox/vbox/out/linux.amd64/release/obj/vboxmouse_drv/vboxmouse_drv.o'
install: dst path '/root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxmouse_drv.o'
kBuild: Checking for unresolved symbols in /root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv.o
kBuild: Checking for unresolved symbols in /root/virtualbox/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv_70.so
/root/virtualbox/vbox/src/bldprogs/checkUndefined.sh: following symbols not defined in the files /root/virtualbox/vbox/src/V:
__realpath_chk __memcpy_chk __sprintf_chk
kmk: *** [/root/virtualbox/vbox/out/linux.amd64/release/obj/vboxvideo_drv_70/tstvboxvideo_70.run] Error 1
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
Please advise ...
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

Did you read and follow the link I sent you the other day?
There are some new requirements that I have noted as well. openwatcom and libdevmapper-dev
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

Hi Perryg,

Yes, I did follow the link you provided, however after copying/pasting your apt-get commands, i still had to manually download/install openwatcom 1.9, couldn't find a package for it in the repository, but that was fine, since when I rebuilt the source, the configure script located watcom, and I did also install libdevmapper-dev.

Code: Select all

root@gx620-2:~/virtualbox/vbox/debian# echo $WATCOM
/usr/local/watcom
root@gx620-2:~/virtualbox/vbox/debian# ls /usr/local/watcom
binl   binp  docs   h            lh      lib386       nlm          rdos        readme.w32  src         wipfc
binnt  binw  eddat  instlic.txt  lib286  license.txt  owsetenv.sh  readme.txt  samples     watcom.ico

Code: Select all

root@gx620-2:~/virtualbox/vbox/debian# apt-get install libdevmapper-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libdevmapper-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.

Code: Select all

bcc is already the newest version.
curl is already the newest version.
default-jdk is already the newest version.
doxygen is already the newest version.
g++ is already the newest version.
g++-multilib is already the newest version.
gcc is already the newest version.
gcc-multilib is already the newest version.
iasl is already the newest version.
java-common is already the newest version.
lib32gcc1 is already the newest version.
lib32stdc++6 is already the newest version.
libcap-dev is already the newest version.
libcurl4-openssl-dev is already the newest version.
libidl-dev is already the newest version.
libpam0g-dev is already the newest version.
libsdl1.2-dev is already the newest version.
libstdc++6 is already the newest version.
libxcursor-dev is already the newest version.
libxinerama-dev is already the newest version.
libxmu-dev is already the newest version.
libxrandr-dev is already the newest version.
python-dev is already the newest version.
subversion is already the newest version.
uuid-dev is already the newest version.
yasm is already the newest version.
zlib1g-dev is already the newest version.
gsoap is already the newest version.
libhal-dev is already the newest version.
makeself is already the newest version.
texlive-full is already the newest version.
libqt4-dev is already the newest version.
libqt4-opengl-dev is already the newest version.
libxml2-dev is already the newest version.
libxslt1-dev is already the newest version.
linux-headers-generic is already the newest version.
qt4-dev-tools is already the newest version.
xsltproc is already the newest version.
build-essential is already the newest version.
dkms is already the newest version.
libasound2-dev is already the newest version.
libc6-dev-i386 is already the newest version.
libglu1-mesa-dev is already the newest version.
libpulse-dev is already the newest version.
ia32-libs is already the newest version.
mesa-common-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

Alright then lets take a look at the build log. Capture the text from the start and post as an attachment here.
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

Ok, here's the build log ...
Attachments
build.log.bz2
(33.75 KiB) Downloaded 47 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

Ok First thing I would suggest is to not use root. Ever!
Build as a normal user and when it comes to compiling the binaries use sudo.

I also need to see your configure.log (as an attachment)
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

configure.log
Attachments
configure.log
(15.34 KiB) Downloaded 38 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

Log is fine.

Would it be possible to see your script that you created to run the build?
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

I am executing the commands manually one-by-one. No script is being used. In the build log i included previously, you can see the commands I entered as well.

The build fails after I enter the command "kmk all"
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

The beginning of the build has invalid characters for me in gedit.
I'll try a different editor and see.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build from SVN fail on Ubuntu 12.0.4

Post by Perryg »

Create a LocalConfig.kmk in the top level of your build and add the following:

Code: Select all

VBOX_JAVA_HOME := /usr/lib/jvm/java-6-openjdk-amd64
VBOX_WITH_WARNINGS_AS_ERRORS := 
VBOX_WITH_TESTCASES := 
VBOX_WITH_TESTSUITE := 
Replace the absolute path to your Java package where java/bin is located
Move the build out of /root
and see what happens.
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

Here is the top of the build.log file I provided.

Code: Select all

Script started on Wed 27 Feb 2013 08:41:39 AM EST
root@gx620-2:~/virtualbox/vbox# rm -rf out/
root@gx620-2:~/virtualbox/vbox# kmk clean
Config.kmk:2318: /root/virtualbox/vbox/out/linux.amd64/release/GCCConfig.kmk: No such file or directory
Config.kmk:5336: /root/virtualbox/vbox/out/linux.amd64/release/revision.kmk: No such file or directory
kBuild: Generating /root/virtualbox/vbox/out/linux.amd64/release/revision.kmk
/root/virtualbox/vbox/kBuild/bin/linux.amd64/kmk_redirect -E 'LC_ALL=C' -wo /root/virtualbox/vbox/out/linux.amd64/release/revision.kmk.ts.tmp 
-- svn info /root/virtualbox/vbox
/root/virtualbox/vbox/kBuild/bin/linux.amd64/kmk_sed -e '/^Revision/!d'  -e 's/Revision\: */export VBOX_SVN_REV=/' --output /root/virtualbox/v
box/out/linux.amd64/release/revision.kmk.ts /root/virtualbox/vbox/out/linux.amd64/release/revision.kmk.ts.tmp
/root/virtualbox/vbox/out/linux.amd64/release/revision.kmk.ts -> /root/virtualbox/vbox/out/linux.amd64/release/revision.kmk
kBuild: Generating /root/virtualbox/vbox/out/linux.amd64/release/GCCConfig.kmk
========= START OF /root/virtualbox/vbox/out/linux.amd64/release/GCCConfig.kmk =========
The "Script started" you are seeing at the top of the file, is just the output from the 'script' command, which i used to capture my terminal output to a file for you. The build process is not unattended.
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

Perryg wrote:Create a LocalConfig.kmk in the top level of your build and add the following:

Code: Select all

VBOX_JAVA_HOME := /usr/lib/jvm/java-6-openjdk-amd64
VBOX_WITH_WARNINGS_AS_ERRORS := 
VBOX_WITH_TESTCASES := 
VBOX_WITH_TESTSUITE := 
Replace the absolute path to your Java package where java/bin is located
Move the build out of /root
and see what happens.
Will do this now and report back, thanks.
NYS_ITS
Posts: 23
Joined: 25. Feb 2013, 15:17

Re: Build from SVN fail on Ubuntu 12.0.4

Post by NYS_ITS »

Perryg, all is well.

Code: Select all

tal@gx620-2:~$ sudo ./VirtualBox-4.2.51_OSE-r44845.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation...........
VirtualBox Version 4.2.51_OSE r44845 (2013-02-27T16:34:08Z) installer
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
Building the VirtualBox kernel modules

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
  /opt/VirtualBox/UserManual.pdf
and in the user FAQ
  http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.
Thank you for all your efforts!

Could you please advise me as to which version of the VirtualBox extension pack I should install? is the 4.2.6 still suitable? this OSE version is 4.2.51
ss666
Posts: 16
Joined: 13. Mar 2013, 18:03
Primary OS: Ubuntu 12.12
VBox Version: OSE self-compiled
Guest OSses: Ubuntu,Win7,FreeBSD,Android
Location: Russia

Re: Build from SVN fail on Ubuntu 12.0.4

Post by ss666 »

Still fails on

Code: Select all

# uname -a
Linux  3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
LocalConfig.kmk is

Code: Select all

VBOX_WITH_EXTPACK_VNC := 1
VBOX_JAVA_HOME := /usr/lib/jvm/java-7-openjdk-amd64
VBOX_WITH_WARNINGS_AS_ERRORS :=
VBOX_WITH_TESTCASES :=
VBOX_WITH_TESTSUITE :=
VBOX_WITH_VNC := 1
SVN info is

Code: Select all

# svn info
Path: .
Working Copy Root Path: /usr/work/vbox
Repository UUID: cfe28804-0f27-0410-a406-dd0f0b0b656f
Revision: 44970
Node Kind: directory
Schedule: normal
Last Changed Author: vboxsync
Last Changed Rev: 44970
Last Changed Date: 2013-03-11 02:59:05 -0700 (Mon, 11 Mar 2013)
and the fault is

Code: Select all

kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp

Compilation successful

kmk_builtin_append /usr/work/vbox/out/linux.amd64/release/obj/webservice/gsoap_generate_all_ts done
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageBandwidthControl.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageControlVM.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageDebugVM.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageDHCPServer.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageHostonly.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageMetrics.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
kBuild: Compiling VBoxManage - /usr/work/vbox/src/VBox/Frontends/VBoxManage/VBoxManageUSB.cpp
kBuild: Compiling VBoxBalloonCtrl - /usr/work/vbox/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdog.cpp
kBuild: Compiling VBoxBalloonCtrl - /usr/work/vbox/src/VBox/Frontends/VBoxBalloonCtrl/VBoxWatchdogUtils.cpp
kBuild: Compiling VBoxBalloonCtrl - /usr/work/vbox/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModAPIMonitor.cpp
kBuild: Compiling VBoxBalloonCtrl - /usr/work/vbox/src/VBox/Frontends/VBoxBalloonCtrl/VBoxModBallooning.cpp
kBuild: Compiling VBoxAutostart - /usr/work/vbox/src/VBox/Frontends/VBoxAutostart/VBoxAutostartCfg.cpp
kBuild: Compiling VBoxAutostart - /usr/work/vbox/src/VBox/Frontends/VBoxAutostart/VBoxAutostartStart.cpp
kBuild: Compiling VBoxAutostart - /usr/work/vbox/src/VBox/Frontends/VBoxAutostart/VBoxAutostartStop.cpp
kBuild: Compiling VBoxAutostart - /usr/work/vbox/src/VBox/Frontends/VBoxAutostart/VBoxAutostartUtils.cpp
kBuild: Compiling VBoxAutostart - /usr/work/vbox/src/VBox/Frontends/VBoxAutostart/VBoxAutostart-posix.cpp
kBuild: Installing VBoxSDLHardened => /usr/work/vbox/out/linux.amd64/release/bin/VBoxSDL
kBuild: Linking tstSDL
kBuild: Installing VBoxHeadlessHardened => /usr/work/vbox/out/linux.amd64/release/bin/VBoxHeadless
kBuild: Installing VirtualBoxHardened => /usr/work/vbox/out/linux.amd64/release/bin/VirtualBox
kBuild: Installing VBoxControl => /usr/work/vbox/out/linux.amd64/release/bin/additions/VBoxControl
kBuild: Installing VBoxService => /usr/work/vbox/out/linux.amd64/release/bin/additions/VBoxService
kBuild: Installing VBoxClient => /usr/work/vbox/out/linux.amd64/release/bin/additions/VBoxClient
kBuild: Installing mount.vboxsf => /usr/work/vbox/out/linux.amd64/release/bin/additions/mount.vboxsf
kBuild: Installing VBoxNetDHCPHardened => /usr/work/vbox/out/linux.amd64/release/bin/VBoxNetDHCP
kBuild: Compiling VBoxXPCOMIPCD - /usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcd.cpp
kBuild: Compiling VBoxXPCOMIPCD - /usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcClient.cpp
kBuild: Compiling VBoxXPCOMIPCD - /usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcModuleReg.cpp
kBuild: Compiling VBoxXPCOMIPCD - /usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcCommandModule.cpp
kBuild: Compiling VBoxXPCOMIPCD - /usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp
kBuild: Installing VBoxNetAdpCtl => /usr/work/vbox/out/linux.amd64/release/bin/VBoxNetAdpCtl
kBuild: Linking generate_service_file
kBuild: Generating VMMRC - /usr/work/vbox/out/linux.amd64/release/obj/VMMRC/dtrace/dtrace/VBoxVMM.h
kBuild: Generating VMMR0 - /usr/work/vbox/out/linux.amd64/release/obj/VMMR0/dtrace/dtrace/VBoxVMM.h
kBuild: Installing VBoxDDR0 => /usr/work/vbox/out/linux.amd64/release/bin/VBoxDDR0.r0
kBuild: Installing VBoxDDGC => /usr/work/vbox/out/linux.amd64/release/bin/VBoxDDGC.gc
kBuild: Generating VBoxDrv - /usr/work/vbox/out/linux.amd64/release/obj/VBoxDrv/dtrace/dtrace/SUPDrv.h
kBuild: Installing vboxvideo_drv => /usr/work/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv.o
install: warning: Not hard linking, mode differs: 0644, desires 0755
install: src path '/usr/work/vbox/out/linux.amd64/release/obj/vboxvideo_drv/vboxvideo_drv.o'
install: dst path '/usr/work/vbox/out/linux.amd64/release/bin/additions/vboxvideo_drv.o'
kBuild: Installing vboxmouse_drv => /usr/work/vbox/out/linux.amd64/release/bin/additions/vboxmouse_drv.o
install: warning: Not hard linking, mode differs: 0644, desires 0755
install: src path '/usr/work/vbox/out/linux.amd64/release/obj/vboxmouse_drv/vboxmouse_drv.o'
install: dst path '/usr/work/vbox/out/linux.amd64/release/bin/additions/vboxmouse_drv.o'
kBuild: javac vboxjws.jar - jwsgen.list
kBuild: Compiling bridge code
/usr/lib/jvm/java-7-openjdk-amd64/bin/javac -encoding UTF-8 -source 1.5 -target 1.5 -Xlint:unchecked \
                @/usr/work/vbox/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/jwsglue.list \
        -d /usr/work/vbox/out/linux.amd64/release/obj/vboxjws-gen/jdest -classpath /usr/work/vbox/out/linux.amd64/release/obj/vboxjws-gen/jdest
kBuild: Installing /usr/work/vbox/out/linux.amd64/release/bin/dtrace/testcase/amd64/vbox-vm-struct-test.d
kBuild: Generating VMMLibDTrace - /usr/work/vbox/out/linux.amd64/release/obj/VMMLibDTrace/vm.d
kBuild: Generating VMMLibDTrace - /usr/work/vbox/out/linux.amd64/release/obj/VMMLibDTrace/cpumctx.d
kBuild: Generating VMMLibDTrace - /usr/work/vbox/out/linux.amd64/release/obj/VMMLibDTrace/CPUMInternal.d
kBuild: Generating VMMLibDTrace - /usr/work/vbox/out/linux.amd64/release/obj/VMMLibDTrace/x86.d
kBuild: javac vboxjxpcom.jar - jxpcomgen.list
kBuild: Installing /usr/work/vbox/out/linux.amd64/release/bin/components/VBoxXPCOMBase.xpt
/usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp: In function ‘Status AcquireDaemonLock(const char*)’:
/usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp:215:28: warning: ignoring return value of ‘int ftruncate(int, __off64_t)’, declared with attribute warn_unused_result [-Wunused-result]
/usr/work/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp:223:30: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
kmk_builtin_rm -f
/usr/work/vbox/out/linux.amd64/release/obj/split-soapC/split-soapC /usr/work/vbox/out/linux.amd64/release/obj/webservice/soapC.cpp /usr/work/vbox/out/linux.amd64/release/obj/webservice 20
kmk_builtin_rm -f /usr/work/vbox/out/linux.amd64/release/obj/webservice/gsoap_copy_all_ts
kmk_builtin_mkdir -p /usr/work/vbox/out/linux.amd64/release/obj/webservice/demo_soapxml /usr/work/vbox/out/linux.amd64/release/obj/webservice/demo_headers /usr/work/vbox/out/linux.amd64/release/obj/webservice/demo_namespacemaps
kmk_builtin_mv -f  /usr/work/vbox/out/linux.amd64/release/obj/webservice/demo_headers
usage: kmk_builtin_mv [-f | -i | -n] [-v] source target
   or: kmk_builtin_mv [-f | -i | -n] [-v] source ... directory
   or: kmk_builtin_mv --help
   or: kmk_builtin_mv --version
kmk: *** [/usr/work/vbox/out/linux.amd64/release/obj/webservice/gsoap_copy_all_ts] Error 64
kmk: *** Waiting for unfinished jobs....
info: soapC-1.cpp
info: soapC-2.cpp
info: soapC-3.cpp
info: soapC-4.cpp
info: soapC-5.cpp
info: soapC-6.cpp
info: soapC-7.cpp
info: soapC-8.cpp
info: soapC-9.cpp
info: soapC-10.cpp
info: soapC-11.cpp
info: soapC-12.cpp
info: soapC-13.cpp
info: soapC-14.cpp
info: soapC-15.cpp
info: soapC-16.cpp
info: soapC-17.cpp
info: soapC-18.cpp
info: soapC-19.cpp
info: soapC-20.cpp
split-soapC: Created 20 files.
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
kBuild: javac vboxjxpcom.jar - ...
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
kBuild: Linking vboxjxpcom.jar
1 warning
kBuild: Linking vboxjws.jar
/usr/lib/jvm/java-7-openjdk-amd64/bin/jar cfm /usr/work/vbox/out/linux.amd64/release/obj/VBoxJWs-inst-jar/vboxjws.jar /usr/work/vbox/out/linux.amd64/release/obj/vboxjws-gen/jwsgen/MANIFEST.MF -C /usr/work/vbox/out/linux.amd64/release/obj/vboxjws-gen/jdest .
kmk: *** Exiting with status 2
config.log is

Code: Select all

# cat configure.log
# Log file generated by
#
#   './configure --enable-vnc --enable-webservice'
#

***** Checking environment *****
Determined build machine: linux.amd64, target machine: linux.amd64


***** Checking kBuild *****
found


***** Checking gcc *****
found version 4.7


***** Checking Open Watcom *****
** Open Watcom was not found!

***** Checking iasl *****
found version 20100528


***** Checking xslt *****
found


***** Checking mkisofs *****
found genisoimage 1.1.11 (Linux)


***** Checking pthread *****
compiling the following source file:
#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
  pthread_mutex_t mutex;
  if (pthread_mutex_init(&mutex, NULL)) {
    printf("pthread_mutex_init() failed\n");
    return 1;
  }
  if (pthread_mutex_lock(&mutex)) {
    printf("pthread_mutex_lock() failed\n");
    return 1;
  }
  if (pthread_mutex_unlock(&mutex)) {
    printf("pthread_mutex_unlock() failed\n");
    return 1;
  }
  printf("found, OK.\n");
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lpthread"
executing the binary
found, OK.


***** Checking libxml2 *****
compiling the following source file:
#include <cstdio>
#include <libxml/xmlversion.h>
extern "C" int main(void)
{
  printf("found version %s", LIBXML_DOTTED_VERSION);
#if LIBXML_VERSION >= 20626
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.6.26 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lxml2   -lpthread -I/usr/include/libxml2"
executing the binary
found version 2.8.0, OK.


***** Checking libIDL *****
found version 0.8.14


***** Checking ssl *****
compiling the following source file:
#include <cstdio>
#include <openssl/opensslv.h>
#include <openssl/ssl.h>
extern "C" int main(void)
{
  printf("found version %s", OPENSSL_VERSION_TEXT);
  SSL_library_init();
#if OPENSSL_VERSION_NUMBER >= 0x00908000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.8 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc " -lssl -lcrypto"
executing the binary
found version OpenSSL 1.0.1c 10 May 2012, OK.


***** Checking libcurl *****
compiling the following source file:
#include <cstdio>
#include <curl/curl.h>
extern "C" int main(void)
{
  printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR + LIBCURL_VERSION_PATCH >= 71901
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 7.19.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lcurl "
executing the binary
found version 7.27.0, OK.


***** Checking zlib *****
compiling the following source file:
#include <cstdio>
#include <zlib.h>
extern "C" int main(void)
{
  printf("found version %s", ZLIB_VERSION);
#if ZLIB_VERNUM >= 0x1210
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lz "
executing the binary
found version 1.2.7, OK.


***** Checking libpng *****
compiling the following source file:
#include <cstdio>
#include <png.h>
extern "C" int main(void)
{
  printf("found version %s", PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.5 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lpng "
executing the binary
found version 1.2.49, OK.


***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern "C" int main(int argc, char** argv)
{
  printf("found version %d.%d.%d",
         SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.7 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread  -I/usr/local/include/SDL "
executing the binary
found version 1.2.15, OK.


***** Checking X libraries *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
extern "C" int main(void)
{
  Display *dpy;
  int scrn_num;
  Screen *scrn;
  Window win;

  dpy      = XOpenDisplay(NULL);
  scrn_num = DefaultScreen(dpy);
  scrn     = ScreenOfDisplay(dpy, scrn_num);
  win      = XCreateWindow(dpy, RootWindowOfScreen(scrn), 0, 0, 100, 100,
                           0, 16, InputOutput, CopyFromParent, 0, NULL);
  XDestroyWindow(dpy, win);
  XCloseDisplay(dpy);
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include"
found


***** Checking Xcursor *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
extern "C" int main(void)
{
  XcursorImage *cursor = XcursorImageCreate (10, 10);
  XcursorImageDestroy(cursor);
  return 0;
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXcursor -I/usr/local/include"
found


***** Checking Xinerama *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xinerama.h>
extern "C" int main(void)
{
  Display *dpy;
  Bool flag;
  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    flag = XineramaIsActive(dpy);
    XCloseDisplay(dpy);
  }
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXinerama -I/usr/local/include"
/usr/work/vbox/.tmp_src.cc: In function 'int main()':
/usr/work/vbox/.tmp_src.cc:6:8: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
found


***** Checking Xrandr *****
compiling the following source file:
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
extern "C" int main(void)
{
  Display *dpy;
  Bool flag;
  int major, minor;
  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    flag = XRRQueryVersion(dpy, &major, &minor);
    XCloseDisplay(dpy);
  }
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXrandr -I/usr/local/include"
/usr/work/vbox/.tmp_src.cc: In function 'int main()':
/usr/work/vbox/.tmp_src.cc:6:8: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
found


***** Checking Xmu *****
compiling the following source file:
#include <cstdio>
#include <X11/Xatom.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xmu/StdCmap.h>
extern "C" int main(void)
{
  Display *dpy;
  int scrn_num;
  Screen *scrn;

  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    scrn_num = DefaultScreen(dpy);
    scrn     = ScreenOfDisplay(dpy, scrn_num);
    Status status = XmuLookupStandardColormap(dpy, RootWindowOfScreen(scrn), 0,
                    24, XA_RGB_DEFAULT_MAP, False, True);
    printf("Status = %x\n", status);
    XCloseDisplay(dpy);
  }
  return 0;
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXmu -I/usr/local/include"
found


***** Checking Mesa / GLU *****
compiling the following source file:
#include <cstdio>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <GL/glu.h>
extern "C" int main(void)
{
  Display *dpy;
  int major, minor;

  dpy = XOpenDisplay(NULL);
  if (dpy)
  {
    Bool glx_version = glXQueryVersion(dpy, &major, &minor);
    XCloseDisplay(dpy);
    if (glx_version)
    {
      printf("found version %u.%u, OK.\n", major, minor);
      return 0;
    }
  }
  printf("found (inactive), OK.\n");
  return 0;
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include"
executing the binary
found (inactive), OK.


***** Checking Qt4 *****
compiling the following source file:
#include <cstdio>
#include <QtGlobal>
extern "C" int main(void)
{
  printf("found version %s", QT_VERSION_STR);
#if QT_VERSION >= 0x040602
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 4.6.2 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-L/usr/lib/x86_64-linux-gnu -lQtCore   -lpthread -I/usr/include/qt4 -I/usr/include/qt4/QtCore -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore  "
executing the binary (LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu)
found version 4.8.3, OK.


***** Checking Qt4 devtools *****
found version 4.8.3


***** Checking Python support *****
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc -I/usr/include/python2.7 /usr/lib64/libpython2.7.so
g++: error: /usr/lib64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/64/libpython2.7.so
g++: error: /usr/lib/64/libpython2.7.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern "C" int main(void)
{
  Py_Initialize();
  printf("found version %s", PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.3 or higher\n");
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc -I/usr/include/python2.7 /usr/lib/libpython2.7.so
In file included from /usr/include/python2.7/Python.h:8:0,
                 from /usr/work/vbox/.tmp_src.cc:2:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
In file included from /usr/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h:40:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h:414,
                 from /usr/include/c++/4.7/cstdio:43,
                 from /usr/work/vbox/.tmp_src.cc:1:
/usr/include/features.h:164:0: note: this is the location of the previous definition
In file included from /usr/include/python2.7/Python.h:8:0,
                 from /usr/work/vbox/.tmp_src.cc:2:
/usr/include/python2.7/pyconfig.h:1183:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
In file included from /usr/include/c++/4.7/x86_64-linux-gnu/bits/os_defines.h:40:0,
                 from /usr/include/c++/4.7/x86_64-linux-gnu/bits/c++config.h:414,
                 from /usr/include/c++/4.7/cstdio:43,
                 from /usr/work/vbox/.tmp_src.cc:1:
/usr/include/features.h:166:0: note: this is the location of the previous definition
executing the binary
found version 2.7.3, OK.


***** Checking Java support *****



***** Checking PulseAudio *****
compiling the following source file:
#include <cstdio>
#include <pulse/version.h>
extern "C" int main(void)
{
  printf("found version %s API version %d", pa_get_headers_version(), PA_API_VERSION);
#if PA_API_VERSION >= 9
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 0.9.0 (API version 9) or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "  -lpulse"
executing the binary
found version 2.1.0 API version 12, OK.


***** Checking static stc++ library *****
compiling the following source file:
#include <string>

extern "C" int main(void)
{
  std::string s = "test";
  return 0;
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.a"
found


***** Checking Linux kernel sources *****
compiling the following source file:
#include <linux/version.h>
int printf(const char *format, ...);
int main(void)
{
  printf("found version %d.%d.%d",  LINUX_VERSION_CODE / 65536,
                                   (LINUX_VERSION_CODE % 65536) / 256,
                                    LINUX_VERSION_CODE          % 256);
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,0)
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.4.0 or higher\n");
  return 1;
#endif
}
using the following command line:
gcc -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.c -nostdinc -I/lib/modules/3.5.0-17-generic/build/include
executing the binary
found version 3.5.5, OK.


***** Checking ALSA *****
compiling the following source file:
#include <cstdio>
#include <alsa/asoundlib.h>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR);
#if 10000*SND_LIB_MAJOR + 100*SND_LIB_MINOR + SND_LIB_SUBMINOR >= 10006
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.0.6 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lasound"
executing the binary
found version 1.0.25, OK.


***** Checking libdevmapper *****
compiling the following source file:
#include <cstdio>
extern "C" {
#define private
#include <libdevmapper.h>
int main()
{
  char version[80];

  if (!dm_get_library_version(version, sizeof(version)))
  {
    printf("dm_get_library_version() failed.\n");
    return 1;
  }

  const char* v=version;
  unsigned int major = 0, minor = 0, micro = 0;

  for (; *v !='.' && *v != '\0'; v++) major = major*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) minor = minor*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) micro = micro*10 + *v-'0';

  printf("found version %s", version);
  if (major*10000 + minor*100 + micro >= 10200)
  {
    printf(", OK.\n");
    return 0;
  }
  else
  {
    printf(", expected version 1.02 or higher\n");
    return 1;
  }
}
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-ldevmapper "
executing the binary
found version 1.02.74 (2012-03-06), OK.


***** Checking libcap library *****
compiling the following source file:
#include <cstdio>
#include <sys/types.h>
#include <linux/types.h>
#include <sys/capability.h>

extern "C" int main(void)
{
  char buf[1024];
  cap_t caps = cap_get_proc();
  snprintf(buf, sizeof(buf), "Current caps are '%s'\n", cap_to_text(caps, NULL));
  return 0;
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lcap"
executing the binary


found


***** Checking compiler.h *****
compiler.h not found


***** Checking 32-bit support *****
compiling the following source file:
#include <stdint.h>
int main(void)
{
  return 0;
}
using the following command line:
gcc -m32 -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.c
executing the binary



***** Checking makeself *****
found version 2.1.5


***** Checking GSOAP compiler *****
found version 2.8


***** Checking libvncserver *****
compiling the following source file:
#include <cstdio>
#include <rfb/rfbconfig.h>

extern "C" int main()
{
  const char* v=LIBVNCSERVER_VERSION;
  unsigned int major = 0, minor = 0, micro = 0;

  for (; *v !='.' && *v != '\0'; v++) major = major*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) minor = minor*10 + *v-'0';
  if (*v == '.') v++;
  for (; *v !='.' && *v != '\0'; v++) micro = micro*10 + *v-'0';

  printf("found version %s", LIBVNCSERVER_PACKAGE_VERSION);
  if (major*10000 + minor*100 + micro >= 900)
  {
    printf(", OK.\n");
    return 0;
  }
  else
  {
    printf(", expected version 0.9 or higher\n");
    return 1;
  }
}
using the following command line:
g++  -g -O -Wall -o /usr/work/vbox/.tmp_out /usr/work/vbox/.tmp_src.cc "-lvncserver "
executing the binary
found version 0.9.9, OK.
Post Reply