https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/gst-plugins-base-1.16.3 fails to compile. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html If you think it is a GCC-11 related issue, please block bug 732706.
CC'ing also the author of the commit
Created attachment 703398 [details] build.log build log and emerge --info
Possible context of error(s): collect2: error: ld returned 1 exit status
Is your binutils(?) broken? Wl,/usr/lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libctf.so.0: version `LIBCTF_1.1' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld) collect2: error: ld returned 1 exit status
(In reply to Agostino Sarubbo from comment #1) > CC'ing also the author of the commit That's a mistake. I haven't done anything with media-libs/gst-plugins-base
(In reply to Sam James from comment #4) > Is your binutils(?) broken? > > Wl,/usr/lib64 > /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: /usr/lib64/libctf.so.0: version `LIBCTF_1.1' not found (required by > /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ > ld) > collect2: error: ld returned 1 exit status I don't think so because other packages do not have problems.. (In reply to poncho from comment #5) > (In reply to Agostino Sarubbo from comment #1) > > CC'ing also the author of the commit > > That's a mistake. I haven't done anything with media-libs/gst-plugins-base Sorry for being CC'ed but this was caused by commit 2eb15e6a23ee419081ae9cf954e9087f39ac7202
(In reply to Sam James from comment #4) > Is your binutils(?) broken? > > Wl,/usr/lib64 > /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: /usr/lib64/libctf.so.0: version `LIBCTF_1.1' not found (required by > /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ > ld) > collect2: error: ld returned 1 exit status 2021-04-28T18:06:11 >>> sys-libs/binutils-libs-2.35.2 Not sure for exact conditions but this sometime happens with binutils-2.36 while older binutils-libs-2.35.2 is installed, it shouldn't be loading the libctf.so that's in /usr/lib64
removing binutils:2.36 fixed this issue for me I also had binutils:2.35 + binutils-libs-2.35 installed alongside binutils:2.36
(In reply to René Kjellerup from comment #8) > removing binutils:2.36 fixed this issue for me > > I also had binutils:2.35 + binutils-libs-2.35 installed alongside > binutils:2.36 This issue should actually have been fixed by: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2676fe8169c7ca26e4bf7c608ed5ca21767c2c May have been still affected if didn't upgrade to binutils-2.36.2-r2 yet. Given essentially all the same root cause and not specific to individual packages, I'll mark duplicate. *** This bug has been marked as a duplicate of bug 803017 ***