Red Hat Bugzilla – Bug 442449
Please add "missing" -I/usr/include/rpm option to CFLAGS
Last modified: 2008-05-13 11:26:06 EDT
Description of problem:
Please add "missing" -I/usr/include/rpm option to CFLAGS. I think this should
not hurt anything, but it makes other rpm implementations usable to rebuild gdb
against. Thank you.
Version-Release number of selected component (if applicable):
Rebuild gdb with having rpm-devel of another rpm implementation installed; it
will fail, because -I/usr/include/rpm in CFLAGS is missing.
Having -I/usr/include/rpm somewhere in CFLAGS...
Created attachment 302390 [details]
Patch which solves the problem for me
Thanks, understood, to be applied for F9, the librpm integrating patch is now an
ugly hack already as it does not use the autotools magic, it should get cleaned
up later for the upstream.
Committed to Rawhide:
* Wed Apr 16 2008 Jan Kratochvil <email@example.com> - 6.8-3
- Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449).
gdb-6.8-5.fc9 has been submitted as an update for Fedora 9
gdb-6.8-5.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.