Bug 442449

Summary: Please add "missing" -I/usr/include/rpm option to CFLAGS
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideKeywords: EasyFix
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 6.8-5.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-13 15:26:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch which solves the problem for me none

Description Robert Scheck 2008-04-14 20:48:59 UTC
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):
gdb-6.8-1

How reproducible:
Rebuild gdb with having rpm-devel of another rpm implementation installed; it
will fail, because -I/usr/include/rpm in CFLAGS is missing.

Expected results:
Having -I/usr/include/rpm somewhere in CFLAGS...

Comment 1 Robert Scheck 2008-04-14 20:51:07 UTC
Created attachment 302390 [details]
Patch which solves the problem for me

Comment 2 Jan Kratochvil 2008-04-14 20:58:31 UTC
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.


Comment 3 Jan Kratochvil 2008-04-16 15:02:24 UTC
Committed to Rawhide:
* Wed Apr 16 2008 Jan Kratochvil <jan.kratochvil> - 6.8-3
- Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449).


Comment 4 Fedora Update System 2008-05-12 12:23:56 UTC
gdb-6.8-5.fc9 has been submitted as an update for Fedora 9

Comment 5 Fedora Update System 2008-05-13 15:25:56 UTC
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.