Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643454 - dev-python/matplotlib-1.4.3: emerge failed (compile phase, "no error message")
Summary: dev-python/matplotlib-1.4.3: emerge failed (compile phase, "no error message")
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 17:03 UTC by Leonard
Modified: 2021-01-06 09:21 UTC (History)
6 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 Leonard 2018-01-04 17:03:13 UTC
Recent sync and world rebuild.  After depclean, attempted to emerge dev-python/matplotlib with the results detailed in "additional information."

I'm not sure how to troubleshoot it from here and would like guidance.

Temporary workaround is to use matplotlib installed via pip (working fine for now).

Reproducible: Always




# emerge --info '=dev-python/matplotlib-1.4.3::gentoo'
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.4.39-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.4.1
KiB Mem:    16384060 total,   8245452 free
KiB Swap:   24412156 total,  24412156 free
Timestamp of repository gentoo: Thu, 04 Jan 2018 00:45:01 +0000
Head commit of repository gentoo: 0b9f5476d3f05b5f2f7f49ccf146af4357ea7684
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 argument berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 qt5 readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xft xml xv xvid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" 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-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -pqv '=dev-python/matplotlib-1.4.3::gentoo'
[ebuild  N    ] dev-python/matplotlib-1.4.3  USE="cairo gtk pyside qt4 qt5 wxwidgets -doc -examples -excel -fltk -gtk3 -latex {-test} -tk" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 


# cat /var/tmp/portage/dev-python/matplotlib-1.4.3/temp/build.log
 * Package:    dev-python/matplotlib-1.4.3
 * Repository: gentoo
 * Maintainer: sci@gentoo.org python@gentoo.org
 * USE:        abi_x86_64 amd64 cairo elibc_glibc gtk kernel_linux pyside python_targets_python2_7 python_targets_python3_5 qt4 qt5 userland_GNU wxwidgets
 * FEATURES:   nostrip preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking matplotlib-1.4.3.tar.gz to /var/tmp/portage/dev-python/matplotlib-1.4.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/matplotlib-1.4.3/work
>>> Preparing source in /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3 ...
 * Applying matplotlib-1.4.3-cross-compile-1.patch ...                                                                                   [ ok ]
 * Applying matplotlib-1.4.3-cross-compile-2.patch ...                                                                                   [ ok ]
 * Applying matplotlib-1.4.3-cross-compile-3.patch ...                                                                                   [ ok ]
 * Applying matplotlib-1.4.3-backport-GH5291-2462.patch ...                                                                              [ ok ]
 * Will copy sources from /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3
 * python2_7: copying to /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python2_7
 * python3_5: copying to /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python3_5
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3 ...
 * python2_7: running distutils-r1_run_phase python_configure
 * python3_5: running distutils-r1_run_phase python_configure
 * python3_5: running distutils-r1_run_phase python_configure_all
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3 ...
 * python2_7: running distutils-r1_run_phase python_compile
cp: './build/matplotlib.egg-info' and '/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-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.3/work/matplotlib-1.4.3-python2_7/build/build/lib
============================================================================
Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [1.4.3]
                python: yes [2.7.14 (default, Jan  4 2018, 10:51:45)  [GCC
                        6.4.0]]
              platform: yes [linux2]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.10.4]
                   six: yes [using six version 1.10.0]
              dateutil: yes [using dateutil version 2.6.1]
                  pytz: yes [using pytz version 2017.2]
               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.2.0]
                 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.8.0]
                   png: yes [version 1.6.29]
                 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. / mock is required
                        to run the matplotlib test suite.  pip/easy_install
                        may attempt to install it after matplotlib.]
        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. / 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: yes [installing, Qt: 5.7.1, PyQt: 5.7.1]
                qt4agg: yes [installing, Qt: 4.8.7, PyQt: 4.8.7]
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
                pyside: yes [installing, Qt: 4.8.7, PySide: 1.2.2]
               gtk3agg: no  [skipping due to configuration]
             gtk3cairo: no  [skipping due to configuration]
                gtkagg: yes [installing, Gtk: 2.24.31 pygtk: 2.24.0]
                 tkagg: no  [skipping due to configuration]
/var/tmp/portage/dev-python/matplotlib-1.4.3/temp/environment: line 1707: 31651 Aborted                 "${@}"
 * ERROR: dev-python/matplotlib-1.4.3::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4203:  Called distutils-r1_src_compile
 *   environment, line 1234:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  442:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3636:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2668:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 2666:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line  801:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 1227:  Called python_compile
 *   environment, line 3165:  Called wrap_setup 'distutils-r1_python_compile'
 *   environment, line 5043:  Called distutils-r1_python_compile 'build' '--build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python2_7/build/build/lib'
 *   environment, line 1102:  Called esetup.py 'build' 'build' '--build-lib=/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python2_7/build/build/lib'
 *   environment, line 1714:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/matplotlib-1.4.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/matplotlib-1.4.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/matplotlib-1.4.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/matplotlib-1.4.3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3-python2_7'
 * S: '/var/tmp/portage/dev-python/matplotlib-1.4.3/work/matplotlib-1.4.3'
Comment 1 Remy Blank 2018-01-10 17:02:17 UTC
I see the same symptoms. I wonder if this is related to the warning displayed about Gtk:

/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Comment 2 Andreas Sturmlechner gentoo-dev 2018-05-08 06:05:52 UTC
Cleanup done in fe830575e425a875093a98fc75702338dba6b35a.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-06 09:21:00 UTC
Somebody appears to have CCed themselves on this.. it’s ancient, please file a new bug if you’re hitting something, but please sync first as it’s probably bug 763849