Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668700

Summary: media-libs/gst-plugins-base-1.14.1 fails to compile when upgrading to profile 17.0
Product: Gentoo Linux Reporter: Erik Wallin <erikw>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik Wallin 2018-10-15 09:44:46 UTC
It seems that gst-plugins-base uses libraries from the currently installed gst-plugins-base when building. This means that compiling with gcc 7 fails when the previous installation is compiled with an older gcc.

I'm not sure what the reason is for this issue, but the symptom is that linking fails due to missing symbols.

The resolution for me was to unmerge gst-plugins-base and emerge it again.

My guess is that the library include path wrongly includes system libraries before the ones in the build directory. This could very well be an upstream problem.

I know this bug report is lacking details, but I though I'd report it as soon as possible so that others experiencing the same issue can benefit from knowing how to work around the issue.

As I understand it there have been several changes in gcc that could be the root cause. Gentoo release 17.0 enables PIE. This seems to be the most likely cause. It was while upgrading from Gentoo 13 and rebuilding -e @world that this issue appeared.

I'll update this report with details of the failed build process. It could be tricky to reproduce this problem, since it would involve disabling PIE. Perhaps it can be done on gst-plugins-base alone. That remains to be tested.
Comment 1 Jonas Stein gentoo-dev 2018-10-15 21:31:30 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.

Also I suggest you investigate the problem with the help of our support channels
https://www.gentoo.org/get-involved/irc-channels/