Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307881 - dev-python/matplotlib-0.99.1.1-r1 fails to emerge because of missing Matplotlib.pdf
Summary: dev-python/matplotlib-0.99.1.1-r1 fails to emerge because of missing Matplotl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 12:38 UTC by Juergen Rose
Modified: 2010-05-31 20:26 UTC (History)
5 users (show)

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


Attachments
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/temp/build.log (build.log,119.59 KB, text/plain)
2010-03-05 12:40 UTC, Juergen Rose
Details
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/temp/build.log (build.log,119.59 KB, text/plain)
2010-03-05 12:41 UTC, Juergen Rose
Details
Build log from stable amd64 system (dev-python:matplotlib-0.99.1.1:20100327-170209.log,82.38 KB, text/plain)
2010-03-27 18:47 UTC, Mark Purtill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-03-05 12:38:58 UTC
'emerge -v matplotlib' fails with:
...
copying build-2.6/lib.linux-i686-2.6/pylab.py -> /var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/image/usr/lib/python2.6/site-packages
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
Writing /var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/image/usr/lib/python2.6/site-packages/matplotlib-0.99.1.1-py2.6.egg-info
install: cannot stat `doc/build/latex/Matplotlib.pdf': No such file or directory
!!! doins: doc/build/latex/Matplotlib.pdf does not exist
 * ERROR: dev-python/matplotlib-0.99.1.1-r1 failed:
 *   (no error message)


Reproducible: Always




root@tiger:/root(28)# emerge --info =dev-python/matplotlib-0.99.1.1-r1
Portage 2.1.8.1 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.32.6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32.6-i686-Intel-R-_Pentium-R-_4_CPU_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 05 Mar 2010 06:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
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/science /var/lib/layman/java-overlay /var/lib/layman/zugaina /var/lib/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac abiword acl acpi administrator afs alsa ao aotuv apache2 applet archive arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion beagle berkdb blas blast bluetooth boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cdrkit cg cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbase dbi dbm dbus designer devhelp device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi eds elf emacs emboss empathy encode epiphany esd evo examples exif expat extensions extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gcj gd gdal gdbm geolocation geos gif gimp ginac git glade glib glitz gml gmp gmtsuppl gnokii gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk guile hal harness hddtemp hdf hdf5 hdri hlapi http httpd iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kde kdrive kerberos kexi kpathsea kqemu ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper mapnik math matroska mikmod mkl mmx mmxext mng modules mono moonlight motif mozdevelop mozilla mp3 mp4 mpeg mplayer mtp mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qhull qt3support qt4 quicktime readline reflection reiserfs rle rpc rrdcgi rrdtool samba sasl science sdl secure-delete semantic-desktop server session sip slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora threads thunar thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit win32codecs wmf wxwidgets x264 x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="via82xx" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10045 tda10046lifeview" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="mga vesa via openchrome" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



root@tiger:/root(29)# emerge -pqv =dev-python/matplotlib-0.99.1.1-r1

[ebuild     U ] dev-python/matplotlib-0.99.1.1-r1 [0.99.1.1] USE="cairo doc* examples fltk gtk latex qt4 tk wxwidgets -excel -traits" 


I reemerged dev-python/imaging and dev-python/sphinx, did a revdep-rebuild, but it did not help.
root@tiger:/root(35)# genlop -t sphinx | tail -n3
     Fri Mar  5 13:03:22 2010 >>> dev-python/sphinx-0.6.5
       merge time: 3 minutes and 59 seconds.

root@tiger:/root(36)# genlop -t imaging | tail -n3
     Fri Mar  5 11:51:30 2010 >>> dev-python/imaging-1.1.7
       merge time: 4 minutes and 19 seconds.
Comment 1 Juergen Rose 2010-03-05 12:40:37 UTC
Created attachment 222165 [details]
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/temp/build.log
Comment 2 Juergen Rose 2010-03-05 12:41:24 UTC
Created attachment 222167 [details]
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/temp/build.log
Comment 3 Thomas Beierlein gentoo-dev 2010-03-05 15:39:00 UTC
Works here on stable amd64 chroot.
Comment 4 Thomas Beierlein gentoo-dev 2010-03-06 05:47:55 UTC
Checked also on unstable amd64 chroot. Works also without problems. 

In both cases I used the same use flags as in the error report.
Comment 5 Juergen Rose 2010-03-07 13:09:07 UTC
I don't have problems to emerge matplotlib-0.99.1.1-r1
on amd64 systems. Only at least on three i686 systems I get the error with the missing Matplotlib.pdf. 
Comment 6 Juergen Rose 2010-03-07 14:37:27 UTC
Could it be that the reason for this issue is the same as for Bug#: 303841 and Bug# 303189?
Comment 7 Thomas Beierlein gentoo-dev 2010-03-07 20:31:17 UTC
In teh other bugs you got segfaults, not here. So maybe it is something different.
Did some more checks on x86 in meantime...

Checked on (mostly) stable x86 - no problems.
Upgraded to texlive-2009 - no problems. 

(Both tests until now with only USE=doc to keep compiletime short).
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2010-03-15 04:33:12 UTC
Did it end up working after the rebuilding of app-text/poppler,
app-text/texlive-core, dev-tex/luatex?
Comment 9 Juergen Rose 2010-03-15 15:28:31 UTC
'emerge matplotlib' still fails, at least on two of three i686 systems. The third system I can test tomorrow.


Comment 10 Mark Purtill 2010-03-27 18:47:29 UTC
Created attachment 225473 [details]
Build log from stable amd64 system

I'm having the same problem on a stable x86_64 system.  Rebuilding app-text/poppler, app-text/texlive-core, dev-tex/luatex, dev-python/imaging and dev-python/sphinx and doing redep-rebuild didn't help.  Build log attached.

% emerge --info =dev-python/matplotlib-0.99.1.1
Portage 2.1.7.17 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)                                                        
=================================================================               
                        System Settings                                         
=================================================================               
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1                                                       
Timestamp of tree: Sat, 27 Mar 2010 02:45:01 +0000                              
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                       
ccache version 2.4 [enabled]                                                    
app-shells/bash:     4.0_p35                                                    
dev-java/java-config: 2.1.10                                                    
dev-lang/python:     2.5.4-r3, 2.6.4-r1                                         
dev-python/pycrypto: 2.0.1-r8                                                   
dev-util/ccache:     2.4-r7                                                     
dev-util/cmake:      2.6.4-r3                                                   
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.6.1-r1                                                   
sys-apps/sandbox:    1.6-r2                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3                  
sys-devel/binutils:  2.18-r3                                                    
sys-devel/gcc:       4.1.2, 4.3.4                                               
sys-devel/gcc-config: 1.4.1                                                     
sys-devel/libtool:   2.2.6b                                                     
virtual/os-headers:  2.6.30-r1                                                  
ACCEPT_KEYWORDS="amd64"                                                         
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL"                                          
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-march=core2 -ggdb -O2 -pipe"                                           
CHOST="x86_64-pc-linux-gnu"                                                     
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /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/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=core2 -ggdb -O2 -pipe"                                         
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="assume-digests buildpkg ccache distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                         
GENTOO_MIRRORS="ftp://buurin/old-distfiles ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://lug.mtu.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://130.208.16.26/pub/gentoo/"   
LANG="en_US.UTF-8"                                                              
LDFLAGS="-Wl,-O1"                                                               
LINGUAS="en_US en ja_JP ja"                                                     
MAKEOPTS="-j5 -l16"                                                             
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/layman/sunrise /usr/local/portage/layman/gentoo-ubuntu-one /usr/local/portage/layman/kde-sunset /usr/local/portage/layman/kde /usr/local/portage/layman/wirelay /usr/local/portage"                         
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"                         
USE="CJK X Xaw3d a52 aac aalib acl acpi alsa amd64 anthy bbdb berkdb blender bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus doc dri dts dvd dvdr emacs emboss encode esd fam ffmpeg firefox flac fontconfig fortran freewnn gdbm gif gimp gnome gpm graphviz gstreamer gtk hal iconv imagemagick immqt-bc ipv6 jadetex java java6 joystick jpeg kde kdehiddenvisibility ldap libnotify lm_sensors mad maildir matroska mbox mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap mule multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl pic png ppds pppd python qt3support qt4 quicktime readline reflection ruby scanner sdl session speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vcd vorbis wmf x264 xine xinerama xml xorg xulrunner xv xvid xvmc 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 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en ja_JP ja" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Juergen Rose 2010-04-13 08:48:41 UTC
Three weeks later, 'emerge matplotlib' still fails on at least three i686 unstable systems. Is there any workaround?
Comment 12 Juergen Rose 2010-04-25 09:52:17 UTC
Almost two weeks later, any news regarding emerging matplotlib with doc USE flag for i686 computers?
I found that removing the doc flag for i686 systems works as a workaround for me.
Comment 13 Juergen Rose 2010-05-14 12:57:09 UTC
After libpng update to 1.4.2 dev-python/matplotlib-0.99.1.1-r1 fails to install
again for all systems, i.e. also for x86_64 systems, because of missing Matplotlib.pdf

emerge matplotlib
...
copying build-2.6/lib.linux-x86_64-2.6/pylab.py ->
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/image/usr/lib64/python2.6/site-packages
warning: install_lib: byte-compiling is disabled, skipping.
running install_egg_info
Writing
/var/tmp/portage/dev-python/matplotlib-0.99.1.1-r1/image/usr/lib64/python2.6/site-packages/matplotlib-0.99.1.1-py2.6.egg-info
install: cannot stat `doc/build/latex/Matplotlib.pdf': No such file or
directory
!!! doins: doc/build/latex/Matplotlib.pdf does not exist
 * ERROR: dev-python/matplotlib-0.99.1.1-r1 failed:

I reinstalled numpy, app-text/poppler, texlive-core, luatex,
dev-python/imaging,
sphinx, but it did not help.

root@moose:/home/rose(223)# qlist -Iv numpy app-text/poppler texlive-core 
luatexdev-python/imaging dev-python/sphinx
app-text/poppler-0.12.4-r3
app-text/poppler-data-0.4.2
app-text/texlive-core-2009-r1
dev-python/numpy-1.4.1
dev-python/sphinx-0.6.5
Comment 14 Howard B. Golden 2010-05-15 21:05:53 UTC
(In reply to comment #13)
> After libpng update to 1.4.2 dev-python/matplotlib-0.99.1.1-r1 fails to install

I have the same experience. As a workaround for now, I'm commenting out the ebuild's doins command that refers to the missing Matplotlib.pdf
Comment 15 Sébastien Fabbro (RETIRED) gentoo-dev 2010-05-31 20:26:21 UTC
+*matplotlib-0.99.1.1-r2 (31 May 2010)
+
+  31 May 2010; Sébastien Fabbro <bicatali@gentoo.org>
+  +matplotlib-0.99.1.1-r2.ebuild, +files/matplotlib-0.99.1.1-docs.patch,
+  +files/matplotlib-0.99.1.1-eintr.patch,
+  +files/matplotlib-0.99.1.1-gtk-tooltip.patch,
+  files/matplotlib-0.99.1.1-libpng14.patch:
+  Added a few useful patches from upstream. Now use default config before
+  documentation generation (fix bug #307881). Cleaning some dependencies,
+  and allow png-1.4 patch to work with previous versions too