VirtualBox

Opened 11 years ago

Closed 11 years ago

#11041 closed defect (worksforme)

debian/rules binary build fail with revision 43546

Reported by: homerun1 Owned by:
Component: other Version: VirtualBox 4.2.0
Keywords: linux x86 build Cc:
Guest type: Linux Host type: Linux

Description

Build on Debian wheezy , x86 (32bit)

Process :
svn co http://www.virtualbox.org/svn/vbox/trunk vbox
cd vbox/src/VBox/Installer/linux
sudo debian/rules binary
..
...
Build Fails in 32-bit linux host , here debian.

in file :
src/VBox/Devices/PC/Etherboot-src/Makefile.kmk
is missing 'linux.x86' target ( found this from web )

Orginal in svn :
if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.amd64 freebsd.amd64)

Modified : (works)
if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 os2.x86 solaris.x86 solaris.amd64 win.x86 win.amd64 linux.x86 linux.amd64 freebsd.amd64)

Change History (4)

comment:1 by Frank Mehnert, 11 years ago

Works here without any change. Could you actually attach the log file which contains the build error?

in reply to:  1 comment:2 by homerun1, 11 years ago

Replying to frank:

Works here without any change. Could you actually attach the log file which contains the build error?

Greetings

Does this help ?
**
tstAsmStructs: TESTING
info: sizeof(CPUMCPU): 0xd80 (3456)
info: sizeof(CPUMCTXCORE): 0x120 (288)
info: sizeof(CPUMCTXMSRS): 0x200 (512)
info: sizeof(CPUMCTX): 0x440 (1088)
info: sizeof(CPUM): 0x1cc (460)
info: sizeof(STAMCOUNTER): 0x8 (8)
info: sizeof(STAMPROFILEADV): 0x28 (40)
info: sizeof(STAMPROFILE): 0x20 (32)
info: sizeof(SUPDRVTRACERUSRCTX64): 0xf0 (240)
info: sizeof(SUPGIPCPU): 0x80 (128)
info: sizeof(SUPGLOBALINFOPAGE): 0x580 (1408)
info: sizeof(TRPMCPU): 0x44 (68)
info: sizeof(TRPM): 0x1428 (5160)
info: sizeof(VBOXTSS): 0x88 (136)
info: sizeof(VMCSCACHE): 0xc18 (3096)
info: sizeof(VMMR0JMPBUF): 0x50 (80)
tstAsmStructs: SUCCESS
  LD      NetBiosBin
ld: error: /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt1.uo: unsupported ELF file type 2
ld: error: /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt2.zo: unsupported ELF file type 2
kmk: *** [/<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.zprf] Error 1
kmk: *** Waiting for unfinished jobs....
rm /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt1.bin /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt2.zbin /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt2.bin
kmk: *** Exiting with status 2
make: *** [debian/build-stamp] Error 2
**

debian 7 i386 b2 netinst image with latest updates.
vbox public svn revision 43648

in reply to:  1 comment:3 by homerun1, 11 years ago

Replying to frank:

Works here without any change. Could you actually attach the log file which contains the build error?

same done also with debian 6.0.6 i386 fresh installation.

  INST    VBoxSVC => {C}/debian/builddir/bin/VBoxSVC
  LD      tstInstrEmul
  LD      tstVMM
  LD      tstVMM-HM
  LD      tstVMMFork
  LD      VBoxTestOGL
  INST    VBoxManage => {C}/debian/builddir/bin/VBoxManage
  INST    VBoxBalloonCtrl => {C}/debian/builddir/bin/VBoxBalloonCtrl
  INST    VBoxAutostart => {C}/debian/builddir/bin/VBoxAutostart
  INST    VMMRC => {C}/debian/builddir/bin/VMMGC.gc
  LD      VMMR0
/<path removed>/VBox-SVN-Trunk/src/VBox/Devices/PC/Etherboot-src/Makefile.kmk:312: TARGET_makerom is deprecated, use  makerom_1_TARGET instead
  makerom NetBiosBin - {T}/pcnet32.rom.zprf
PCI header at 0x1c and PnP header at 0x34
UNDI header at 0x54
  INST    VBoxC => {C}/debian/builddir/bin/components/VBoxC.so
  INST    VBoxSharedFolders => {C}/debian/builddir/bin/VBoxSharedFolders.so
  INST    VBoxSharedCrOpenGL => {C}/debian/builddir/bin/VBoxSharedCrOpenGL.so
  INST    VBoxSharedClipboard => {C}/debian/builddir/bin/VBoxSharedClipboard.so
  INST    VBoxGuestPropSvc => {C}/debian/builddir/bin/VBoxGuestPropSvc.so
  INST    VBoxGuestControlSvc => {C}/debian/builddir/bin/VBoxGuestControlSvc.so
  INST    VBoxDragAndDropSvc => {C}/debian/builddir/bin/VBoxDragAndDropSvc.so
  INST    VBoxHostChannel => {C}/debian/builddir/bin/VBoxHostChannel.so
  INST    DBGCPlugInDiggers => {C}/debian/builddir/bin/DBGCPlugInDiggers.so
  INST    VBoxDbg => {C}/debian/builddir/bin/VBoxDbg.so
  INST    VBoxBFE => {C}/debian/builddir/bin/VBoxBFE.so
  INST    VBoxRemPrimary => {C}/debian/builddir/bin/VBoxREM32.so
  INST    VBoxREM64 => {C}/debian/builddir/bin/VBoxREM64.so
  INST    VBoxREMWrapper => {C}/debian/builddir/bin/VBoxREM.so
  INST    tstInstrEmul => {C}/debian/builddir/bin/tstInstrEmul
  INST    tstVMM => {C}/debian/builddir/bin/tstVMM
  INST    tstVMM-HM => {C}/debian/builddir/bin/tstVMM-HM
  INST    tstVMMFork => {C}/debian/builddir/bin/tstVMMFork
  INST    VBoxTestOGL => {C}/debian/builddir/bin/VBoxTestOGL
  INST    VMMR0 => {C}/debian/builddir/bin/VMMR0.r0
  bin2c   NetBiosBin - {T}/pcnet32.zrom
  INST    VirtualBox => {C}/debian/builddir/bin/VirtualBox.so
  C       NetBiosBin - {T}/NetBiosBin.c
  AR      NetBiosBin
  INST    NetBiosBin => {C}/debian/builddir/lib/NetBiosBin.a
  LD      VBoxDD2
  INST    VBoxDD2 => {C}/debian/builddir/bin/VBoxDD2.so
  LD      VBoxDD
  INST    VBoxDD => {C}/debian/builddir/bin/VBoxDD.so
  pdflatex {T}/manual/fr_FR/UserManual.tex (four passes) -> {T}/manual/fr_FR/UserManual.pdf
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
kmk: *** [/<path removed>/VBox-SVN-Trunk/debian/builddir/obj/manual/fr_FR/UserManual.pdf] Error 1
kmk: *** Waiting for unfinished jobs....
rm /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt1.bin /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt2.bin /<path removed>/VBox-SVN-Trunk/debian/builddir/obj/pcnet32.rom.rt2.zbin
kmk: *** Exiting with status 2
make: *** [debian/build-stamp] Error 2

comment:4 by Frank Mehnert, 11 years ago

Resolution: worksforme
Status: newclosed

Sorry for the late response. Looks to me like building the user manual failed. Please have a look at the ...debian/builddir/obj/manual/fr_FR/UserManual.log file. I assume that you have to install some additional LaTeX packages.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use