r9-008cln jamin-0.95.0 # make make all-recursive make[1]: Entering directory `/var/tmp/portage/media-sound/jamin-0.95.0-r2/work/jamin-0.95.0' Making all in src make[2]: Entering directory `/var/tmp/portage/media-sound/jamin-0.95.0-r2/work/jamin-0.95.0/src' /bin/sh ../libtool --mode=link --tag=CC gcc -o jamin jamin-callbacks.o jamin-compressor-ui.o jamin-geq.o jamin-gtkmeter.o jamin-gtkmeterscale.o jamin-hdeq.o jamin-intrim.o jamin-io.o jamin-io-menu.o jamin-limiter-ui.o jamin-main.o jamin-plugin.o jamin-process.o jamin-resource.o jamin-ringbuffer.o jamin-spectrum.o jamin-spline.o jamin-state.o jamin-status-ui.o jamin-stereo.o jamin-support.o jamin-transport.o jamin-scenes.o jamin-preferences.o jamin-help.o libnopt.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lfftw3f -lm -lxml2 -ljack -llo -lpthread -lm -lm -lpthread gcc -o jamin jamin-callbacks.o jamin-compressor-ui.o jamin-geq.o jamin-gtkmeter.o jamin-gtkmeterscale.o jamin-hdeq.o jamin-intrim.o jamin-io.o jamin-io-menu.o jamin-limiter-ui.o jamin-main.o jamin-plugin.o jamin-process.o jamin-resource.o jamin-ringbuffer.o jamin-spectrum.o jamin-spline.o jamin-state.o jamin-status-ui.o jamin-stereo.o jamin-support.o jamin-transport.o jamin-scenes.o jamin-preferences.o jamin-help.o libnopt.a -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lfftw3f -lxml2 -ljack -llo -lm -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: jamin-plugin.o: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO /lib64/libdl.so.2 so try adding it to the linker command line /lib64/libdl.so.2: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [jamin] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/jamin-0.95.0-r2/work/jamin-0.95.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/jamin-0.95.0-r2/work/jamin-0.95.0' make: *** [all] Error 2 r9-008cln jamin-0.95.0 # libdl is present: r9-008cln jamin-0.95.0 # ls -l /lib64/libdl* -rwxr-xr-x 1 root root 14480 Jul 30 13:13 /lib64/libdl-2.19.so lrwxrwxrwx 1 root root 13 Jul 30 13:13 /lib64/libdl.so.2 -> libdl-2.19.so
r9-008cln jamin-0.95.0 # emerge --info Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.16.3-gentoo x86_64) ================================================================= System uname: Linux-3.16.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 16309148 total, 9516124 free KiB Swap: 20971516 total, 20971516 free Timestamp of tree: Fri, 26 Sep 2014 08:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p48-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r2 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.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo proaudio sabayon steam-overlay tlp sunrise bumblebee anders-larsson rion yuego ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" 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=native -O2 -pipe -fomit-frame-pointer" 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 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.bytemark.co.uk/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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="/var/lib/layman/pro-audio /var/lib/layman/sabayon /var/lib/layman/steam /var/lib/layman/tlp /var/lib/layman/sunrise /var/lib/layman/bumblebee /var/lib/layman/anders-larsson /var/lib/layman/rion /var/lib/layman/yuego" USE="X a52 aac acl acpi alsa amd64 archive avx avx2 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dri3 dts dvd dvdr eds egl emboss encode evo exif fam ffmpeg firefox flac fortran frei0r g711 g722 g7221 gbm gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk http iconv ieee1394 introspection ios ipv6 jack jpeg jpeg2k lcms ldap libnotify libsecret lv2 mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 rar raw rdp readline samba sdl session smp socialweb speex spell sse sse2 sse4_1 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis wayland wxwidgets x264 xa xcb xml xv xvid xvmc 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" 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="intel 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" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Please attach the entire build log to this bug report.
Created attachment 385758 [details] build log
r9-008cln temp # emerge -pqv '=media-sound/jamin-0.95.0-r2::gentoo' [ebuild N ] media-sound/jamin-0.95.0-r2 USE="-osc"
Your build log shows that configure is checking for libdl but then `-ldl' is surprisingly omitted from the linker call. Considering that your build log also has lots of output along these lines: chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory I assume that the problem magically went away at some point.
Never worked for me, and I have no such messages in my log. It compiles fine for me if I do this: LDFLAGS="${LDFLAGS} -Wl,--as-needed -ldl" emerge jamin Same on both -r2 and -r3.
I also run in the same error, jamin failed to emerge with undefined reference to symbol 'dlsym@@GLIBC_2.2.5' message. It seems that it is linked with -Wl,-as-needed flag, see for example http://stackoverflow.com/questions/20369672/undefined-reference-to-dlsym or http://stackoverflow.com/questions/11016493/error-undefined-reference. I write a small patch to fix it, along with a new revision of the ebuild. Could you please consider to reopen this bug?
Created attachment 452086 [details, diff] patch for ebuild -r4
Created attachment 452088 [details] new revision for ebuild using ne
unfortunatelly it really does not compile. all (both) ebuilds are affected, even the stable one. i just dumbly tried `LDFLAGS="-ldl" emerge jamin` and it compiled and merged without issues. i'm on ~amd64.
Same here, doesn't compile on ~amd64 Workaround `LDFLAGS="-ldl" emerge jamin` solves it :-/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468d8f85d3f952a8b03632a468f19405638d8a92 commit 468d8f85d3f952a8b03632a468f19405638d8a92 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-08-07 19:11:04 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-08-07 23:23:20 +0000 media-sound/jamin: 0.98.9_pre20170111 version bump, EAPI-7 Using tarballs from Debian, GCC-10 fix from Fedora, thank you very much. Closes: https://bugs.gentoo.org/524042 Closes: https://bugs.gentoo.org/632442 Closes: https://bugs.gentoo.org/632470 Closes: https://bugs.gentoo.org/637562 Closes: https://bugs.gentoo.org/710086 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-sound/jamin/Manifest | 2 + .../files/jamin-0.98.9_pre20170111-desktop.patch | 19 +++++++ .../files/jamin-0.98.9_pre20170111-gcc10.patch | 24 +++++++++ media-sound/jamin/jamin-0.98.9_pre20170111.ebuild | 59 ++++++++++++++++++++++ 4 files changed, 104 insertions(+)