dev-python/matplotlib-0.99.1.1 emerge with USE="doc" fails on an amd64 system if I have wxpython:2.6 installed but don't have USE="wxwidgets" enabled. It succeeds if (1) no version of wxpython is present, or (2) wxpython:2.6 and wxpython:2.8 are both present. (Maybe it would also work with only wxpython:2.8 installed as well? didn' try.) See attached log from a system with only wxpython:2.6 installed (depended on by, e.g., bittorrent without the wxwidgets USE flag). Doc generation gets entirely stuck when it ends up in Pdb console waiting for interactive input (Pdb == Python debugger?). I was going to suggest simply adding wxpython:2.8 dependency to the "doc?" deps section, but actually that would be wrong as well, since emerging with absolutely no wxpython versions installed seems to pass as well. So maybe something like this would work: DEPEND="doc? ( ... other deps ... || ( !dev-python/wxpython:2.6 dev-python/wxpython:2.8 ) ... other deps ... )"
Created attachment 211456 [details] build.log Ends with the interactive prompt, to which I entered CTRL+C to get out.
# emerge --info Portage 2.2_rc50 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-1.12.13 Timestamp of tree: Fri, 27 Nov 2009 11:45:02 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8-sse3 -mfpmath=sse -msse3 -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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8-sse3 -mfpmath=sse -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en fi" MAKEOPTS="-j2" 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/java-overlay /home/avalon/devel/ownportage /usr/portage/local/layman/science /usr/portage/local/layman/kde-testing /usr/portage/local/layman/sunrise" SYNC="rsync://192.168.0.1/gentoo-portage" USE="3dnow 3dnowext R X X509 a52 aac aalib abiword accessibility acl acpi ada agg akode akonadi alsa amd64 amd64codecs animgif ao aotuv apache2 apm assistant atmo audiofile avahi berkdb bidi bittorrent bl blas bluetooth bonjour boost bzip2 cairo caps cdaudio cdda cdio cdparanoia cdr chm clearcase cli consolekit corba cpudetection cracklib crypt css cuda cups curl cvs cxx daap dbus dc1394 dga dia dirac directfb djvu dmx docbook dot dri dts dv dvb dvd dvdr dvdread dvi ebook eds elf enca encode exif expat faac faad fam fame ffmpeg fftw firefox flac fluidsynth fontconfig fontforge fortran fpx ftp fuse gadu galago gcrypt gd gdbm ggi gif gimp git glib glitz gmp gnome-keyring gnuplot gnutls gphoto2 gpm gps graphviz groupwise gs gsf gsm gstreamer gtk guile gzip hal haskell hdri hlapi html ical iconv icu id3tag ieee1394 imagemagick imap imlib ipv6 irc irda jabber jack jai java java6 javascript jbig jimi jingle joystick jpeg jpeg2k kate kde kerberos keyring kipi kpathsea ladspa lame lapack lash lasi latex lcms ldap libass libcaca libnotify libproxy libsamplerate libtiger libv4l2 libwww lm_sensors log4j logrotate loop-aes lua lyx lzma lzo mad madwifi matroska mbrola md5sum meanwhile mikmod mime mjpeg mmap mmx mmxext mng modplug modules mono moonlight mp2 mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack mysql mzscheme nas ncurses nemesi netjack netmeeting netpbm networkmanager nfs nls nntp nptl nptlonly nsplugin nuv objc objc++ objc-gc ocaml octave odbc ogg openal opencore-amr openct openexr opengl openmp oscar oss otr pam pango pascal pcre pda pdf perforce perl phonon pkcs11 plasma plotutils png pnm policykit pop portaudio postgres postscript povray pppd pvr python qq qt3 qt3support qt4 quicktime radio radius rar raw rcs rdesktop rdp readline redland reflection rle rss rtf ruby samba sametime sasl scanner schroedinger sdl sdl-image seamonkey semantic-desktop servletapi session shout silc slang slp smartcard sms sndfile soap socks5 sound speex spell spl sql sqlite sqlite3 sse sse2 sse3 ssh ssl stream subversion svg swig sysfs syslog szip taglib tcl tcpd teletext tetex tga theora threads tiff timidity tk transmitter truetype twolame udev unicode upnp usb v4l v4l2 vcd vcdinfo vcdx vdpau vdr vga vnc vorbis vorbis-psy wavpack webdav webkit wifi winpopup wlm wma wmf x264 xanim xforms xine xml xmlpatterns xmp xorg xpm xprint xrandr xscreensaver xsl xslt xulrunner xv xvid xvmc yahoo yv12 zephyr zeroconf ziffy zip zlib zoran zvbi" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fi" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="dummy intel nv nvidia v4l vesa virtualbox" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 293494 has been marked as a duplicate of this bug. ***
Created attachment 211686 [details] build.log dev-python/matplotlib-0.99.1.1 with USE=doc fails for me (both with +wxwidgets and -wxwidgets). Symptoms are not the same as in the build.log by the original reporter. So, this may be some unrelated problem.
Created attachment 215312 [details] emerge --info, build and sandbox logs Emerging dev-python/matplotlib-0.99.1.1 USE="cairo doc examples excel latex qt4* tk wxwidgets -fltk -gtk -traits (-qt3%)" fails with access violations, emerge-info, build and sandbox logs attached. Not sure if this problem is related to OP's.
After reemerging dev-python/sphinx-0.6.3 the issue disappeared for me.
I have to correct. The reemerging of sphinx helped me in several but one case. In the case of exception 'emerge -v1 matplotlib' comes until: ... reading sources...[ 17%] examples/api/line_with_text reading sources...[ 17%] examples/api/logo2 /var/tmp/portage/dev-python/matplotlib-0.99.1.1/work/matplotlib-0.99.1.1/build/lib.linux-i686-2.6/matplotlib/projections/polar.py:187: UserWarning: The resolution kwarg to Polar plots is now ignored. If you need to interpolate data points, consider running cbook.simple_linear_interpolation on the data before passing to matplotlib. cbook.simple_linear_interpolation on the data before passing to matplotlib.""") Building HTML failed. Running Sphinx v0.6.4 WARNING: extension 'math_symbol_table' has no setup() function; is it really a Sphinx extension module? loading pickled environment...not found animation, api, axes_grid, event_handling, misc, mplot3d, pngsuite, pylab_examples, tests, units, user_interfaces, widgets, building [html]: targets for 466 source files that are out of date updating environment: 466 added, 0 changed, 0 removed reading sources...[ 0%] api/afm_api reading sources...[ 0%] api/api_changes If 'emerge matplotlib' works, I get reading sources...[ 17%] examples/api/line_with_text reading sources...[ 17%] examples/api/logo2 /var/tmp/portage/dev-python/matplotlib-0.99.1.1/work/matplotlib-0.99.1.1/build/lib.linux-i686-2.6/matplotlib/projections/polar.py:187: UserWarning: The resolution kwarg to Polar plots is now ignored. If you need to interpolate data points, consider running cbook.simple_linear_interpolation on the data before passing to matplotlib. cbook.simple_linear_interpolation on the data before passing to matplotlib.""") reading sources...[ 17%] examples/api/mathtext_asarray reading sources...[ 17%] examples/api/patch_collection
The success of emerge matplotlib seems to be depending on gcc version or on the gcc-version use for emerging of some libraries. I have a system with selected i686-pc-linux-gnu-4.3.4, where I could and can succesfully emerge matplotlib with doc USE flag. If I switch to i686-pc-linux-gnu-4.4.2 I can not emerge matplotlib with doc USE flag. Which libraries should should be reemerge after switching gcc version?
I would like to add to comment 7, that on the computer where 'emerge maplotlib' with doc USE failed, this happens also after 'emerge -e system'.
I can not reproduce this bug on ~amd64. Could one of the x86 team try it out? Thanks
Cannot reproduce on x86 either.
(In reply to comment #10) > I can not reproduce this bug on ~amd64. Could one of the x86 team try it out? (In reply to comment #11) > Cannot reproduce on x86 either. Closing then.