I was trying to compile current stable version of matplotlib and it fails to build. linker prints py_converters.o: fi le not recognized: file truncated Reproducible: Always
Created attachment 637516 [details] build.log
Portage 2.3.99 (python 3.7.7-final-0, !../../usr/portage/profiles/default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.3.0, glibc-2.30-r8, 5.4.38-gentoo-gnu x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.38-gentoo-gnu-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6 KiB Mem: 16341788 total, 1634264 free KiB Swap: 18874360 total, 18874360 free Timestamp of repository gentoo: Sat, 09 May 2020 16:15:01 +0000 Head commit of repository gentoo: 72ae09f08096094e8a2ae17b56d47f76fd59e415 Timestamp of repository nix-guix: Wed, 15 Apr 2020 22:05:03 +0000 Head commit of repository nix-guix: 33cfe9e65aea3d6e431ed6f548a6c6fe14583996 sh bash 5.0_p17 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) Repositories: gentoo-bootstrap location: /home/andrius/repositories/gentoo-bootstrap masters: gentoo priority: -2000 gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://stikonas.eu/gentoo-portage sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 nix-guix location: /var/db/repos/nix-guix sync-type: git sync-uri: https://github.com/gentoo-mirror/nix-guix.git masters: gentoo crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 torbrowser location: /var/lib/layman/torbrowser sync-type: laymansync sync-uri: https://github.com/MeisterP/torbrowser-overlay.git masters: gentoo priority: 50 Local-overlay location: /var/lib/portage/overlay masters: gentoo priority: 1000 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/" PKGDIR="/var/cache/binpkgs" PORTAGE_TMPDIR="/var/tmp" USE="16k_voice R X a52 aac aacs aalib acl acpi activities addns addressbook ads aesicm aimodules aio akonadi alsa amd64 amr analitza android androiddump aot ap apache2 apng appindicator archive argon2 atmo attica auth autoipd autoreplace autotools autotype avahi baremetal bash-completion bazaar berkdb bindist bittorrent bl blender bluetooth bluray bogofilter bookmarks boost botan branding browser bs2b btrfs bugzilla bzip2 c++0x cairo cantor captcha cdb cdda cddb cdio cdr cgi cgroup-hybrid chappa chatzilla chm chromium cjk clang cli client clucene cmake color color-management colord colordiff colorio connection-sharing contactnotes context contrib contrib_cvv contrib_hdf contrib_sfm crypt cryptsetup csharp css csv cups curl custom-optimization cvs cycles d d3d9 dbus dc1394 deblob declarative deflate dep designer designer-plugin desktopglobe device-mapper dhclient dirac discover djvu dlz dmraid dnssec doc-pdf docbook dolphin dos dot downloadorder dpi drafts dri dri3 drm dts dump dvb dvd dvdnav dvdr dvi dvi2tty dvipdfm dynamic eap-sim eap-tls ebook ecdh edit editor egl eigen emacs emboss eme-free emovix enchant encode epub equalizer eselect-ldso evdev exif extensions extra extra-algorithms extraengine extras f2fs fakevim farstream fat fbcon festival ffmpeg fftw fgpanel fits flac fltk fluidsynth fontconfig fontforge foomaticdb fortran fortran2003 fortran95 fortune fpm fpx freetds ftp fuse g3dvl gadu gallium games garmin gbm gc gcj gcrypt gd gdal gdata gdbm gecko gentoo-vm geoip geoloc geolocation gflags ghcbootstrap gif gimp git gles gles1 gles2 gles3 glew glib glog glsl gmail gme gmp gnome-online-accounts gnuefi gnuplot gnutls go gold google gpg gpgme gphoto2 gpm gps gpssync gptfdisk gpu graphics graphite graphviz grub gsl gsm gssapi gstreamer gtk gtk3 gtkspell gtkstyle gudev gui guile gyroscopic gzip handbook haptic harden hdf5 hdri hfs highlight history hostonly hscolour html http http2 hunspell hwaccel hwdb i18n icedtea7 iconv icu id3tag ieee1394 ilbc imagemagick imaging imap imlib imlib2 import-filter inkjar inotify inspector introspection iodbc ipc iplayer iproute2 ipv6 irc ithreads jabber jadetex java javascript jbootstrap jfs jingle jit jpeg jpeg2k json jumbo-build kate kde kdecards kdenlive kdepim keeshare kerberos kexiv2 keymap kipi kontact kpathsea ktp kwallet lame lapack laptop lastfm latex latexmk lcms ldap legacy-systray lensfun less libass libav-aac libcaca libevent libilbc libinput libkms libmpv libnotify libproxy libsamplerate libssh2 libtiger libtirpc libxml2 lightning llvm lm-sensors lm_sensors lpsol lto lua luatex lvm lyrics lz4 lzma lzo mad magic magnetgenerator maildir marble markdown math mathml matplotlib matroska md5sum mdadm mdnsresponder-compat meanwhile mediaplayer mediawiki melt mercurial metalink mhash midi mikmod minizip mjpeg mms mng mobi mod mod_muc mod_pubsub modemmanager modplug monolithic monolithic-build monotone mount mp3 mp4 mpeg mpeg2 mpg123 mplayer mpx mtp multilib multimedia multitarget musepack music musicbrainz mysql mysqli mythtv nat native native-exceptions native-extensions natspec ncurses netapi nethack network networking networkmanager new-login nftables nls nntp nptl nscd nsplugin nss ntfs ntfsprogs ntp numpy oauth objc objc++ octave offlinehelp ogg ogg123 ogm okular omega openal openconnect opencv openexr opengl opengtl openid openimageio openinventor openldap openmp openstreetmap optimization opus otr p2p pam pango parcheck parted pcap pcmcia pcntl pcre pcre16 pdf pdfimport pdo perl phonon pim pipewire pkcs11 plasma player plotutils plymouth png pnm policykit postgres postproc postscript ppds prediction preview-latex printsupport prison privacy private-headers privatestorage projectm ps psf pstoedit pstricks pth publishers pulseaudio pwquality pyqt4 python qalculate qml qrcode qt5 qthelp qtmedia quickstarter quicktime quota qwt r600-llvm-compiler radio radius raster raw rdesktop readline realtime redeyes reencrypt regex reiser4 reiserfs required-use reviewboard rpc rss rsync-verify rtmp rtsp ruby s3tc samba sandbox sasl sbcl scanner schroedinger science screencast script scripts scripttools sdk sdl sdl2 search seccomp secure-delete security semantic-desktop sensord server sftp sha512 shapefile shared-dricore shared-glapi sip sipim skins smartcard snappy sndfile soap sockets socks5 solver soprano sound soundtouch spacenav sparse speech speex spell spice split-usr sql sqlite sqlite3 srt srtp ssh ssl staging stars startup-notification statistics strong-optimization stun subversion suhosin supernodal svc svg symlink sync-plugin-portage syslog system-av1 system-boost system-bootstrap system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-lcms system-libevent system-libs system-libvpx system-libyaml system-llvm system-lua system-mitkrb5 system-qemu system-renpy system-seabios system-snappy system-sqlite system-tbb system-uulib system-zlib systemd szip taglib tcl tcpd telepathy templates terminal tesseract tex4ht texteffect tfshark themedesigner themes theora thesaurus threads thumbnail thumbnails tidy tiff timidity tk tls tntc tools tor tordns touchpad translator truetype tty-helpers twolame udev udf udisks udisks2 umfpack unicode unlock-notify unzip update_drivedb upnp upnp-av upower urlpreview usb usbredir user-session utils v4l v8 vaapi vala valgrind vamp vc vcd vdpau vector-icons video videos videoslideshow vim vim-syntax vlc vlm vnc vorbis vpx vulkan wallet wav wavpack wayland wayland-compositor wcs webcam webchannel webdav webengine webgl webkit webkit2 webm webp widgets wifi wikipedia win32 win64 winbind wma wmf word-perfect wps wxwidgets x264 x265 xa xattr xcb xcomposite xetex xface xfs xft xinerama xkb xml xmlrpc xmlwriter xmp xorg xplanet xpm xrandr xrender xslt xv xvfb xvid xvmc xwayland xz yahoo youtube zeroconf zeromq zip zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 3dnow 3dnowext fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse wacom" KERNEL="linux" L10N="lt en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="i965 intel iris nouveau radeon radeonsi amdgpu dummy fbdev vesa" 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: EMERGE_DEFAULT_OPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND ================================================================= Package Settings ================================================================= dev-python/matplotlib-2.2.2-r1::gentoo was built with the following: USE="cairo gtk3 latex qt5 tk wxwidgets (-doc) -examples -excel -gtk2 -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_6 -python3_7" CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fno-strict-aliasing" CXXFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fno-strict-aliasing" FEATURES="userpriv fixlafiles binpkg-logs userfetch binpkg-dostrip usersync unmerge-orphans pid-sandbox distlocks config-protect-if-modified network-sandbox news binpkg-docompress merge-sync sfperms unknown-features-warn multilib-strict unmerge-logs ebuild-locks usersandbox parallel-fetch ipc-sandbox preserve-libs xattr assume-digests sandbox protect-owned sign strict"
I've seen this particular error too. Maybe py37-specific? matplotlib-3.1 built without problems for me.
(In reply to Andreas K. Hüttel from comment #3) > I've seen this particular error too. Maybe py37-specific? That's possible. I have earlier version already built on my system with python 3.6. > > matplotlib-3.1 built without problems for me. Maybe it's time to stabilize it? There already a stabilization bug: https://bugs.gentoo.org/714376
I got the same error during the upgrade to python3.7, current stable version of matplotlib (2.2.2-r1) fails with above error. With python3.6 everything was fine.
Saw this one too. Desktop i7-6700k building in RAM with MAKEOPTS="-j8". Building with MAKEOPTS="-j1" fixed it so something has a race condition.
matplotlib-2.2.2-r1 is removed from the tree. Please try newer versions.