Bug 845084 - bfd.h breaks build of packages with "error: #error config.h must be included before this header"
Summary: bfd.h breaks build of packages with "error: #error config.h must be included ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: binutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Clifton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-01 17:21 UTC by Hans de Goede
Modified: 2012-08-02 10:48 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-02 10:48:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hans de Goede 2012-08-01 17:21:02 UTC
bfd.h from the new binutils in rawhide has:

/* PR 14072: Ensure that config.h is included first.  */
#if !defined PACKAGE && !defined PACKAGE_VERSION
#error config.h must be included before this header
#endif

Which is clearly wrong for a public header installed in /usr/include, and is breaking the build for various packages, for example:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4340003
http://kojipkgs.fedoraproject.org//work/tasks/3/4340003/build.log

Regards,

Hans

Comment 1 Nick Clifton 2012-08-02 10:48:04 UTC
Fixed in binutils-2.22.52.0.4-7.fc18


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