[Fedora-packaging] No build ID note found - how to resolve this?

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Mon Jun 9 07:15:24 UTC 2008


Izhar Firdaus wrote, at 06/09/2008 12:07 PM +9:00:
> + /usr/lib/rpm/find-debuginfo.sh --strict-build-id
> /builddir/build/BUILD/libitl-0.6.4
> extracting debug info from
> /var/tmp/libitl-0.6.4-4.fc10-root-mockbuild/usr/lib/libitl.so.0.0.6
> *** ERROR: No build ID note found in
> /var/tmp/libitl-0.6.4-4.fc10-root-mockbuild/usr/lib/libitl.so.0.0.6
> 
> What should I do to resolve that?. FTBFS bug 449622 . This package
> previously builds fine on F9.

Your package are calling ld directly.
http://www.redhat.com/archives/fedora-maintainers/2007-August/msg00135.html

This patch seems to work.
----------------------------------------------------------------------------
--- libitl-0.6.4/Makefile.ld    2008-06-09 16:05:30.000000000 +0900
+++ libitl-0.6.4/Makefile       2008-06-09 16:06:23.000000000 +0900
@@ -23,7 +23,7 @@
        @false
 
 build/libitl.so: components
-       $(LD) build/*.o $(LDFLAGS) -shared -lm -lc -soname=$(SONAME) -o build/$(FULLNAME)
+       $(CC) build/*.o $(LDFLAGS) -shared -lm -lc -Wl,-soname,$(SONAME) -o build/$(FULLNAME)
        (cd build/ && ln -sf $(FULLNAME) $(SONAME))
        (cd build/ && ln -sf $(FULLNAME) libitl.so)
 
----------------------------------------------------------------------------

Regards,
Mamoru




More information about the Fedora-packaging mailing list