Mantis - Resin
Viewing Issue Advanced Details
3267 trivial always 01-15-09 13:13 01-26-09 08:54
dicr  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003267: Patch: Fail to build Fedora-10 package on direct use of ld in makefile
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/dicr/rpmbuild/BUILD/resin-pro-4.0.s090115
extracting debug info from /var/tmp/resin-4.0-root/usr/lib/resin/libresin.so
*** ERROR: No build ID note found in /var/tmp/resin-4.0-root/usr/lib/resin/libresin.so

This problem is described at: http://www.redhat.com/archives/fedora-maintainers/2007-August/msg00135.html [^]

"packagers note: do not run ld directly

e.g. a makefile line:

    $(LD) -shared -o $@ $(objs)

should be:

    $(CC) -shared -o $@ $(objs)

Best practice is to use consistently the flags otherwise passed to
the compiler, and also use LDFLAGS, i.e.:

    $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $(objs)
"
Patch-file is attached to this report.
 resin-4.0.patch [^] (2,385 bytes) 01-15-09 13:13

Notes
(0003778)
ferg   
01-26-09 08:54   
Thanks!