While emerging virtualbox-ose compiling fails when building a headless install with python support. Attempt compilation with "app-emulation/virtualbox-ose headless vboxwebsrv additions" in /etc/portage/package.use. The "python" use flag is enabled globally in make.conf. ragnarok virtualbox-ose # emerge -pqv =app-emulation/virtualbox-ose-3.2.6 [ebuild N ] app-emulation/virtualbox-ose-3.2.6 USE="additions headless python vboxwebsrv -alsa -hal -opengl -pulseaudio -qt4 -sdk" Reproducible: Always Steps to Reproduce: 1. Have python compiled WITHOUT "threads" use flag 2. Install app-emulation/virtualbox-ose with USE="headless vboxwebsrv additions python" Actual Results: Compile fails Expected Results: Successful compilation without errors Steps to correct: 1) Add "threads" use flag for python (global make.conf or in package.use) 2) emerge -1N python 3) compile virtualbox-ose The main thing here is that virtualbox-ose should check to see if python has been compiled with the "threads" use flag and error out of the install if has not been.
Created attachment 240909 [details] build.log of failed compile Attached is build.log from failed compilation. Also forgot to add the emerge info so here it is. ragnarok virtualbox-ose # emerge --info Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Dual_Core_AMD_Opteron-tm-_Processor_175-with-gentoo-1.12.13 Timestamp of tree: Sun, 01 Aug 2010 06:00:01 +0000 app-shells/bash: 4.0_p37 dev-lang/python: 2.6.5-r2, 3.1.2-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.9.6-r3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA PUEL" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=opteron -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="#http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ " LANG="en_US" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/local/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="cjk nls nptl python ssl tcpd unicode usb x86 xml" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth_basic authn_file authz_groupfile authz_host authz_owner authz_user autoindex dir include mime rewrite" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
+ 01 Aug 2010; Lars Wendler <polynomial-c@gentoo.org> + virtualbox-ose-3.1.8.ebuild, virtualbox-ose-3.2.4-r1.ebuild, + virtualbox-ose-3.2.6.ebuild, virtualbox-ose-9999.ebuild: + Make sure python was compiled with threads USE flag. Thanks to Pat Schram + who reported this in bug #330689. +
On a sidenote, it also fails with USE="-headless" so I fixed the summary.