Ticket #15 (assigned task)

Opened 3 years ago

Last modified 3 years ago

rpmfcELF: Assertion `s != ((void *)0)' failed

Reported by: rstober Assigned to: pmatilai (accepted)
Priority: major Milestone:
Component: rpm Version: RPM Development
Keywords: Cc:

Description

I'm trying to build an RPM. I previously ran into problem where the build would fail due to failure to brp-strip the binaries. The error message was something like:

/usr/bin/strip: Unable to recognise the format of the input file / home/mydir/RPM/BinaryName

So I added exit 0 to the top of brp-strip, and got past that error. But now when I get to the end of the %file section I get this error:

rpmbuild: rpmfc.c:1079: rpmfcELF: Assertion `s != ((void *)0)' failed.

google search has so far been fruitless. Can anyone help me out with this?

Thank you,

Robert

Change History

12/12/08 07:20:34 changed by pmatilai

  • status changed from new to assigned.

Rpm 4.4.2.x and earlier have various places where rpmbuild dies on assert() instead of cleanly erroring out, but to know which of those you're hitting .. line 1079 of rpmfc.c doesn't match what I'm looking at, which rpm version is this (rpm --version)?

"Unable to recognise the format of the input file / home/mydir/RPM/BinaryName" suggests that the binary is something non-native, but what exactly is it? In any case, you can probably work around the error by adding "%define _use_internal_dependency_generator 0" to the spec.