Re: Build ID problem with erlang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 18 Aug 2007 22:11:15 +0200, Gérard Milmeister wrote:
> I get an "No build ID note found" while building a new release of
> erlang. The object .so file in question linked built using "gcc
> -shared", so there must be some other problem. Can someone with more
> knowledge than I look into this?
> Here is the build log:
> http://koji.fedoraproject.org/koji/getfile?taskID=108562&name=build.log

# extracting debug info from /var/tmp/erlang-R11B-5.2.fc8-root-kojibuilder/usr/lib64/erlang/lib/crypto-1.5.1.1/priv/obj/crypto_drv.o
# *** ERROR: No build ID note found in /var/tmp/erlang-R11B-5.2.fc8-root-kojibuilder/usr/lib64/erlang/lib/crypto-1.5.1.1/priv/obj/crypto_drv.o

This is not a complaint about .so but about a .o file.
It is correct as the build-id note is useless in the kernel unloadable file so
it is not produced there by gcc.

it appears to me as this file should not be included in the final .rpm and
it got there accidentally due to a too generic .spec rule:
	%files
	...
	%{_libdir}/erlang

There should be probably in %install some command like:
	find $RPM_BUILD_ROOT/%{_libdir}/erlang -name "*.o" | xargs rm -f
or more specific (?)
	rm -rf $RPM_BUILD_ROOT/%{_libdir}/erlang/lib/*/priv


Regards,
Jan

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux