Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522840 - dev-python/matplotlib-1.4.0 - ? hangs during src_compile() (parallel make?)
Summary: dev-python/matplotlib-1.4.0 - ? hangs during src_compile() (parallel make?)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 543914
Blocks:
  Show dependency tree
 
Reported: 2014-09-15 07:36 UTC by Juergen Rose
Modified: 2015-11-12 10:17 UTC (History)
9 users (show)

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


Attachments
einfo for matplotlib-1.4.2 (matplotlib-1.4.2-einfo.txt,6.20 KB, text/plain)
2015-03-09 10:46 UTC, Thomas Juerges
Details
emerge output matplotlib-1.4.2 (matplotlib-1.4.2-emerge.txt,3.67 KB, text/plain)
2015-03-09 10:46 UTC, Thomas Juerges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2014-09-15 07:36:37 UTC
At the first system I cancelled 'emerge matplotlib' after 8 hours. At the second system 'emerge matplotlib' it is busy for more than one hour where it needs usually three minutes:

root@impala:/root(48)# genlop -c

 Currently merging 1 out of 1

 * dev-python/matplotlib-1.4.0 

       current merge time: 1 hour, 22 minutes and 52 seconds.
       ETA: any time now.

root@impala:/root(49)# genlop -t matplotlib | tail

     Mon Dec  2 15:32:52 2013 >>> dev-python/matplotlib-1.3.0
       merge time: 3 minutes and 24 seconds.

     Mon Dec 16 12:57:36 2013 >>> dev-python/matplotlib-1.3.1
       merge time: 3 minutes and 26 seconds.

     Sat Jun 21 08:42:47 2014 >>> dev-python/matplotlib-1.3.1
       merge time: 3 minutes and 48 seconds.

root@impala:/root(50)# emerge --info =dev-python/matplotlib-1.4.0
Portage 2.2.12 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.1-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:     8164808 total,    146708 free
KiB Swap:   50331640 total,  49385696 free
Timestamp of tree: Mon, 15 Sep 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo science sunrise sage-on-gentoo x11 x-portage g-cpan g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage_impala"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/sage-on-gentoo /var/lib/layman/x11 /usr/local/portage /var/lib/cpan /var/lib/g-octave"
USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac accessibility acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli cmake consolekit cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fuse g3dvl gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 ithreads jabber jadetex java java6 jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libkms libnotify libsamplerate live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nntp nptl nsplugin ntfs ntp numpy nvidia obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse4 sse4a ssl stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus threads thunderbird tidy tiff tk tools truetype udev udisks unicode usb utempter v4l vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="caps lvm mdraid 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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, SYNC, USE_PYTHON
Comment 1 Juergen Rose 2014-09-15 07:37:55 UTC
The last output of 'emerge matplotlib' is:
...
REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.8.2]
                   six: yes [using six version 1.7.3]
              dateutil: yes [using dateutil version 2.2]
               tornado: yes [using tornado version 4.0.1]
             pyparsing: yes [using pyparsing version 2.0.2]
                 pycxx: yes [Official versions of PyCXX are not compatible
                        with Python 3.x.  Using local copy]
                libagg: yes [Requires patches that have not been merged
                        upstream. Using local copy.]
              freetype: yes [version 2.5.3]
                   png: yes [version 1.6.13]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [using nose version 1.3.4 / using unittest.mock]
        toolkits_tests: yes [using nose version 1.3.4 / using unittest.mock]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
Comment 2 Juergen Rose 2014-09-15 07:40:30 UTC
The following matplotlib related processes are running:

root@impala:/root(55)# ps -ef | grep  matplotlib
root      4212  1762  0 09:39 pts/6    00:00:00 grep --colour=auto matplotlib
portage  19764 17136  0 08:17 pts/2    00:00:00 [dev-python/matplotlib-1.4.0] sandbox /usr/lib64/portage/bin/ebuild.sh compile
portage  19812 19783  0 08:17 pts/2    00:00:00 tee -a /var/tmp/portage/dev-python/matplotlib-1.4.0/temp/build-python3_3.log
portage  19818 19783  0 08:17 pts/2    00:00:00 tee -a /var/tmp/portage/dev-python/matplotlib-1.4.0/temp/build-python2_7.log
portage  19964 19817  0 08:17 pts/2    00:00:08 /usr/bin/python3.3 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib
portage  19966 19825  0 08:17 pts/2    00:00:07 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
portage  20032 19966  0 08:17 pts/2    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
portage  20033 19966  0 08:17 pts/2    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
portage  20034 19966  0 08:17 pts/2    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
portage  20035 19966  0 08:17 pts/2    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
portage  20052 19964  0 08:17 pts/2    00:00:00 /usr/bin/python3.3 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib
portage  20053 19964  0 08:17 pts/2    00:00:00 /usr/bin/python3.3 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib
portage  20054 19964  0 08:17 pts/2    00:00:00 /usr/bin/python3.3 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib
portage  20055 19964  0 08:17 pts/2    00:00:00 /usr/bin/python3.3 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib
Comment 3 Juergen Rose 2014-09-15 08:39:15 UTC
BTW., the strange thing is, that if I kill all processes of Comment 2, it seems that the running 'emerge matplotlib' comes successfully upto the end. At least the next 'emerge -uvDN world' does not want to emerge matplotlib.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-15 15:56:43 UTC
But can you reproduce it?
Comment 5 David Kredba 2014-09-15 18:09:25 UTC
I reproduced it now on two machines. One svn gcc-4.9.2, one gcc-4.8.3.

When Ctr+C pressed it wrote:

find: „/usr/bin/pngfix“ killed by signal 13
find: „/usr/bin/pngfix“ killed by signal 13
find: „/usr/bin/pngfix“ killed by signal 13

(Ther is pngfix present in system (-rwxr-xr-x 1 root root 43288 30. srp 14.46 /usr/bin/pngfix).

I was not lucky with killing those python processes, it not continued for me but crashed.
Comment 6 Juergen Rose 2014-09-15 18:50:59 UTC
(In reply to Jeroen Roovers from comment #4)
> But can you reproduce it?

I had effect at two systems. A subsequent 'MAKEOPTS=-j1 emerge -v1 matplotlib' also worked at both systems.
Comment 7 Juergen Rose 2014-09-16 19:51:38 UTC
Now it happens on the third system:

root@lynx2:/usr/local/portage/app-pda(33)# genlop -c

 Currently merging 3 out of 3

 * dev-python/matplotlib-1.4.0 

       current merge time: 1 day, 16 hours, 51 minutes and 58 seconds.
       ETA: any time now.
root@lynx2:/usr/local/portage/app-pda(34)# ps -ef | grep matplotlib
root      2175 16218  0 21:33 pts/0    00:00:00 grep --colour=auto matplotlib
portage  25496 15460  0 Sep15 ?        00:00:00 [dev-python/matplotlib-1.4.0] sandbox /usr/lib64/portage/bin/ebuild.sh compile
portage  25550 25515  0 Sep15 ?        00:00:00 tee -a /var/tmp/portage/dev-python/matplotlib-1.4.0/temp/build-python2_7.log
portage  25672 25557  0 Sep15 ?        00:01:56 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4
portage  25719 25672  0 Sep15 ?        00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4
portage  25720 25672  0 Sep15 ?        00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4

root@lynx2:/usr/local/portage/app-pda(35)# kill  25496   25550 25672 25719 25720
root@lynx2:/usr/local/portage/app-pda(36)# ps -ef | grep matplotlib
root      2296 15460  0 21:41 ?        00:00:00 [dev-python/matplotlib-1.4.0] sandbox /usr/lib64/portage/bin/ebuild.sh install
root      2351  2314  0 21:41 ?        00:00:00 tee -a /var/tmp/portage/dev-python/matplotlib-1.4.0/temp/build-python2_7.log
root      2468  2358  4 21:41 ?        00:00:02 /usr/bin/python2.7 setup.py install --root=/var/tmp/portage/dev-python/matplotlib-1.4.0/image/
root      2855 16218  0 21:43 pts/0    00:00:00 grep --colour=auto matplotlib
root@lynx2:/usr/local/portage/app-pda(37)# ps -ef | grep matplotlib
root     14968 16218  0 21:48 pts/0    00:00:00 grep --colour=auto matplotlib
root@lynx2:/usr/local/portage/app-pda(38)# emerge -pvD matplotlib

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/matplotlib-1.4.0  USE="cairo examples fltk gtk gtk3 latex qt4 tk wxwidgets -doc -excel -pyside {-test}" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2014-09-17 08:52:58 UTC
(In reply to Juergen Rose from comment #1)
>                  qhull: yes [pkg-config information for 'qhull' could not be
>                         found. Using local copy.]

which qhull version do you have installed?
Comment 9 Juergen Rose 2014-09-17 12:47:28 UTC
(In reply to Justin Lecher from comment #8)
> (In reply to Juergen Rose from comment #1)
> >                  qhull: yes [pkg-config information for 'qhull' could not be
> >                         found. Using local copy.]
> 
> which qhull version do you have installed?

I have installed "media-libs/qhull-2012.1-r1". BTW, on the third system als "MAKEOPTS=-j1 emerge -v1 matplotlib" hangs

x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -fno-strict-aliasing /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/src/mplutils.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/src/agg_py_transforms.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/src/_backend_agg.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_bezier_arc.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_curves.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_image_filters.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_trans_affine.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_vcgen_contour.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_vcgen_dash.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_vcgen_stroke.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/agg24/src/agg_vpgen_segmentator.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/CXX/cxx_extensions.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/CXX/IndirectPythonInterface.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/CXX/cxxsupport.o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/temp.linux-x86_64-3.3/extern/CXX/cxxextensions.o -L/usr/lib64 -lfreetype -lstdc++ -lm -lpython3.3 -o /var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python3_3/build/build/lib/matplotlib/backends/_backend_agg.cpython-33.so
 * python2_7: running distutils-r1_run_phase python_compile
 * Scanning for an open DISPLAY to start Xvfb ...
 * Starting Xvfb on $DISPLAY=1 ...
cp: ‘./build/matplotlib.egg-info’ and ‘/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/matplotlib.egg-info’ are the same file
/usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.0/work/matplotlib-1.4.0-python2_7/build/build/lib
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.0]
                python: yes [2.7.8 (default, Jul 30 2014, 08:18:30)  [GCC
                        4.8.3]]
              platform: yes [linux2]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.8.2]
                   six: yes [using six version 1.7.3]
              dateutil: yes [using dateutil version 2.2]
               tornado: yes [using tornado version 4.0.1]
             pyparsing: yes [using pyparsing version 2.0.2]
                 pycxx: yes [Couldn't import.  Using local copy.]
                libagg: yes [Requires patches that have not been merged
                        upstream. Using local copy.]
              freetype: yes [version 2.5.3]
                   png: yes [version 1.6.13]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [using nose version 1.3.4 / mock is required to
                        run the matplotlib test suite.  pip/easy_install may
                        attempt to install it after matplotlib.]
        toolkits_tests: yes [using nose version 1.3.4 / mock is required to
                        run the matplotlib test suite.  pip/easy_install may
                        attempt to install it after matplotlib.]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
^C

Exiting on signal 2
sandbox:stop  caught signal 2 in pid 21533

/usr/portage_lynx2/dev-python/matplotlib/matplotlib-1.4.0.ebuild: src_compile aborted; exiting.

sandbox:stop  signal already caught and busy still cleaning up!
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2014-09-17 13:06:04 UTC
probably dupe of bug 491168
Comment 11 Juergen Rose 2014-09-17 13:09:16 UTC
At the fourth system 'emerge matplotlib' does not finish:

rose@condor:/home/rose(2)$ genlop -c

 Currently merging 5 out of 6

 * dev-python/matplotlib-1.4.0 

       current merge time: 2 days, 7 hours, 42 minutes and 1 second.
       ETA: any time now.
Comment 12 Juergen Rose 2014-09-18 22:08:13 UTC
Now also 'emerge matplotlib' with matplotlib-1.3.1 seems to hang. The last output I see, is:
...

x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -march=core2 -mtune=generic -Os -pipe -msse3 -msse4 -mcx16 -msahf -mpopcnt -fno-strict-aliasing /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-
python3_3/build/temp.linux-x86_64-3.3/src/mplutils.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/src/agg_py_transforms.o /var/tmp/portage/dev-python/matplotli
b-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/src/_backend_agg.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_bezier_arc.o
/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_curves.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.lin
ux-x86_64-3.3/agg24/src/agg_image_filters.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_trans_affine.o /var/tmp/portage/dev-python/matplotlib-1.
3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_vcgen_contour.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_vcgen_
dash.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/agg24/src/agg_vcgen_stroke.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/b
uild/temp.linux-x86_64-3.3/agg24/src/agg_vpgen_segmentator.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/CXX/IndirectPythonInterface.o /var/tmp/portage/dev-py
thon/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/CXX/cxx_extensions.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/CXX/cxxsupp
ort.o /var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/temp.linux-x86_64-3.3/CXX/cxxextensions.o -L/usr/lib -L/usr/lib64 -L/usr/lib64 -lfreetype -lstdc++ -lm -lpython3.3 -o /var/tmp/por
tage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python3_3/build/build/lib/matplotlib/backends/_backend_agg.cpython-33.so


In an other terminal window I see:
rose@gepard:/home/rose(3)$ genlop -c

 Currently merging 10 out of 21

 * dev-python/matplotlib-1.3.1 

       current merge time: 2 hours, 48 minutes and 59 seconds.
       ETA: any time now.
rose@gepard:/home/rose(4)$ ps -ef | grep matplotlib
portage  13693   820  0 Sep18 pts/1    00:00:00 [dev-python/matplotlib-1.3.1] sandbox /usr/lib/portage/python2.7/ebuild.sh compile
portage  13747 13712  0 Sep18 pts/1    00:00:00 tee -a /var/tmp/portage/dev-python/matplotlib-1.3.1/temp/build-python2_7.log
portage  13908 13754  0 Sep18 pts/1    00:00:08 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python2_7/build/build/lib
portage  13996 13908  0 Sep18 pts/1    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python2_7/build/build/lib
portage  13997 13908  0 Sep18 pts/1    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python2_7/build/build/lib
portage  13998 13908  0 Sep18 pts/1    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python2_7/build/build/lib
portage  13999 13908  0 Sep18 pts/1    00:00:00 /usr/bin/python2.7 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.3.1/work/matplotlib-1.3.1-python2_7/build/build/lib
rose     24857  2819  0 00:07 pts/0    00:00:00 grep --colour=auto matplotlib
Comment 13 Attila Tóth 2014-09-28 21:09:14 UTC
Confirmed. Parallel issue.
MAKEOPTS -j1 workarounds the problems as it was reported previously.
Comment 14 Ian Delaney (RETIRED) gentoo-dev 2014-09-29 05:03:49 UTC
(In reply to Attila Tóth from comment #13)
> Confirmed. Parallel issue.
> MAKEOPTS -j1 workarounds the problems as it was reported previously.

That has a std fix. Have you tried it? Does it work?
Comment 15 Attila Tóth 2014-09-29 06:12:37 UTC
(In reply to Ian Delaney from comment #14)
> (In reply to Attila Tóth from comment #13)
> > Confirmed. Parallel issue.
> > MAKEOPTS -j1 workarounds the problems as it was reported previously.
> 
> That has a std fix. Have you tried it? Does it work?

Setting MAKEOPTS -j1 corrects the issue.
Where can I find the std fix you have mentioned? There are no attachments to the bug, nor I can spot it in the comments.
Comment 16 Ian Delaney (RETIRED) gentoo-dev 2014-10-01 01:54:34 UTC
(In reply to Attila Tóth from comment #15)
> (In reply to Ian Delaney from comment #14)
> > (In reply to Attila Tóth from comment #13)
> > > Confirmed. Parallel issue.
> > > MAKEOPTS -j1 workarounds the problems as it was reported previously.
> > 
> > That has a std fix. Have you tried it? Does it work?
> 
> Setting MAKEOPTS -j1 corrects the issue.
> Where can I find the std fix you have mentioned? There are no attachments to
> the bug, nor I can spot it in the comments.

See xen-4.3-jserver.patch in xen-tools. patches have recently been tarballed so you have to unpack the xensource and the patches unpack with it
Comment 17 Attila Tóth 2014-10-01 11:42:19 UTC
(In reply to Ian Delaney from comment #16)
> (In reply to Attila Tóth from comment #15)
> > (In reply to Ian Delaney from comment #14)
> > > (In reply to Attila Tóth from comment #13)
> > > > Confirmed. Parallel issue.
> > > > MAKEOPTS -j1 workarounds the problems as it was reported previously.
> > > 
> > > That has a std fix. Have you tried it? Does it work?
> > 
> > Setting MAKEOPTS -j1 corrects the issue.
> > Where can I find the std fix you have mentioned? There are no attachments to
> > the bug, nor I can spot it in the comments.
> 
> See xen-4.3-jserver.patch in xen-tools. patches have recently been tarballed
> so you have to unpack the xensource and the patches unpack with it

I'm confused. This is a matplotlib bug, in my case totally unrelated to xen. The bug occurs in a non-virtual environment. It is a parallel make issue.
Isn't it another bug you intended to suggest a xen patch for?
Comment 18 Ian Delaney (RETIRED) gentoo-dev 2014-10-01 13:55:12 UTC
Attila Tóth

clearly you need more explanation.  The fact that it's xen is merely an aside.  It could have been any package.  The patch I called a jserver patch because the error that occurs put out an error msg with the word jserver.  The j as in "-j1". The point is that the xen build had this exact flaw.   The patch does the fix for the issue.  You track the Makefile entries in the source of matplotlib and check see if this pattern is present in the matplotlib then try applying the fix and test.  It's a case of use of a var.
Comment 19 Attila Tóth 2014-10-01 14:03:22 UTC
(In reply to Ian Delaney from comment #18)
> Attila Tóth
> 
> clearly you need more explanation.  The fact that it's xen is merely an
> aside.  It could have been any package.  The patch I called a jserver patch
> because the error that occurs put out an error msg with the word jserver. 
> The j as in "-j1". The point is that the xen build had this exact flaw.  
> The patch does the fix for the issue.  You track the Makefile entries in the
> source of matplotlib and check see if this pattern is present in the
> matplotlib then try applying the fix and test.  It's a case of use of a var.

Sorry for being noobish, thanks for the more detailed explanation. I do the homework, although it requires time & effort.
Comment 20 Ian Delaney (RETIRED) gentoo-dev 2014-10-01 14:42:13 UTC
<Sorry for being noobish>

No need for apology. You know what you know. I had to learn this one too. Hope you can make an effective patch
Comment 21 Mike Gilbert gentoo-dev 2014-10-01 15:10:32 UTC
(In reply to Ian Delaney from comment #16)

Your xen-4.3-jserver patch just replaces "make" with "$(MAKE)" to prevent the "unable to find job server message" problem.

I don't think that is relevant to this bug. I have seen no mention of job servers in any of the log fragments posted here.
Comment 22 Mike Gilbert gentoo-dev 2014-10-01 15:11:55 UTC
Can somebody please attach a full build log?

If you can reproduce the problem with MAKEOPTS="-j1", that would be ideal so that the messages don't get mixed together.
Comment 23 Toralf Förster gentoo-dev 2015-02-21 09:38:53 UTC
build hangs here at a tinderbox chroot too :



BUILDING MATPLOTLIB
            matplotlib: yes [1.4.2]
                python: yes [3.3.5 (default, Feb 19 2015, 10:18:12)  [GCC
                        4.8.3]]
              platform: yes [linux]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.9.1]
                   six: yes [using six version 1.9.0]
              dateutil: yes [using dateutil version 2.4.0]
                  pytz: yes [using pytz version 2014.10]
               tornado: yes [tornado was not found. It is required for the
                        WebAgg backend. pip/easy_install may attempt to
                        install it after matplotlib.]
             pyparsing: yes [using pyparsing version 2.0.3]
                 pycxx: yes [Official versions of PyCXX are not compatible
                        with matplotlib on Python 3.x, since they lack
                        support for the buffer object.  Using local copy]
                libagg: yes [Requires patches that have not been merged
                        upstream. Using local copy.]
              freetype: yes [version 2.5.5]
                   png: yes [version 1.6.16]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite.  pip/easy_install may attempt
                        to install it after matplotlib. / using
                        unittest.mock]
        toolkits_tests: yes [nose 0.11.1 or later is required to run the
                        matplotlib test suite.  pip/easy_install may attempt
                        to install it after matplotlib. / using
                        unittest.mock]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
Terminated
 * ERROR: dev-python/matplotlib-1.4.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4307:  Called distutils-r1_src_compile
 *   environment, line 1424:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  415:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3771:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2825:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2823:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  929:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1417:  Called python_compile
 *   environment, line 3317:  Called wrap_setup 'distutils-r1_python_compile'
 *   environment, line 5020:  Called distutils-r1_python_compile 'build' '--build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_3/build/build/lib'
 *   environment, line 1302:  Called esetup.py 'build' 'build' '--build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_3/build/build/lib'
 *   environment, line 1899:  Called die
 * The specific snippet of code:
 *       "${@}" || die
 * 
 * If you need support, post the output of `emerge --info '=dev-python/matplotlib-1.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/matplotlib-1.4.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-python:matplotlib-1.4.2:20150221-042914.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/matplotlib-1.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-1.4.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_3'
 * S: '/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2'
 * The ebuild phase 'compile' with pid 22489 appears to have left an orphan
 * process running in the background.


        This is a built bot >> unstable << chroot located at a hardened stable host at amd64-unstable

        
Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.18.5-hardened-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.18.5-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16166860 total,   1912520 free
KiB Swap:   16777212 total,  16737836 free
Timestamp of tree: Sat, 21 Feb 2015 00:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.2
dev-lang/python:          2.7.9-r2, 3.3.5-r1, 3.4.1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r4, 1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
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 /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --tree --quiet-build --quiet  --deep --jobs 1"
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://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cli corefonts cracklib crypt cups cxx dbus dnssec dri drmkms dvd ecc extraengine ffmpeg fontconfig fortran fpm gdbm gtk gudev gui iconv isag jpeg libav libvirtd logrotate macvtap mbox minizip mmx modules multilib mysql ncurses nls nptl ogg opengl openmp pam pax_kernel pcre plasma png policykit qemu qt3support qt4 readline session spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssse3 tcpd theora thinkpad threads tk tls truetype uml unicode usb usbredir uxa v4l v4l2 video vorbis xa xmp xscreensaver xvfb xvmc zenmap zlib" ABI_X86="64" 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" 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARG ETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 24 Thomas Juerges 2015-03-09 10:45:43 UTC
This is just to confirm the issue and the workaround:

I can reproduce every time that emerging dev-python/matplotlib-1.4.2 hangs when MAKEOPTD="-j4" is set:

mac ~ # genlop -t matplotlib | tail
 * dev-python/matplotlib

     Tue Feb 24 20:34:21 2015 >>> dev-python/matplotlib-1.3.0-r1
       merge time: 34 minutes and 14 seconds.

And I can confirm that emerging the same ebuild with MAKEOPTS="-j1" works as expected.
Comment 25 Thomas Juerges 2015-03-09 10:46:36 UTC
Created attachment 398502 [details]
einfo for matplotlib-1.4.2
Comment 26 Thomas Juerges 2015-03-09 10:46:50 UTC
Created attachment 398504 [details]
emerge output matplotlib-1.4.2
Comment 27 Thomas Juerges 2015-03-09 10:55:23 UTC
(In reply to Thomas Jürges from comment #24)
> This is just to confirm the issue and the workaround:
> 
> I can reproduce every time that emerging dev-python/matplotlib-1.4.2 hangs
> when MAKEOPTD="-j4" is set:
> 
> mac ~ # genlop -t matplotlib | tail
>  * dev-python/matplotlib
> 
>      Tue Feb 24 20:34:21 2015 >>> dev-python/matplotlib-1.3.0-r1
>        merge time: 34 minutes and 14 seconds.
> 
> And I can confirm that emerging the same ebuild with MAKEOPTS="-j1" works as
> expected.

No, I stand corrected, MAKEOPTS="-j1" does not fix the issue on my system.  Now the emerge hangs in the same place after 15 minutes of compilation. - And yes, I posted the wrong genlop output for version 1.3.0-r1 and not for 1.4.2.  I am really having a bad day, sorry.
Comment 28 Toralf Förster gentoo-dev 2015-10-27 14:54:40 UTC
here it hangs too at a stable tinderbox image :

Every 2.0s: pstree -Ulnup -a 25302                                                                                                                                                     Tue Oct 27 15:54:31 2015

chr.sh,25302 /home/tinderbox/tb/bin//chr.sh amd64-desktop-stable_20151021-160500 /tmp/tb/bin/runme.sh
  └─su,25324 - root -c /tmp/tb/bin/runme.sh
      └─runme.sh,25336 /tmp/tb/bin/runme.sh
          └─bash,21959 /tmp/job.sh
              └─bash,21960 /tmp/job.sh
                  └─emerge,14359 -b /usr/lib/python-exec/python3.4/emerge -u sci-biology/biopython
                      └─sandbox,21979,portage /usr/lib/portage/python3.4/ebuild.sh compile
                          └─ebuild.sh,22194 /usr/lib/portage/python3.4/ebuild.sh compile
                              └─ebuild.sh,22249 /usr/lib/portage/python3.4/ebuild.sh compile
                                  ├─tee,22308 -a /var/tmp/portage/dev-python/matplotlib-1.4.2/temp/build-python3_4.log
                                  └─python3.4,22377 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22880 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22882 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22883 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22884 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22889 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22890 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22891 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─python3.4,22892 setup.py build build --build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.2/work/matplotlib-1.4.2-python3_4/build/build/lib
                                      ├─{python3.4},22893
                                      ├─{python3.4},22894
                                      └─{python3.4},22895
Comment 29 Pacho Ramos gentoo-dev 2015-10-27 19:05:47 UTC
Is 1.4.3 affected by this?
Comment 30 Attila Tóth 2015-10-28 17:13:08 UTC
(In reply to Pacho Ramos from comment #29)
> Is 1.4.3 affected by this?

1.4.3 merged flawlessly. Regards: Dw.
Comment 31 Pacho Ramos gentoo-dev 2015-10-28 21:38:21 UTC
@python team, have you think in stabilizing that version?
Comment 32 Justin Lecher (RETIRED) gentoo-dev 2015-10-29 07:53:11 UTC
(In reply to Pacho Ramos from comment #31)
> @python team, have you think in stabilizing that version?

See bug 543914
Comment 33 Justin Lecher (RETIRED) gentoo-dev 2015-11-12 10:17:34 UTC
commit 6a32620b949dd1c173d18ee081021c35bb2beb31
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Nov 12 11:16:55 2015 +0100
    
    dev-python/matplotlib: Drop old
    
    obsoletes:
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=522840
    
    Package-Manager: portage-2.2.23
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a32620b949dd1c173d18ee081021c35bb2beb31