Red Hat Bugzilla – Bug 224379
assertion failure extracting elf dependencies using rpmbuild
Last modified: 2007-11-30 17:11:54 EST
Description of problem:
build of rox-filer srpm updated with latest rox-filer sources fails to build as
an rpm, but builds fine by hand.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpmbuild --rebuild rox-filer-2.5-1.src.rpm
rpmbuild: rpmfc.c:967: rpmfcELF: Assertion `s != ((void *)0)' failed.
Abort (core dumped)
normal rebuild of rpm src into a package.
discussion with jbj of #rpm produced the following additional information
<jbj> try adding this to your spec file
<jbj> %define _use_internal_dependency_generator 0
<jbj> that uses ldd instead of traversing the assertion failure in rpmfc.c
This was done, and new src.rpm (attached) builds fine with this define in place.
He suggested I try the following once the new rox-filer rpm was installed:
<WebDragon> $ rpm -ql rox-filer | /usr/lib/rpm/rpmdeps -R
<WebDragon> rpmdeps: rpmfc.c:967: rpmfcELF: Assertion `s != ((void *)0)' failed.
<WebDragon> Same thing with -P
Created attachment 146545 [details]
src rpm with additional %define in place
I can't reproduce this with F7 anymore, I suppose it's fixed by newer elfutils,
possibly in FC6 already. FC5 is EOL anyway...