Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487036 - dev-python/matplotlib-1.3.0 - src_compile(): .../work/matplotlib-1.3.0-python2_7/setupext.py: ImportError: No module named wx
Summary: dev-python/matplotlib-1.3.0 - src_compile(): .../work/matplotlib-1.3.0-python...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 487122 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-05 17:04 UTC by Paweł Rumian
Modified: 2013-12-16 22:09 UTC (History)
3 users (show)

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


Attachments
Build log (build.log,402.09 KB, text/plain)
2013-10-05 17:04 UTC, Paweł Rumian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Rumian 2013-10-05 17:04:55 UTC
Created attachment 360156 [details]
Build log

* Messages for package dev-python/matplotlib-1.3.0:

 * The ebuild phase 'compile' with pid 26043 appears to have left an orphan
 * process running in the background.
 * ERROR: dev-python/matplotlib-1.3.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4110:  Called distutils-r1_src_compile
 *   environment, line 1287:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  321:  Called python_parallel_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3877:  Called multibuild_parallel_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3032:  Called multibuild_foreach_variant '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2980:  Called _multibuild_run '_multibuild_parallel' '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2978:  Called _multibuild_parallel '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3023:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  780:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1278:  Called python_compile
 *   environment, line 3409:  Called wrap_setup 'distutils-r1_python_compile'
 *   environment, line 4754:  Called distutils-r1_python_compile 'build' '--build-lib=/tmp/portage/dev-python/matplotlib-1.3.0/work/matplotlib-1.3.0-python2_7/build/build/lib'
 *   environment, line 1188:  Called esetup.py 'build' 'build' '--build-lib=/tmp/portage/dev-python/matplotlib-1.3.0/work/matplotlib-1.3.0-python2_7/build/build/lib'
 *   environment, line 2085:  Called die
 * The specific snippet of code:
 *       "${@}" || die



# emerge --info '=dev-python/matplotlib-1.3.0::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.11.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.11.0-gentoo-x86_64-AMD_Athlon-tm-_II_X3_450_Processor-with-gentoo-2.2
KiB Mem:    16414464 total,   1836292 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 05 Oct 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local-repo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 bash-completion bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dri dts dvd dvdr emboss encode exif fam firefox flac fortran gif gpm iconv ipv6 jpeg lapack lcms mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png ppds python readline session smp spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis x264 xcb xml xmp xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="directory" 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="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC


# emerge -pqv =dev-python/matplotlib-1.3.0
[ebuild  rR   ] dev-python/pexpect-2.4-r1  USE="-doc -examples" PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6" 
[ebuild  rR   ] virtual/python-argparse-1  PYTHON_TARGETS="python2_7 python3_3 -pypy2_0 -python2_6 -python3_2" 
[ebuild  rR   ] dev-libs/boost-1.53.0  USE="nls python threads -debug -doc -icu -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 
[ebuild  rR   ] dev-python/decorator-3.4.0-r1  PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 
[ebuild  rR   ] dev-python/beaker-1.6.4-r1  USE="{-test}" PYTHON_TARGETS="python2_7 -python2_6 -python3_2" 
[ebuild  rR   ] dev-python/bsddb3-6.0.0  USE="-doc" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 
[ebuild  rR   ] media-gfx/graphviz-2.28.0  USE="X cairo nls python svg -devil -doc -examples -gtk -gts -java -lasi -perl -postscript -qt4 -ruby -static-libs -tcl" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 
[ebuild     U ] dev-python/matplotlib-1.3.0 [1.2.1] USE="cairo gtk latex -doc -examples -excel -fltk -gtk3 -qt4 {-test} -tk -wxwidgets" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2 (-python3_1%)" 
[ebuild  rR   ] dev-python/ipython-1.0.0  USE="matplotlib -doc -emacs -examples -mongodb -nbconvert -notebook -octave -qt4 -smp {-test} -wxwidgets" PYTHON_TARGETS="python2_7 python3_3 -python2_6 -python3_2" 
[ebuild  rR   ] media-libs/mesa-9.2.0  USE="egl gallium llvm nptl openvg xorg xvmc -bindist -classic -debug -gbm -gles1 -gles2 -opencl -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="r600 radeon (-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -radeonsi -vmware" 
[ebuild  rR   ] app-emulation/qemu-1.6.0-r1  USE="aio alsa caps curl fdt filecaps jpeg ncurses opengl png python sdl seccomp threads uuid vhost-net vnc -accessibility -bluetooth -debug -glusterfs -gtk -iscsi -mixemu -pulseaudio -rbd -sasl (-selinux) -smartcard -spice -static -static-softmmu -static-user -systemtap -tci {-test} -tls -usbredir -vde -virtfs -xattr -xen -xfs" PYTHON_TARGETS="python2_7 -python2_6" QEMU_SOFTMMU_TARGETS="i386 x86_64 -alpha -arm -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -alpha -arm -armeb -cris -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -unicore32"
Comment 1 lumbrius 2013-12-07 23:37:08 UTC
dirty workaround:
emerge -av wxpython && emerge matplotlib && emerge -C  wxpython
Comment 2 Mike Gilbert gentoo-dev 2013-12-08 02:39:08 UTC
From the log:

Traceback (most recent call last):
  File "setup.py", line 145, in <module>
    result = package.check()
  File "/tmp/portage/dev-python/matplotlib-1.3.0/work/matplotlib-1.3.0-python2_7/setupext.py", line 1581, in check
    wxversion.ensureMinimal('2.8')
  File "/usr/lib64/python2.7/site-packages/wxversion.py", line 209, in ensureMinimal
ImportError: No module named wx
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-12-12 12:24:08 UTC
*** Bug 487122 has been marked as a duplicate of this bug. ***
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-12-12 12:24:48 UTC
Is this reproducible with latest versions of 1.3.0 and 1.3.1?
Comment 5 Paweł Rumian 2013-12-15 21:12:06 UTC
1.3.1 builds without problems.
Comment 6 Kevin Meagher 2013-12-16 22:09:09 UTC
I can confirm that it works with the latest emerge --sync