Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392969 - www-plugins/gnash-0.8.9-r2[python] fails to build if system implementation is set to python-3
Summary: www-plugins/gnash-0.8.9-r2[python] fails to build if system implementation is...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 23:38 UTC by Andrius Štikonas
Modified: 2012-02-24 02:51 UTC (History)
0 users

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


Attachments
Build log (build.log,580.94 KB, text/plain)
2011-12-02 23:41 UTC, Andrius Štikonas
Details
ebuild patch (gnash.patch,762 bytes, patch)
2011-12-23 11:02 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2011-12-02 23:38:38 UTC
gnash-0.8.9-r2 fails to build with python use flag enabled.
It compiles fine with USE="-python"

Reproducible: Always




emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6500_@_2.10GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 02 Dec 2011 20:45:02 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
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.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo gentoo-guis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE qwt freemarker UbuntuFontLicense-1.0 wxWinFDL-3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="lt_LT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en lt"
MAKEOPTS="-j2"
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/gentoo-guis"
SYNC="rsync://rsync3.uk.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext R X a52 aac aacplus aacs aalib acl acpi addns addressbook aesicm aim aio alsa amd64 amr apache2 apng archive atmo auth autoipd autoreplace avahi bash-completion bazaar berkdb bindist bineditor bittorrent bl blender blender-game bluetooth bluray bogofilter bookmarks boost branding btrfs bugzilla bzip2 cairo cdda cddb cdr cgi chatzilla chm cjk cli clisp clucene cmake color colordiff connection-sharing consolekit contactnotes context cracklib crypt csharp css csv cups curl custom-optimization cvs cxx cyrillic d darcs dbus dc1394 declarative deflate designer designer-plugin desktopglobe dhclient dirac djvu doc docbook dot downloadorder dri drm dselect dts dvb dvd dvdr dvi dvi2tty dvipdfm dynamic ebook edit editor eigen emacs embedded emboss emovix enchant encode examples exif exiscan-acl expat extensions extra extra-algorithms extras fam fat fbcon festival ffmpeg fftw firefox fits flac fltk fluidsynth fontconfig fontforge foomaticdb fortran fortran95 fpx freetds freetts ftp fuse gallium games garmin gbm gcj gd gdbm gdm gdu gecko gecko-mediaplayer gensplash geoip geolocation ghcbootstrap gif gimp git gles glsl gmail gme gmp gnuplot gnutls go google-gadgets gpg gphoto2 gpm gps graphics graphite graphviz gs gsm gstreamer gtk gtkspell gzip handbook hdf5 hdri hfs highlight history html hunspell i18n iconv icq icu id3tag ieee1394 imagemagick imap inkjar iodbc iplayer ipod ipv6 irc jabber jack jadetex java javascript jingle jit jpeg jpeg2k kate kde kerberos kipi kolab kontact kpathsea lame lapack laptop lastfm latex latex3 lcms ldap lensfun libass libcaca libkms libmms libnl libnotify libproxy libsamplerate libssh2 libtiger libv4l2 llvm lm_sensors lpsol lua luatex lyrics lyx lzma lzo mad magic magnetgenerator maildir mapnik math mathml matplotlib matroska md5sum mdnsresponder-compat mediaplayer melt mercurial metalink midi mikmod mms mmx mmxext mng modplug modules mono monolithic monolithic-build monotone mp3 mp4 mpeg mpg123 mplayer mpx msn mtp mudflap multilib multitarget musepack music musicbrainz mysql mythtv nat native native-exceptions ncurses network networkmanager nls nodrm nowlistening nptl nptlonly nsplugin ntfs ntfsprogs ntp objc objc++ objc-gc ocean octave ods ogg ogg123 ogm okteta okular omega openal openexr opengl openid openldap openmp openstreetmap openvg optimization optimized-qmake orc origin oscar otr packagekit pam pango passfile pcap pcmcia pcntl pcre pdf pdfannotextractor pdfimport perl phonon php plasma player png pnm policykit postgres postproc ppds pppd prediction preview-latex privacy private-headers projectm ps psf pstoedit pstricks pth publishers pulseaudio python qalculate qml qt3support qt4 qthelp qtscript quicktime quota qwt radio radius raster raw rdesktop readline realtime resolvconf rss rtmp rtsp ruby samba sandbox sasl sbcl scanner schroedinger science script sdk sdl search secure-delete semantic-desktop sensord server session sftp sha512 shared-dricore shared-glapi sharedext skins smime soap sockets socks5 solver sound soundtouch sparse speech speex spell sqlite srt srtp sse sse2 sse3 sse4 ssh ssl ssse3 stars startup-notification statistics strong-optimization stun subversion suhosin supernodal svg symlink sysfs syslog system-sqlite system-v8 taglib tcpd telepathy templates terminal tesseract tex4ht texteffect themes theora thesaurus threads thumbnail thumbnails tidy tiff timidity tk tntc tor tordns translator truetype twolame udev umfpack unicode unlock-notify unzip upnp usb v4l v8 vaapi vamp vcd vdpau verse vhosts video videos vim vim-syntax vlc vorbis vpx wav wavpack webcam webdav webkit webm wifi wikipedia wimax win32 wmf wxwidgets x264 xcb xcomposite xetex xfs xft xinerama xml xmlrpc xmlwriter xmp xorg xpm xrandr xrender xscreensaver xulrunner xv xvid xvmc youtube zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs plymouth caps" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en lt" NETBEANS_MODULES="ide nb php harness websvccommon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrius Štikonas 2011-12-02 23:41:23 UTC
Created attachment 294551 [details]
Build log
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-12-03 03:02:57 UTC
> checking for python... /usr/bin/python
> checking for python version... 3.1

looks like you have python 3.1 eselected
Comment 3 gentoo 2011-12-03 09:16:21 UTC
Same bug here. gnash fails to emerge when Python 3.1 is selected with eselect.
The bug was already in the previous gnash ebuild, 0.8.8. A workaround is to disable the python USE flag.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-12-03 09:22:51 UTC
This is a general python3 problem, not specific to 3.2.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-12-12 09:29:46 UTC
disabling the python use flag is kind of throwing the baby out with the bath water.  Many packages don't emerge on eselected python3.  Just eselect python2 for now.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2011-12-23 11:02:52 UTC
Created attachment 296737 [details, diff]
ebuild patch

On second thoughts, to implement the obvious
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-02-24 02:51:10 UTC
Fixed in CVS.