Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 224379 - assertion failure extracting elf dependencies using rpmbuild
Summary: assertion failure extracting elf dependencies using rpmbuild
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-01-25 14:23 UTC by Scott R. Godin
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-08-07 11:39:11 UTC

Attachments (Terms of Use)
src rpm with additional %define in place (deleted)
2007-01-25 14:23 UTC, Scott R. Godin
no flags Details

Description Scott R. Godin 2007-01-25 14:23:56 UTC
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):

How reproducible:
every time

Steps to Reproduce:
1. rpmbuild --rebuild rox-filer-2.5-1.src.rpm
Actual results:
rpmbuild: rpmfc.c:967: rpmfcELF: Assertion `s != ((void *)0)' failed.
Abort (core dumped)

Expected results:
normal rebuild of rpm src into a package.

Additional info:
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> Abort
<WebDragon> Same thing with -P

Comment 1 Scott R. Godin 2007-01-25 14:23:59 UTC
Created attachment 146545 [details]
src rpm with additional %define in place

Comment 2 Panu Matilainen 2007-08-07 11:39:11 UTC
I can't reproduce this with F7 anymore, I suppose it's fixed by newer elfutils,
possibly in FC6 already. FC5 is EOL anyway...

Note You need to log in before you can comment on or make changes to this bug.