build fails with following relevant output: generating symbol list for `libgdkglext-x11-1.0.la' /usr/bin/x86_64-pc-linux-gnu-nm -B .libs/gdkglversion.o .libs/gdkglinit.o .libs/gdkglquery.o .libs/gdkglconfig.o .libs/gdkglcontext.o .libs/gdkgldrawable.o .libs/gdkglpixmap.o .libs/gdkglwindow.o .libs/gdkglshapes.o .libs/gdkglglext.o .libs/gdkglenumtypes.o x11/.libs/libgdkglext-x11.a | | /bin/sed 's/.* //' | sort | uniq > .libs/libgdkglext-x11-1.0.exp ../libtool: eval: line 4397: syntax error near unexpected token `|' ../libtool: eval: line 4397: `/usr/bin/x86_64-pc-linux-gnu-nm -B .libs/gdkglversion.o .libs/gdkglinit.o .libs/gdkglquery.o .libs/gdkglconfig.o .libs/gdkglcontext.o .libs/gdkgldrawable.o .libs/gdkglpixmap.o .libs/gdkglwindow.o .libs/gdkglshapes.o .libs/gdkglglext.o .libs/gdkglenumtypes.o x11/.libs/libgdkglext-x11.a | | /bin/sed 's/.* //' | sort | uniq > .libs/libgdkglext-x11-1.0.exp' Makefile:470: recipe for target 'libgdkglext-x11-1.0.la' failed Reproducible: Always Steps to Reproduce: 1. emerge x11-libs/gtkglext-1.2.0-r1 Actual Results: see description Expected Results: x11-libs/gtkglext-1.2.0-r1 successfully emerged I'm not the only one seeing this. Someone posted to the gentoo forums months ago but didn't submit a bug report
...ah, no, that's not the relevant output... This vaguely reminds me of a bug is a package (not necessarily this one) that IIRC was a user error. Attach full build log *and* config.log (as in the later one lied the answer to the problem).
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment.
Created attachment 373998 [details] emerge --info
Created attachment 374000 [details] build.log
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.19, 3.11.4-gentoo-gcc4.8.1 x86_64) ================================================================= System uname: Linux-3.11.4-gentoo-gcc4.8.1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2 KiB Mem: 16382436 total, 1946468 free KiB Swap: 4194300 total, 4076124 free Timestamp of tree: Sun, 30 Mar 2014 13:45:01 +0000 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.2_p45-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.5 dev-util/cmake: 2.8.12.2 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.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19 Repositories: gentoo akita ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Oracle-BCLA-JavaSE QUAKE4" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=native -ggdb -flto=10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -pipe -march=native -ggdb -flto=10" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write --jobs=10 --load-average=30" 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.espri.arizona.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.utf8" LDFLAGS="-flto=10 -fuse-ld=gold -fuse-linker-plugin" MAKEOPTS="--jobs 10 --load-average 30" 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="/opt/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth bluray branding bzip2 c++0x cairo caps cdda cdr cli cracklib crypt cups cvs cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fftw firefox firmware flac fortran gdbm geoip gif git gpm gtk iconv ipv6 java joystick jpeg kde kipi lcms ldap libass libnotify lm_sensors mad mercurial mmx mng modules mp3 mp4 mpeg multilib ncurses nfsv41 nls nptl nsplugin ogg openal opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 readline sasl sdl semantic-desktop session spell sse sse2 sse3 sse4 ssl ssse3 startup-notification subversion svg systemd tcpd tiff truetype udev udisks unicode upower usb vdpau vorbis wayland wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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" 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="joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US fr_FR en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
> checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... failed ...so, like I said awhile ago, attach config.log.
Created attachment 374040 [details] config.log
I perused the config.log and see that the error is related to LTO. I did successfully emerge this when I disabled LTO for this package.
Normally I try to build without LTO before submitting a bug report, but this error didn't look like the typical errors I get with packages that break due to LTO.
We don't support LTO yet, you should probably forward this directly to upstream or, at least, provide a patch
(In reply to Pacho Ramos from comment #10) > ...you should probably forward this directly to > upstream or, at least, provide a patch Which upstream ? The dead one ? Also, I strongly suspect there's no real patch here , besides eautoreconf (or its equivalents from other eclasses) to update libtool to 2.4.2 (though there *might* be more fixes in the libtool repo - it's been awhile since last release after all).