Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245901 - dev-python/wxpython-2.8.9.1-r1 - ld: cannot find -lwx_gtk2u_media-2.8
Summary: dev-python/wxpython-2.8.9.1-r1 - ld: cannot find -lwx_gtk2u_media-2.8
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 22:54 UTC by Frank Hollenbach
Modified: 2010-01-29 18:00 UTC (History)
1 user (show)

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


Attachments
Build log as requested (build.log,64.94 KB, text/plain)
2008-11-09 18:04 UTC, Frank Hollenbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hollenbach 2008-11-06 22:54:18 UTC
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
error: command 'powerpc-unknown-linux-gnu-g++' failed with exit status 1


Reproducible: Always

Steps to Reproduce:
1.emerge dev-python/wxpython

Actual Results:  
runs into build-error :
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
error: command 'powerpc-unknown-linux-gnu-g++' failed with exit status 1


Expected Results:  
well, build and avaiable ?

/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lwx_gtk2u_media-2.8
collect2: ld returned 1 exit status
error: command 'powerpc-unknown-linux-gnu-g++' failed with exit status 1
 *
 * ERROR: dev-python/wxpython-2.8.9.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2741:  Called die
 * The specific snippet of code:
 * python setup.py ${mypyconf} build || die "setup.py build failed"
 * The die message:
 * setup.py build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/wxpython-2.8.9.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/wxpython-2.8.9.1-r1/temp/environment'.
 *

>>> Failed to emerge dev-python/wxpython-2.8.9.1-r1, Log file:

>>>  '/var/tmp/portage/dev-python/wxpython-2.8.9.1-r1/temp/build.log'

 * Messages for package dev-python/wxpython-2.8.9.1-r1:

 *
 * ERROR: dev-python/wxpython-2.8.9.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2741:  Called die
 * The specific snippet of code:
 * python setup.py ${mypyconf} build || die "setup.py build failed"
 * The die message:
 * setup.py build failed

emerge info :

Portage 2.2_rc13 (default/linux/powerpc/ppc32/2008.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3 ppc)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-ppc-7455,_altivec_supported-with-glibc2.0
Timestamp of tree: Thu, 06 Nov 2008 20:06:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.3.6-r6, 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc ~ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://ftp.ankara.edu.tr/gentoo/ http://adelie.polymtl.ca/ ftp://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 arts bidi bitmap-fonts bzip2 cdr cgi chipcard cli cracklib crypt cups dbus dri dvd dvdread dvdwrite encode faad foomaticdb fortran gd gdbm gimp gpm gtk gtk2 gvlc iconv imlib ipv6 isdnlog kde kdeprefix kvlc matroska midi mudflap mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre pdf perl php png ppc ppds pppd python qt quotes readline reflection session soup spl ssl svg sysfs tcpd tk truetype unicode usb wxgtk1 wxwindows xorg xprint xulrunner xv zlib" ALSA_CARDS="usb-audio usb-usx2y" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati128 fbdev vesa radeon ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-11-07 19:06:50 UTC
can you attach the build log?
Comment 2 Mart Raudsepp gentoo-dev 2008-11-08 18:37:06 UTC
I guess we need a matching gstreamer USE flag on wxpython as wxGTK has?
Comment 3 Frank Hollenbach 2008-11-09 18:04:23 UTC
Created attachment 171208 [details]
Build log as requested
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2008-11-16 10:16:34 UTC
the thing is wxpython doesn't need wxMediaCtrl.  there are automatic fallbacks in media.i and media_wrap.cpp when it isn't available.  i get the same error as above when i rebuild wxGTK with USE="-gstreamer" and then emerge wxpython, but I also built it successfully just now by unmerging everything first.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-11-16 20:15:32 UTC
...and now i can't reproduce it.

it's worth a try.

emerge -C wxpython wxGTK
emerge -av wxpython
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2009-01-14 01:18:46 UTC
any luck?
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2010-01-29 18:00:59 UTC
please reopen if you can still reproduce this.