Red Hat Bugzilla – Bug 189673
should not ship (unmodified) 'magick-config.h' file
Last modified: 2008-04-25 09:30:21 EDT
Description of problem:
ImageMagick-devel ships a /usr/include/magick/magick-config.h file containing
lot of default autoconf stuff. E.g.
| #define HAVE_ASSERT_H 1
| #define HAVE_DLERROR 1
| #define PACKAGE_NAME "magick/magick.h"
When a program includes ImageMagick headers it include this magick-config.h file
too. Depending on compiler switches, the wrong macros might be defined resp.
will conflict with current ones.
E.g. when compile 'kismet', I get
| config.h:175:1: warning: "PACKAGE_BUGREPORT" redefined
| In file included from /usr/include/magick/ImageMagick.h:29,
| from /usr/include/magick/api.h:28,
| from gpsmap.cc:47:
| /usr/include/magick/magick-config.h:494:1: warning: this is the location of
the previous definition
The autoconf's 'config.h' files must never be shipped unmodified. I suggest to
remove magick-config.h file from the package and replace the used macros in the
shipped headers manually.
Version-Release number of selected component (if applicable):
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
Quick intro: I'm now a comaintainer of ImageMagick, and thus going through all
the open bugs.
magick-config.h now prefixes all its defines with MAGICKCORE_, closing.