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

Bug 305571

Summary: media-video/noad: fails tests
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED FIXED    
Severity: QA CC: media-video
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
noad-0.7.0.20100119-asneeded.patch
build.log

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-17 14:13:44 UTC
I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details).

Please note that this bug _might_ apply to -Wl,--as-needed in LDFLAGS as well; in both cases it should be fixed. Also, if this is due to the package in question not respecting user-defined LDFLAGS, you should get to fix that too.

Check the attached build log.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-02-17 14:13:56 UTC
Created attachment 220037 [details]
Build log
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-02-24 11:27:46 UTC
Created attachment 220953 [details, diff]
noad-0.7.0.20100119-asneeded.patch
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2010-02-24 11:29:14 UTC
Created attachment 220955 [details]
build.log

Although there is more broken than just linking, see build.log.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2010-02-24 11:30:28 UTC
(In reply to comment #3)
> Created an attachment (id=220955) [details]
> build.log
> 
> Although there is more broken than just linking, see build.log.
> 

I forgot to say that its caused due to "--with-tools".
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-02-25 18:44:55 UTC
(In reply to comment #3)
> Created an attachment (id=220955) [details]
> build.log
> 
> Although there is more broken than just linking, see build.log.
> 

Indeed. I've applied your -Wl,--as-needed patch anyway, to get this bug off the asneeded tracking bug.

+  25 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+  +files/patches-0.7.x/noad-0.7.0.20100119-asneeded.patch,
+  noad-0.7.0.20100119.ebuild:
+  Fix -Wl,--as-needed failure with "make check" wrt #305571, thanks to
+  Christian Ruppert for patch.
Comment 6 Christian Ruppert (idl0r) gentoo-dev 2011-01-20 14:14:30 UTC
Actual version is "fine" and has no --with-tools.