Bug 845084 - bfd.h breaks build of packages with "error: #error config.h must be included before this header"
bfd.h breaks build of packages with "error: #error config.h must be included ...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: binutils (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nick Clifton
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-01 13:21 EDT by Hans de Goede
Modified: 2012-08-02 06:48 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-02 06:48:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Hans de Goede 2012-08-01 13:21:02 EDT
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 06:48:04 EDT
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.