[Bug 340485] New: System-wide ImageMagick headers contain autotools macros from config.h
https://bugzilla.novell.com/show_bug.cgi?id=340485 Summary: System-wide ImageMagick headers contain autotools macros from config.h Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: nadvornik@novell.com ReportedBy: prusnak@novell.com QAContact: qa@suse.de Found By: --- When trying to compile kismet (uses ImageMagick) I got these build errors: In file included from configfile.h:22, from gpsmap.cc:48: config.h:208:1: error: "PACKAGE_STRING" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:604:1: error: this is the location of the previous definition In file included from configfile.h:22, from gpsmap.cc:48: config.h:211:1: error: "PACKAGE_TARNAME" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:607:1: error: this is the location of the previous definition In file included from configfile.h:22, from gpsmap.cc:48: config.h:214:1: error: "PACKAGE_VERSION" redefined In file included from /usr/include/magick/deprecate.h:32, from /usr/include/magick/MagickCore.h:142, from /usr/include/magick/api.h:28, from gpsmap.cc:47: /usr/include/magick/magick-config.h:610:1: error: this is the location of the previous definition make: *** [.depend] Error 1 System-wide ImageMagick headers should not contain autotools PACKAGE_* macros, because that prevents building of applications that use ImageMagick. -------- [prusnak@leira ~] grep -n PACKAGE_ /usr/include/magick/magick-config.h 583:#define PACKAGE_BUGREPORT "" 586:#define PACKAGE_NAME "" 589:#define PACKAGE_STRING "" 592:#define PACKAGE_TARNAME "" 595:#define PACKAGE_VERSION "" -------- [prusnak@leira ~] grep -Hn 'magick-config\.h' /usr/include/magick/* /usr/include/magick/deprecate.h:31:#include "magick/magick-config.h" /usr/include/magick/magick-config.h:1:/* magick/magick-config.h. Generated from magick-config.h.in by configure. */ /usr/include/magick/magick-config.h:2:/* magick/magick-config.h.in. Generated from configure.ac by autoheader. */ /usr/include/magick/MagickCore.h:29:# include "magick/magick-config.h" /usr/include/magick/MagickCore.h:31:# include "magick-config.h" /usr/include/magick/magick-type.h:31:#include "magick/magick-config.h" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340485#c1 Toni Harbaugh-Blackford <harbaugh@ncifcrf.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |harbaugh@ncifcrf.gov --- Comment #1 from Toni Harbaugh-Blackford <harbaugh@ncifcrf.gov> 2007-11-17 20:39:06 MST --- modified patch to setup/02-start.sh to check for firmware instead of having user hard-code those modules in a different location in /etc/sysconfig/kernel. patch to boot/04-udev.sh unchanged. --- setup/02-start.sh_orig 2007-10-24 03:34:12.000000000 -0400 +++ setup/02-start.sh 2007-11-17 22:27:38.000000000 -0500 @@ -119,8 +119,23 @@ save_var root if is_xen_kernel $kernel_version; then - RESOLVED_INITRD_MODULES="$domu_modules" + TEMP_INITRD_MODULES="$domu_modules" else - RESOLVED_INITRD_MODULES="$modules" + TEMP_INITRD_MODULES="$modules" fi + +RESOLVED_INITRD_MODULES="" +FIRMWARE_INITRD_MODULES="" + +for modname in $TEMP_INITRD_MODULES; do + if [ `modinfo $modname | egrep -c 'firmware_class'` -gt 0 ]; then + FIRMWARE_INITRD_MODULES="$FIRMWARE_INITRD_MODULES $modname" + else + RESOLVED_INITRD_MODULES="$RESOLVED_INITRD_MODULES $modname" + fi +done + save_var RESOLVED_INITRD_MODULES + +save_var FIRMWARE_INITRD_MODULES + -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340485#c2 --- Comment #2 from Toni Harbaugh-Blackford <harbaugh@ncifcrf.gov> 2007-11-17 20:39:55 MST --- oops, entered for wrong bug. ignore the stuff above sorry. Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340485#c3 Vladimir Nadvornik <nadvornik@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Vladimir Nadvornik <nadvornik@novell.com> 2007-11-30 08:55:32 MST --- Fixed package was submitted. Please test. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340485 User prusnak@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=340485#c4 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #4 from Pavol Rusnak <prusnak@novell.com> 2007-12-04 03:04:22 MST --- Build of kismet succeeded. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=340485 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com