dev-libs/efl-1.16.1 fails to link due to undefined references: libtool: link: x86_64-pc-linux-gnu-gcc -march=athlon-fx -O2 -pipe -Wl,-O1 -o bin/ecore_evas/.libs/eetpack bin/ecore_evas/bin_ecore_evas_eetpack-eetpack.o -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--no-copy-dt-needed-entries -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--no-copy-dt-needed-entries lib/ecore_drm/.libs/libecore_drm.so lib/ecore/.libs/libecore.so lib/ecore_input/.libs/libecore_input.so lib/ecore_input_evas/.libs/libecore_input_evas.so lib/ecore_evas/.libs/libecore_evas.so -lssl -lcrypto -ljpeg -Wl,--as-needed -lfontconfig -lfreetype /usr/lib64//liblua.so lib/ector/.libs/libector.so lib/emile/.libs/libemile.so lib/efl/.libs/libefl.so lib/eina/.libs/libeina.so lib/eet/.libs/libeet.so lib/eo/.libs/libeo.so -lpthread -ldl -lm -lrt lib/evas/.libs/libevas.so -Wl,-rpath -Wl,/usr/lib64/ /usr/lib64//libecore_con.so.1: undefined reference to `eo_hook_call_pre' /usr/lib64//libecore_con.so.1: undefined reference to `eo_hook_call_post' collect2: error: ld returned 1 exit status Reproducible: Always emerge --info efl Portage 2.2.26 (python 3.5.1-final-0, hardened/linux/amd64/no-multilib, gcc-5.3.0, glibc-2.22-r1, 4.3.3-hardened-r2-gnu x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.3.3-hardened-r2-gnu-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 8142076 total, 752660 free KiB Swap: 4194300 total, 4159024 free Timestamp of repository gentoo: Sat, 02 Jan 2016 00:45:01 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::x-portage Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon-fx -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon-fx -O2 -pipe" DISTDIR="/var/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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" 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" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 bash-completion berkdb bzip2 caps cli cracklib crypt cxx directfb dri gdbm gif gnutls hardened iconv ipv6 jpeg justify libressl matroska mmx mmxext modules ncurses nls nptl ogg openmp pam pax_kernel pcre pie png qt5 readline seccomp session sse sse2 ssl ssp tcpd theora threads tiff unicode urandom vorbis xattr 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" 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" LINGUAS="de de_DE ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="vesa fbdev" 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 ================================================================= Package Settings ================================================================= dev-libs/efl-1.15.2::gentoo was built with the following: USE="X bmp eet fontconfig gif gnutls ico libressl nls oldlua png ppm psd ssl tiff -debug -doc -drm -egl -fbcon -fribidi -gles -glib -gstreamer -harfbuzz -ibus -jpeg2k (-neon) -opengl -physics (-pixman) -pulseaudio -scim -sdl -sound -systemd -tga -tslib -v4l2 -valgrind -wayland -webp -xim -xine -xpm"
Created attachment 421614 [details] Complete build log
try doing `emerge -C efl` and see if you can emerge it afterwords
I unmerged efl and also deleted deleted the libraries remaining because of the preserved-rebuild feature, but after set emerging of the new efl library was possible
* Messages for package dev-libs/efl-1.17.0: * ERROR: dev-libs/efl-1.17.0::gentoo failed (compile phase): * emake failed libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC modules/ecore/system/upower/.libs/modules_ecore_system_upower_module_la-ecore_system_upower.o -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eina/.libs -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eo/.libs -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/efl/.libs -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/ecore/.libs -Wl,-rpath -Wl,/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eldbus/.libs -L/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eina/.libs -L/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eo/.libs -L/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/efl/.libs -L/var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/ecore/.libs -Wl,--as-needed lib/eina/.libs/libeina.so lib/eo/.libs/libeo.so lib/efl/.libs/libefl.so lib/ecore/.libs/libecore.so lib/eldbus/.libs/libeldbus.so -ldbus-1 /var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/ecore/.libs/libecore.so -lgthread-2.0 -lglib-2.0 /var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/efl/.libs/libefl.so /var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eo/.libs/libeo.so /var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/lib/eina/.libs/libeina.so -ldl -lrt -lunwind-generic -lunwind -lpthread -lm -march=ivybridge -mtune=ivybridge -O2 -Wl,-O1 -Wl,--gc-sections -Wl,--no-copy-dt-needed-entries -pthread -Wl,--gc-sections -Wl,--no-copy-dt-needed-entries -pthread -Wl,-soname -Wl,module.so -o modules/ecore/system/upower/.libs/module.so /bin/mkdir -p modules/ethumb/emotion; \ EFL_RUN_IN_TREE=1 ../src/bin/edje/edje_cc -v -id . -fd . -id ./modules/ethumb/emotion modules/ethumb/emotion/template.edc modules/ethumb/emotion/template.edj /var/tmp/portage/dev-libs/efl-1.17.0/work/efl-1.17.0/src/bin/edje/.libs/edje_cc: symbol lookup error: /usr/lib64/libector.so.1: undefined symbol: eo_hook_call_post Makefile:40606: recipe for target 'modules/ethumb/emotion/template.edj' failed Reproducible: Always * `emerge --info '=dev-libs/efl-1.17.0::gentoo'`, * `emerge -pqv '=dev-libs/efl-1.17.0::gentoo'`, * The complete build log. Is located at https://gist.github.com/alexws54tk/b39de407131f341d60a8139290ea5a32
Just a small heads-up: this issues persists even with the latest efl in portage (1.20.7-r1).
I've been able to reproduce this after very specific steps: - emerge efl-1.20 - downgrade to efl-1.18 (with preserved-libs) - re-emerge 1.20 that fails due to this error - remove offending lib & emerge -C efl - emerge efl-1.20 if I just keep re-emerging 1.20 (changed USE flags for example) it always succeeds. So to my point: I have no idea how to fix this in the ebuild, that's why I keep this bug open to inform people running into this issue. This has also been documented in the gentoo-wiki: https://wiki.gentoo.org/wiki/Enlightenment#.22build_error:_undefined_symbol:_EFL_GFX_PATH_CHANGED.22 I hope upgrade from 1.20 to 1.21 goes smoothly since I've only run into this issue when upgrading from 1.18 to 1.20 (after first having downgraded efl). If it fails everytime when updating, maybe some sort of hard blocker or message before installing is needed...
Same issue when updating from 1.20.7 to 1.21.1 The fix was the same: emerge -C efl and remove the remaining libs. During the build, it is a lot of libtool warnings like what some files (it try to link against) have been moved or are missing. It look like it look outside of the sandbox right to the installed files.
*** Bug 680966 has been marked as a duplicate of this bug. ***
*** Bug 652388 has been marked as a duplicate of this bug. ***
*** Bug 651890 has been marked as a duplicate of this bug. ***