Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352191 - ImportError: libwx_gtk2ud_adv-2.8.so.0: cannot open shared object file: No such file or directory
Summary: ImportError: libwx_gtk2ud_adv-2.8.so.0: cannot open shared object file: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 01:43 UTC by John Watjen
Modified: 2011-01-21 22:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Watjen 2011-01-20 01:43:05 UTC
Latest matplotlib version cannot be emerged on my amd64 computer.

Reproducible: Always

Actual Results:  
Failed to emerge dev-python/matplotlib-1.0.0, Log file:

Expected Results:  
Successful emerge

Running under X11
Asus P6T WS Professional motherboard

 emerge --info =dev-python/matplotlib-1.0.0
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
Comment 1 John Watjen 2011-01-20 01:46:23 UTC
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.0.0
                python: 2.6.6 (r266:84292, Jan  9 2011, 18:11:42)  [GCC
                        4.4.4]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: 1.4.1
             freetype2: 12.1.6

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.4.3
              wxPython: no
                        * wxPython not found
Traceback (most recent call last):
  File "setup.py", line 168, in <module>
    import wx
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: libwx_gtk2ud_adv-2.8.so.0: cannot open shared object file: No such file or directory
 * ERROR: dev-python/matplotlib-1.0.0 failed:
 *   Building failed with CPython 2.6 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3524:  Called distutils_src_compile
 *   environment, line 1027:  Called python_execute_function 'distutils_building'
 *   environment, line 2132:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/matplotlib-1.0.0',
 * the complete build log and the output of 'emerge -pqv =dev-python/matplotlib-1.0.0'.
 * The complete build log is located at '/var/tmp/portage/dev-python/matplotlib-1.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-1.0.0/temp/environment'.
 * S: '/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0'

>>> Failed to emerge dev-python/matplotlib-1.0.0, Log file:

>>>  '/var/tmp/portage/dev-python/matplotlib-1.0.0/temp/build.log'

__________________________________________________
 emerge --info =dev-python/matplotlib-1.0.0
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r12-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.14
Timestamp of tree: Wed, 05 Jan 2011 01:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=k8 -O2 -pipe"
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://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx dbus debug* device-mapper dri extras fortran gdbm gdu gnome gpm gtk hal iconv ipv6 java kdrive lisp mmx modules motif mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pic png policykit pppd python readline session sqlite sse sse2 ssl static-libs sysfs tcpd unicode wxwidgets xcb xorg 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" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/matplotlib-1.0.0 was built with the following:
USE="cairo gtk (multilib) -doc -examples -excel -fltk -latex -qt4 -tk -traits -wxwidgets"

john@pc-black-64bit ~ $ emerge -pqv =dev-python/matplotlib-1.0.0
[ebuild   R   ] dev-python/matplotlib-1.0.0  USE="cairo gtk wxwidgets* -doc -examples -excel -fltk -latex -qt4 -tk -traits" 
_________________________________________________________________
sudo gedit /var/tmp/portage/dev-python/matplotlib-1.0.0/temp/build.log

[32;01m * [39;49;00mPackage:    dev-python/matplotlib-1.0.0
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: python@gentoo.org
[32;01m * [39;49;00mUSE:  amd64 cairo elibc_glibc gtk kernel_linux multilib userland_GNU wxwidgets
>>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Creating checksum index...
>>> Unpacking source...
>>> Unpacking matplotlib-1.0.0.tar.gz to /var/tmp/portage/dev-python/matplotlib-1.0.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/matplotlib-1.0.0/work
>>> Preparing source in /var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0 ...
 * Building of dev-python/matplotlib-1.0.0 with CPython 2.6...
python2.6 setup.py build -b build-2.6
basedirlist is: ['/usr/local', '/usr']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.0.0
                python: 2.6.6 (r266:84292, Jan  9 2011, 18:11:42)  [GCC
                        4.4.4]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: 1.4.1
             freetype2: 12.1.6

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.4.3
              wxPython: no
                        * wxPython not found
Traceback (most recent call last):
  File "setup.py", line 168, in <module>
    import wx
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
    from wx._core import *
  File "/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
    import _core_
ImportError: libwx_gtk2ud_adv-2.8.so.0: cannot open shared object file: No such file or directory
 [31;01m*[0m ERROR: dev-python/matplotlib-1.0.0 failed:
 [31;01m*[0m   Building failed with CPython 2.6 in distutils_building() function
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   56:  Called src_compile
 [31;01m*[0m   environment, line 3524:  Called distutils_src_compile
 [31;01m*[0m   environment, line 1027:  Called python_execute_function 'distutils_building'
 [31;01m*[0m   environment, line 2132:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m                       die "${failure_message}";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of 'emerge --info =dev-python/matplotlib-1.0.0',
 [31;01m*[0m the complete build log and the output of 'emerge -pqv =dev-python/matplotlib-1.0.0'.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/matplotlib-1.0.0/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-1.0.0/temp/environment'.
 [31;01m*[0m S: '/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0'
_____________________________________________
emerge -pqv =dev-python/matplotlib-1.0.0
[ebuild   R   ] dev-python/matplotlib-1.0.0  USE="cairo gtk wxwidgets* -doc -examples -excel -fltk -latex -qt4 -tk -traits"
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-01-20 02:22:23 UTC
emerge -pv wxGTK:2.8 wxpython:2.8
Comment 3 Rafał Mużyło 2011-01-20 02:23:57 UTC
I'd check 'eselect wxwidgets' first.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-01-20 02:32:27 UTC
eselect wxwidgets has no effect on programs built through portage.
Comment 5 John Watjen 2011-01-21 22:17:31 UTC
Sorry about my ignorance of proper Gentoo error resolution steps. Upon running 'revdep-rebuild', three packages (gnuplot, wxpython, and wxmaxima) were found to be broken. Once they were emerged, the problem was fixed.

Thank you for your help!
John