/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_open' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_read_double' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_command' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_seek' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-test-20200203-215003 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.6 [3] python3.7 (fallback) [4] python2.7 (fallback) Available Rust versions: [1] rust-1.41.0 * java-config: The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.242_p08 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm ghc: The Glorious Glasgow Haskell Compilation System, version 8.0.2 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sun, 09 Feb 2020 19:50:47 +0000 emerge -qpvO media-libs/coin [ebuild N ] media-libs/coin-4.0.0a_pre20191109 USE="exceptions test -debug -doc -javascript -man -openal -qthelp -threads"
Created attachment 613136 [details] emerge-info.txt
Created attachment 613138 [details] emerge-history.txt
Created attachment 613140 [details] environment
Created attachment 613142 [details] etc.portage.tbz2
Created attachment 613144 [details] logs.tbz2
Created attachment 613146 [details] media-libs:coin-4.0.0a_pre20191109:20200209-212910.log
Created attachment 613148 [details] temp.tbz2
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_open' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_read_double' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_command' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_seek' /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libsimage.so.1.8.0: undefined reference to `sf_close' These symbols are related to libsndfile support - in media-libs/simage-1.8.0. But I tried to build media-libs/coin-4.0.0 with either simage[sndfile] and simage[-sndfile], also coin[-openal] (removing all potential deliverers of sndfile symbols - and I'm unable to reproduce this linking error. Since coin-4.0.0 is now in portage and 4.0.0a_pre is nowhere to be found anymore, I'll close this bugreport.
I'm having these link errors with simage-1.8.0-r1 and coin-4.0.0 both compiled today, should we reopen this bug or shall I create a new one?
(In reply to Michael Moon from comment #9) > I'm having these link errors with simage-1.8.0-r1 and coin-4.0.0 both > compiled today, should we reopen this bug or shall I create a new one? simage[-sndfile] by the way, seems like it ignores the use flag.
Please attach your build logs.
I noticed simage-1.8.0 seemingly compiled with sndfile but no libsndfile in readelf -d /usr/lib64/libsimage.so which means it silently failed. I imagine this is the problem here even though I was not able to reproduce #708894 or #753482. Please try simage-1.8.1. It should resolve all automatic dependencies and silently not found dependencies, like with sndfile here.
*** Bug 770913 has been marked as a duplicate of this bug. ***
*** Bug 753482 has been marked as a duplicate of this bug. ***
I'm marking it as resolved. Please reopen this bug if you still see the problem with media-libs/simage-1.8.1.