Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260446 - dev-python/matplotlib-0.98.5.2-r3 with USE=doc: documentation generation fails
Summary: dev-python/matplotlib-0.98.5.2-r3 with USE=doc: documentation generation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 21:17 UTC by Andrey Grozin
Modified: 2009-03-08 12:41 UTC (History)
1 user (show)

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


Attachments
emerge log (dev-python:matplotlib-0.98.5.2-r3:20090226-193059.log,463.12 KB, text/plain)
2009-02-26 21:19 UTC, Andrey Grozin
Details
emerge log (dev-python:matplotlib-0.98.5.2-r3:20090228-140748.log,760.78 KB, text/plain)
2009-02-28 15:35 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2009-02-26 21:17:10 UTC
Tried to emerge dev-python/matplotlib-0.98.5.2-r3 with +cairo +doc +fltk +gtk +latex +qt3 +qt4 +tk +wxwindows -examples -excel -traits and observed many interesting effects during documentation generation. There were quite a number of warnings with python backtraces, but this may be normal. An xv window appeared on my screen showing some graphic file from the working directory, and has not disappeared; I had to quit xv later by hand. Then latex started to process Matplotlib.tex, has not found some font, and called metafont. Here I got a sandbox violation:

kpathsea: Running mktextfm ecrm1095
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecr
m1095
This is METAFONT, Version 2.71828 (Web2C 7.5.5)

kpathsea: Running mktexmf ecrm1095
ACCESS DENIED  open_wr:   /var/cache/fonts/source/jknappen/ec/mf29105.tmp
/usr/bin/mktexmf: line 92: mf29105.tmp: Access denied

This is a *very* common situation, see the bugs #221921 and #223077. After that, latex said

! I can't find file `ecrm1095'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1095

Please type another input file name
?

and waited for my input. I pressed enter. After processing the whole file, pdftex wrote a few screens of messages like

! pdfTeX warning (dest): name{module-matplotlib.dates} has been referenced but
does not exist, replaced by a fixed one

(maybe, this is also, normal, don't know). Then I saw

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-28329.log"

open_wr:   /var/cache/fonts/source/jknappen/ec/mf29105.tmp
--------------------------------------------------------------------------------

And at this point emerge hanged - nothing happened anymore. In another window, I did ps and saw

27732 pts/5    00:01:27 emerge
28329 pts/5    00:00:00 sandbox <defunct>
28900 pts/5    00:00:00 sh
28901 pts/5    00:00:00 xv

(the last one is xv which showed something in a separate window). I had no choice other than press ctrl-c.

Reproducible: Always
Comment 1 Andrey Grozin gentoo-dev 2009-02-26 21:19:09 UTC
Created attachment 183303 [details]
emerge log
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-27 17:52:54 UTC
Should be fixed now in portage tree.
Thanks.
Comment 3 Andrey Grozin gentoo-dev 2009-02-28 15:35:56 UTC
Created attachment 183484 [details]
emerge log

Sorry, problems remain (see the log). There are a lot of error messages and warnings. Also:

1. There were a few LaTeX errors
! LaTeX Error: File `ucs.sty' not found.
From what package does this style come?

2. An xv window appears and remains. It says that it shows the file temp/tmphwXIdM which is a 440x360 ppm file, truecolor (24 bit mode). I don't think this is right. It seems it's in pylab-examples.

3. The most crucial. After
>>> Source compiled.
emerge hangs. Nothing happens anymore, no disk activity, load = 0. ps says
19549 pts/5    00:00:00 su
19552 pts/5    00:00:00 bash
19636 pts/5    00:00:13 emerge
20080 pts/5    00:00:00 sandbox <defunct>
20634 pts/5    00:00:00 sh
20635 pts/5    00:00:00 xv
Comment 4 Andrey Grozin gentoo-dev 2009-02-28 15:37:59 UTC
gdh-zimmer201 ~ # emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r1 i686)
=================================================================
System uname: Linux-2.6.25-tuxonice-r1-i686-Intel-R-_Pentium-R-_M_processor_1400MHz-with-glibc2.0
Timestamp of tree: Sat, 28 Feb 2009 13:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.4-r8, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O2 -march=pentium-m"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LANG="ru_RU.koi8r"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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"
PORTDIR_OVERLAY="/usr/local/layman/lisp /usr/local/layman/science /usr/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa bash-completion berkdb blas bluetooth boehm-gc branding browserplugin bzip2 cairo cdr cli cracklib crypt css cups curl dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo fam ffmpeg fftw firefox fltk fortran gd gdbm gif gmp gnome gpm gsl gstreamer gtk hal iconv imagemagick isdnlog jpeg kde lapack latex ldap leim libnotify mad midi mikmod mmx mozilla mp3 mpeg mudflap mule ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session speex spell spl ssl startup-notification svg sysfs tcl tcpd tetex tiff tk truetype umfpack unicode usb vcd vorbis win32codecs wxwindows x86 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-28 21:21:50 UTC
OK, I applied the patch to doc examples (which should have been a link) instead of regular examples, so the xv should not be a problem anymore.
Also ucs.sty is pulled in the latex dependency on the doc flag, so I don't understand why you hit this problem.
I also added graphviz dependency. Please test, and try to find out the error if you still encounter problems, I can't be much more help, I've tried a bunch of configs and they all worked.
Comment 6 Andrey Grozin gentoo-dev 2009-03-08 12:41:58 UTC
OK, I've upgraded teTeX-3 -> TeXLive-2008, and now I have ucs.sty. xv window does not appear, and emerge completes successfully. Closing.