Bug 340331

Summary: ladspa build fails due to missing --build-id flag to ld
Product: [Fedora] Fedora Reporter: Doug Chapman <dchapman>
Component: ladspaAssignee: Thomas Vander Stichele <thomas>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-22 05:36:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163350    
Attachments:
Description Flags
patch to add --build-id flag none

Description Doug Chapman 2007-10-19 19:11:35 UTC
Description of problem:
In Fedora 8 all binaries are required to have the build id info.  Gcc will
automatically pass the --build-id flag to ld however packages that call ld
directly need to specifically add the --build-id flag.  Without this rpmbuild
fails on the find-debuginfo.

It fails with:
*** ERROR: No build ID note found in
/var/tmp/ladspa-1.12-8.fc8-root-root/usr/lib64/ladspa/amp.so


Version-Release number of selected component (if applicable):
ladspa-1.12-8

How reproducible:
100%

Steps to Reproduce:
On a build system with Fedora 8 T3 or later
1. build the ladspa rpm using rpmbuild
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Doug Chapman 2007-10-19 19:11:35 UTC
Created attachment 232961 [details]
patch to add --build-id flag

Comment 2 Roland McGrath 2007-10-19 20:18:59 UTC
Wrong fix.  Don't use ld directly at all.  There are other problems with this,
and missing --build-id is just the new one that makes us the notice the package
behaving badly.  This common case was mentioned when I posted to
fedora-devel-list about the whole subject.  Use $(CC) -shared instead of $(LD)
-shared, send that change upstream.

Comment 3 Doug Chapman 2008-02-22 05:36:13 UTC
now building in rawhide, closing.