Created attachment 379534 [details] temp_build.zip Hello, Compiling media-sound/lash gives following error : /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: lash_synth-synth.o: undefined reference to symbol 'exp@@GLIBC_2.2.5' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'exp@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line /lib64/libm.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[3]: *** [lash_synth] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64/clients/synth' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64/clients' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64' make: *** [all] Error 2 * ERROR: media-sound/lash-0.5.4-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/lash-0.5.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/lash-0.5.4-r2::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:lash-0.5.4-r2:20140624-004704.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/lash-0.5.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/lash-0.5.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4-abi_x86_64.amd64' * S: '/var/tmp/portage/media-sound/lash-0.5.4-r2/work/lash-0.5.4' This is corrected emerging package with LDFLAGS="-lm" (as explained here for same error on other package : http://forums.gentoo.org/viewtopic-t-989110-start-0.html Thank you!
Comment on attachment 379534 [details] temp_build.zip Please attach separate plain text files next time.
Created attachment 380500 [details, diff] lash-0.5.4-underlinking.patch Add this in the ebuild and -lm linking should work
*** This bug has been marked as a duplicate of bug 367589 ***