problem in creating rpm "No build ID note found in"
by Sunil_Gupta2@Dell.com
Hello List,
I am trying to create an rpm in Fedora14 and it fails when find-debuginfo.sh is executed by rpm during build process.
Error comes "No build ID note found in" googling says passing LDFLAGS+=--build-id in make will resolve the problem but it does not. Same package is created in RHEL5.6
Without any errors . As far as I understand the gcc by default uses the --build-id while compiling.
[root@localhost ~]# gcc pro.c
[root@localhost ~]# readelf -a a.out | grep -i build-id
02 .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt .text .fini .rodata .eh_frame_hdr .eh_frame
05 .note.ABI-tag .note.gnu.build-id
How to resolve this?
--Sunil
12 years, 11 months
Upgrade scriptlet
by Thomas Moschny
Hi,
when I want a script to be run during package upgrade, is it better to
call it in %postun if $1>=1, or to call it in
%post if $1>1? Is one of the two possibilities preferred?
Thanks,
Thomas
--
Thomas Moschny <thomas.moschny(a)gmail.com>
12 years, 11 months