virtualbox FTBFS on yakkety amd64, i386 builds fine.

/«PKGBUILDDIR»/src/VBox/Runtime/common/log/logellipsis.cpp:1:0: error: code 
model kernel does not support PIC mode
 /* $Id: logellipsis.cpp $ */
 ^

Virtualbox's build system mostly ignores FLAGS set in the environment:
https://qa.debian.org/bls/packages/v/virtualbox.html

I made the following change to debian/LocalConfig.kmk:

@@ -14,3 +14,4 @@
 VBOX_JAVA_HOME := /usr/lib/jvm/default-java
 VBOX_PATH_DOCBOOK_DTD := /usr/share/xml/docbook/schema/dtd/4/
 VBOX_WITH_VBOX_IMG = 1
+VBOX_GCC_R0_OPT := -O2 -fno-PIC

...and the build continued further, failing with:

/«PKGBUILDDIR»/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/int13.c: 
In function ‘int13_hook’:
/srv/scratch/debian-packages-dev/virtualbox/virtualbox-5.0.20-dfsg/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/int13.c:1466:2:
 warning: asm operand 0 probably doesn’t match constraints
  __asm__  __volatile__ (
  ^

...which seems very similar to the FTBFS in syslinux (LP: #1579023)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578424

Title:
  demote virtualbox and reverse dependencies in yakkety

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/testdrive/+bug/1578424/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to