Red Hat Bugzilla – Bug 477729
Missing PPC64 Build Dependency
Last modified: 2008-12-23 07:43:34 EST
Description of problem:
Kexec-tools failed to build on system without elfutils-devel-static.ppc64 installed.
521-makedumpfile.c:5143: warning: unused variable 'offset_page'
522-makedumpfile.c:5142: warning: unused variable 'paddr'
523-/usr/bin/ld: skipping incompatible /usr/lib/libdw.a when searching for -ldw
524-/usr/bin/ld: cannot find -ldw
525-collect2: ld returned 1 exit status
526:make: *** [makedumpfile] Error 1
527:make: Leaving directory
528:error: Bad exit status from /var/tmp/rpm-tmp.3896 (%build)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install elfutils-devel-static.ppc
2. uninstall elfutils-devel-static.ppc64
3. rpmbuild -ba kexec-tools.spec
Failed to build
Exit gracefully like,
# rpmbuild -bp /usr/src/redhat/SPECS/kexec-tools.spec
error: Failed build dependencies:
elfutils-devel-static.ppc64 is needed by kexec-tools-1.102pre-56.el5.ppc64
As per our email conversation, I'm closing this as NOTABUG. I really don't think this is anything that needs to be fixed in kexec-tools at the moment. Its alsmot like rpm is getting very confused about what is allowedto satisfy dependencies during a build.
We can re-open this is we find that this actaully does need to be fixed in the spec file, but given what you have above this really sounds like an rpm bug to me.