Created attachment 450324 [details] tail of build log Cannot emerge x11-libs/libX11-1.6.4 - recipe for target 'SetFont.lo' failed
Portage 2.3.0 (python 3.4.3-final-0, hardened/linux/amd64/selinux, gcc-4.9.3, glibc-2.22-r4, 4.4.2-hardened-m4ch1n4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.4.2-hardened-m4ch1n4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.2 KiB Mem: 2033280 total, 32016 free KiB Swap: 1953120 total, 970972 free Timestamp of repository gentoo: Sat, 15 Oct 2016 02:45:01 +0000 sh bash 4.3_p48 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p48::gentoo dev-lang/perl: 5.22.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync2.uk.gentoo.org/gentoo-portage priority: -1000 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 /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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" 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 news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="aac acl acpi adns amd64 apache2 atm audiofile berkdb bindist branding bzip2 caps cdr cli cracklib crypt cxx dri dvd dvdr fbcon flac gd gdbm geoip gnutls gpm gzip hardened hddtemp iconv ieee1394 imap ipv6 justify lame lm_sensors lzma lzo maildir mmx mmxext modules multilib ncurses nls nptl open_perms openmp pam pax_kernel pcre pdo php pie postgres readline samba sasl seccomp selinux session smp sse sse2 sse3 ssl ssp syslog tcpd threads udev unconfined unicode urandom vhosts xattr xinetd xtpax 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="mmx mmxext sse sse2 sse3 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="epson epson2" 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, USE_PYTHON
... You've missed the actual error in that snippet. Scroll back a few lines, check the linking command, then check config.log for the source of the error (as it doesn't seem to be present in 'emerge --info').
(In reply to Rafał Mużyło from comment #2) > ... > > You've missed the actual error in that snippet. > Scroll back a few lines, check the linking command, then check config.log > for the source of the error (as it doesn't seem to be present in 'emerge > --info'). Sorry but I don't know what I am looking for in the config.log, it seems quite long to put it all here. Scrolling back a few lines in build.log: libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1 libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port -quiet: error while loading shared libraries: -quiet: cannot open shared object file Makefile:1064: recipe for target 'SetFont.lo' failed make[3]: *** [SetFont.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/src -I../include/X11 -I/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4/include -I/var/tmp/port make[3]: Leaving directory '/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4-abi_x86_64.amd64/src' Makefile:1121: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4-abi_x86_64.amd64/src' Makefile:686: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4-abi_x86_64.amd64/src' Makefile:519: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 ^[[31;01m*^[[0m ERROR: x11-libs/libX11-1.6.4::gentoo failed (compile phase): ^[[31;01m*^[[0m emake failed ^[[31;01m*^[[0m. ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=x11-libs/libX11-1.6.4::gentoo'`, ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=x11-libs/libX11-1.6.4::gentoo'`. ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/x11-libs/libX11-1.6.4/temp/build.log'. ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/libX11-1.6.4/temp/environment'. ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4-abi_x86_64.amd64' ^[[31;01m*^[[0m S: '/var/tmp/portage/x11-libs/libX11-1.6.4/work/libX11-1.6.4'
That snippet is *still* insufficient. Attach full build log and config.log (compressed if needed). TBH, though, while can't be certain without seeing the linking command and config.log, I'd strongly suspect a case of trash in your make.conf (other case being one of pkgconfig files being broken).
Created attachment 450494 [details] Full build log
Created attachment 450496 [details] Full config log
Unrelated, but personal pet peeve: when asked for compressed file, use something other than zip. More on topic: it may well be that the line in question was already *partially* present in your snippets, but the way you've pasted it, left it truncated. Yet, nothing in the log hints toward the reason of this failure...at least one effective at such late point. Attach environment file and your make.conf.
Created attachment 450712 [details] Make.conf
(In reply to Rafał Mużyło from comment #7) > Unrelated, but personal pet peeve: when asked for compressed file, use > something other than zip. > > More on topic: it may well be that the line in question was already > *partially* present in your snippets, but the way you've pasted it, left it > truncated. > > Yet, nothing in the log hints toward the reason of this failure...at least > one effective at such late point. > > Attach environment file and your make.conf. Sorry about the zip, habit. make.conf attached, what exactly do you mean by the environment file? Some file from /etc/env.d ?
@comment 9: > The ebuild environment file is located at '/var/tmp/portage/x11-libs/libX11-1.6.4/temp/environment'
Created attachment 450770 [details] Ebuild enviornment
...well, still nothing stands out... There should be nothing special about that file when compared to other from same dir... See if running 'emerge' with LIBTOOLFLAGS='--verbose' produces more output wrt. that portion of build log (should appear in the environment file when set, but should also be immediately noticeable in the log).
For some reason it works now.
(In reply to Rafał Mużyło from comment #12) > ...well, still nothing stands out... > > There should be nothing special about that file when compared to other from > same dir... > > See if running 'emerge' with LIBTOOLFLAGS='--verbose' produces more output > wrt. that portion of build log (should appear in the environment file when > set, but should also be immediately noticeable in the log). Well with the LIBTOOLFLAGS='--verbose' it successfully merged... Nothing else changed, there was no 'emerge --sync' since I submitted the bug and I tried 3 times before creating the bug. I am puzzled.