Bug 74521 - SRPM doesn't compile
Summary: SRPM doesn't compile
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ImageMagick
Version: 8.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact: Mike McLean
: 73624 74755 75277 75336 76844 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2002-09-25 22:28 UTC by Kevin Sonney
Modified: 2013-04-02 04:17 UTC (History)
8 users (show)

Clone Of:
Last Closed: 2003-05-12 12:12:20 UTC

Attachments (Terms of Use)
Nearly fixed spec (14.80 KB, text/plain)
2002-09-27 19:22 UTC, Kevin Sonney
no flags Details
tarball of new IM patches and spec file (7.45 KB, application/octet-stream)
2002-10-11 20:29 UTC, Eric Bourque
no flags Details

Description Kevin Sonney 2002-09-25 22:28:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809

Description of problem:
The shipping ImageMagic Source RPM for psyche fails at package time with
orphened files. Mostly stuff for the -devel rpm

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. get ImageMagick SRPM
2. rpm -ivh same
3. rpmbuild -ba path/to/ImageMagick.spec

Actual Results:  RPM build errors:
    Installed (but unpackaged) file(s) found:

Expected Results:  RPMS I can install.

Additional info:

The new maintainer for the package should look into this. It's an easy enough
fix to the spec file, I'm sure. Heck, I'll probably have a patch later today.

Comment 1 Kevin Sonney 2002-09-27 19:22:04 UTC
Created attachment 77524 [details]
Nearly fixed spec

Comment 2 Kevin Sonney 2002-09-27 19:23:55 UTC
OK, attached a specfile that does everything except a post install/uninstall fix
to the system's perllocal.pod files. 

Good luck, and my the new owner (not me!) give it a final fix.

Comment 3 Tom "spot" Callaway 2002-10-01 14:19:30 UTC
*** Bug 74755 has been marked as a duplicate of this bug. ***

Comment 4 Nils Philippsen 2002-10-11 18:15:52 UTC
*** Bug 73624 has been marked as a duplicate of this bug. ***

Comment 5 Nils Philippsen 2002-10-11 18:17:07 UTC
*** Bug 75277 has been marked as a duplicate of this bug. ***

Comment 6 Nils Philippsen 2002-10-11 18:18:23 UTC
*** Bug 75336 has been marked as a duplicate of this bug. ***

Comment 7 Eric Bourque 2002-10-11 20:27:42 UTC
As I mentioned in 75336, I created a patch for the spec file which seemed to work.

Since then, I made some more changes since the magick/image.h file assumed the
inclusion of <stdlib.h> and <stdio.h> (and hence didn't work with gcc-3.2), and
decided to upgrade to the 5.4.9-1 source at the same time which required
updating some of the previous RH patches for IM.

The paths for ImageMagick includes have always bothered me somewhat in the
RedHat packaging - the idea of having a /usr/X11R6/include/X11/magick/magick <-
yes two magicks seems wrong. My patches and new spec file put all the C IM
headers in /usr/X1R6/include/X11/magick, and puts the main C++ header there and
the other C++ headers in /usr/X11R6/include/X11/magick/Magick++. I patched the
Magick-config files to return the appropriate paths: Magick-config --cppflags
returns /usr/X11R6/include/X11 so that #include <magick/api.h> works as in the
examples, and Magick++-config --cppflags returns /usr/X11R6/include/X11/magick
so that #include <Magick++.h> and #include <Magick++/Image.h> work as in the

I will upload the patches and new spec file here, but if you want to have a look
at the new srpm, you can get it from here:


Comment 8 Eric Bourque 2002-10-11 20:29:03 UTC
Created attachment 80044 [details]
tarball of new IM patches and spec file

Comment 9 Mike McLean 2002-11-11 16:28:23 UTC
*** Bug 76844 has been marked as a duplicate of this bug. ***

Comment 10 Bernie Innocenti 2002-11-13 00:17:30 UTC
Also the binary RPM ImageMagick-devel is missing some header files (magick_config.h, api.h 
and possibily others). 

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