Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786516 - media-libs/gst-plugins-base-1.16.3 fails to compile
Summary: media-libs/gst-plugins-base-1.16.3 fails to compile
Status: RESOLVED DUPLICATE of bug 803017
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-28 16:29 UTC by Agostino Sarubbo
Modified: 2021-08-05 19:19 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,451.17 KB, text/plain)
2021-04-28 16:29 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-28 16:29:02 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-28 16:29:04 UTC
CC'ing also the author of the commit
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-28 16:29:06 UTC
Created attachment 703398 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2021-04-28 16:29:07 UTC
Possible context of error(s):

collect2: error: ld returned 1 exit status
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-28 16:30:36 UTC
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
Comment 5 poncho 2021-04-28 16:34:00 UTC
(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
Comment 6 Agostino Sarubbo gentoo-dev 2021-04-28 19:36:50 UTC
(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
Comment 7 Ionen Wolkens gentoo-dev 2021-04-30 07:27:31 UTC
(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
Comment 8 René Kjellerup 2021-08-05 18:41:38 UTC
removing binutils:2.36 fixed this issue for me

I also had binutils:2.35 + binutils-libs-2.35 installed alongside binutils:2.36
Comment 9 Ionen Wolkens gentoo-dev 2021-08-05 19:19:24 UTC
(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 ***