Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375255 - dev-python/matplotlib-1.0.1-r1: fails to build on linux3
Summary: dev-python/matplotlib-1.0.1-r1: fails to build on linux3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 375257
Blocks:
  Show dependency tree
 
Reported: 2011-07-15 05:56 UTC by Robin Johnson
Modified: 2011-08-09 05:40 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-07-15 05:56:04 UTC
>>> Emerging (1 of 1) dev-python/matplotlib-1.0.1-r1
 * matplotlib-1.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                          [ ok ]
 * Package:    dev-python/matplotlib-1.0.1-r1
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        amd64 cairo elibc_glibc fltk gtk kernel_linux multilib qt4 tk userland_GNU
 * FEATURES:   ccache preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking matplotlib-1.0.1.tar.gz to /dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work
>>> Source unpacked in /dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work
>>> Preparing source in /dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1 ...
mv: cannot stat `/dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/sample_data': No such file or directory
 * Applying matplotlib-1.0.1-libpng15.patch ...                                                                                                     [ ok ]
 * Applying matplotlib-1.0.1-sphinx.patch ...                                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1 ...
>>> Source configured.
>>> Compiling source in /dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1 ...
 * Building of dev-python/matplotlib-1.0.1-r1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 36, in <module>
    from setupext import build_agg, build_gtkagg, build_tkagg, build_wxagg,\
  File "/dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1/setupext.py", line 176, in <module>
    basedirlist = basedir[sys.platform]
KeyError: 'linux3'
 * ERROR: dev-python/matplotlib-1.0.1-r1 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5196:  Called distutils_src_compile
 *   environment, line 1372:  Called python_execute_function 'distutils_building'
 *   environment, line 3565:  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.1-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/matplotlib-1.0.1-r1'.
 * The complete build log is located at '/var/log/portage/dev-python:matplotlib-1.0.1-r1:20110715-055209.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-python/matplotlib-1.0.1-r1/temp/environment'.
 * S: '/dev/shm/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1'

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

# emerge --info
Portage 2.2.0_alpha43 (default/linux/amd64/2008.0/developer, gcc-4.5.2, glibc-2.11.3-r0, 3.0.0-rc4-00161-g4699d44 x86_64)
=================================================================
System uname: Linux-3.0.0-rc4-00161-g4699d44-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 06 Jan 2011 04:35:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.6.7, 2.7.2, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            3.3.6-r1, 3.4.6-r2, 4.2.4-r1, 4.3.6, 4.4.5, 4.5.2
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.38 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo usr-local oss-overlay mysql overlay-dev-robbat2
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
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-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 -g"
DISTDIR="/home/gentoo/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles lmirror mirror multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/ rsync://mirror.the-best-hosting.net/gentoo-distfiles"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_CA en_GB en_ZA en_US en af"
MAKEOPTS="-j8 -l10"
PKGDIR="/home/gentoo/packages/bohr-int/"
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="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /code/layman/oss-overlay /code/gentoo/gentoo-git/mysql /code/gentoo/gentoo-git/robbat2"
SYNC=""
USE="a52 aac aalib acl acpi adns adplug agg aio alsa amd64 amr animgif ares arts audiofile audit avahi bash-completion berkdb bluetooth bonjour bzip2 cairo calendar cdaudio cdda cddb cdio cdparanoia cdr chardet chm clamav cli consolekit cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx d3d daap dbus dc1394 designer-plugin dia diskio djbfft djvu dri dts dv dvb dvd dvdr dvdread ebook emf encode exif expat fam ffmpeg fftw firefox flac fltk fontconfig foomaticdb fortran gd gdbm gdu geoip gif gimp glut gmp gnokii gnutls gps graphviz gsm gstreamer ical iconv id3tag idea ieee1394 imagemagick imlib inkjar ipod ipv6 jack java5 java6 javacomm jbig jingle jpeg jpeg2k lash lcms ldap libedit libgcrypt libnotify libsamplerate llvm lm_sensors logitech-mouse lzma lzo mad maildir mhash midi mikmod mmap mmx mng modplug modules mozilla mp3 mp3tunes mp4 mpeg mplayer mudflap multilib multitarget musepack nas ncurses nls nocd nptl nptlonly nsplugin offensive ofx ogg openal openexr opengl openmp openvg oss otr pam pango pccntl pch pcre pda pdf perl plotutils png policykit portaudio posix postscript povray ppds pulseaudio python qt3support quicktime raw rdesktop readline reflection rpc rss ruby savedconfig scanner sdl semantic-desktop session sid simplexml slp smp sms smux sndfile snmp sockets socks5 solver speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs syslog sysvipc taglib theora threads tidy tiff timidity truetype tta twolame udev unicode urandom usb v4l v4l2 vcd vcdx videos vim-syntax vnc vorbis vorbis-psy wavpack webkit wideband wifi wma wmf x264 xanim xattr xcb xcomposite xfs xine xinerama xinetd xml xorg xosd xpm xscreensaver xsl xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel usb-audio usb-usx2y ad1816a ad1848 ad1848-lib ad1889 serial-u16550 virmidi seq-dummy dummy" 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 asis auth_digest imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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 void wacom" KERNEL="linux" LCD_DEVICES="g15 glk graphlcd iowarrior ncurses null png ppm text usbhub usblcd X xosd" LINGUAS="en_CA en_GB en_ZA en_US en af" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev ati radeon v4l vga vesa radeonhd 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-07-25 14:13:14 UTC
The patch from https://github.com/matplotlib/matplotlib/commit/aaef94485cf71ed3181e0adc5577d1a8911f6544 fixes the problem.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2011-08-09 05:40:23 UTC
in cvs. thanks.