Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350237 - app-emulation/virtualbox fails compile against dev-lang/python-3.1
Summary: app-emulation/virtualbox fails compile against dev-lang/python-3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
: 350238 359935 366337 367511 371863 (view as bug list)
Depends on: 372255
Blocks:
  Show dependency tree
 
Reported: 2010-12-31 17:24 UTC by Victor Beffers
Modified: 2011-10-24 21:59 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-log (ose.log,2.06 KB, text/plain)
2010-12-31 18:10 UTC, Victor Beffers
Details
build log of not succesfull compile (with python 3.1) (build.log,99.25 KB, text/plain)
2010-12-31 18:28 UTC, Victor Beffers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Beffers 2010-12-31 17:24:37 UTC
virtualbox fails to compile with python 3.1 while no problems when selecting python 2.7.
( I used eselect python list to view the current active version and eselect python set 1 to set it )

Reproducible: Always

Steps to Reproduce:
1.simple, see description
2.
3.



Expected Results:  
either fail with an clear message (this package requiers python 2.6) or (preferred) compile with any version of python
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-31 17:28:57 UTC
1) Please paste your `emerge --info' output in a comment.
2) Please paste your `emerge -vpq [what package?]' output in a comment.
3) Please attach the entire build log to this bug report as a file.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-12-31 17:46:08 UTC
*** Bug 350238 has been marked as a duplicate of this bug. ***
Comment 3 Victor Beffers 2010-12-31 18:08:20 UTC
(In reply to comment #1)
> 1) Please paste your `emerge --info' output in a comment.
> 2) Please paste your `emerge -vpq [what package?]' output in a comment.
> 3) Please attach the entire build log to this bug report as a file.
> 

1)
emerge --info
Portage 2.1.9.26 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.1-r3, 2.6.37-rc5 x86_64)
=================================================================
System uname: Linux-2.6.37-rc5-x86_64-AMD_Phenom-tm-_II_X4_905e_Processor-with-gentoo-2.0.1
Timestamp of tree: Fri, 31 Dec 2010 16:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.ovh.net/gentoo-distfiles/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LANG="nl_NL.UTF-8"
LC_ALL="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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="/var/lib/layman/mozilla"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdr cleartype cli consolekit corefonts cracklib crypt cups custom-cflags cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gpm gstreamer iconv jack java jpeg jpeg2k kde lcms ldap libnotify lm_sensors lzma lzo mad md5sum mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd private-headers pulseaudio python qt3support qt4 quicktime readline sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora threads thumbnail tiff truetype type1 udev unicode usb v4l v4l2 vorbis webkit x264 xcb xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" NETBEANS_MODULES="profiler java harness ide websvccommon nb" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

2)
[ebuild   R   ] app-emulation/virtualbox-ose-3.2.12-r1  USE="additions alsa opengl pulseaudio python qt4 -headless -sdk -vboxwebsrv -vnc"           
Comment 4 Victor Beffers 2010-12-31 18:10:48 UTC
Created attachment 258546 [details]
emerge-log
Comment 5 Victor Beffers 2010-12-31 18:28:17 UTC
Created attachment 258547 [details]
build log of not succesfull compile (with python 3.1)
Comment 6 Victor Beffers 2011-01-18 11:52:10 UTC
Same problem with version 4.0.0-r1 !!!
Comment 7 Victor Beffers 2011-01-18 11:57:12 UTC
Solution ??
x11-apps/ccsm-0.8.4-r1 has the same bug.
In https://bugs.gentoo.org/show_bug.cgi?id=316983 there's a patch that works..
I suppose it should be easy to convert for virtualbox
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-22 15:16:19 UTC
*** Bug 359935 has been marked as a duplicate of this bug. ***
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-22 22:41:13 UTC
Alright guys, I worked on the problem but unfortunately the python.eclass which is needed to address this problem isn't ready for usage with EAPI-4 yet.
I added a fixed ebuild to poly-c overlay and as soon as the eclass is ready for EAPI-4 I will commit a fixed ebuild.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-05-08 17:15:39 UTC
*** Bug 366337 has been marked as a duplicate of this bug. ***
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-05-16 10:38:12 UTC
*** Bug 367511 has been marked as a duplicate of this bug. ***
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-06-16 09:42:15 UTC
*** Bug 371863 has been marked as a duplicate of this bug. ***
Comment 13 dE 2011-06-19 14:22:08 UTC
Don't you think it's an upstream issue? and if so, has anyone reported it?
Comment 14 Dennis Schridde 2011-07-12 08:33:08 UTC
Any news on it? The issue persists in app-emulation/virtualbox-4.0.10.
Comment 15 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-07-12 09:06:25 UTC
See comment #9

I'm still waiting for python.eclass becoming ready for EAPI-4
Comment 16 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-10-24 21:59:28 UTC
+  24 Oct 2011; Lars Wendler <polynomial-c@gentoo.org> virtualbox-4.0.12.ebuild,
+  virtualbox-4.1.2.ebuild, virtualbox-4.1.4.ebuild:
+  Forced python-2 on installation (bug #350237). Made the package's decription
+  the same as virtualbox-bin (bug #366305). Made pam support optional with
+  changes provided by René 'Necoro' Neumann (bug #376531). Added
+  vboxwebsrv<->java dependency to REQUIRED_USE (bug #382061).
+