ImageMagick fails to build.

Kurt Pfeifle kurt.pfeifle at googlemail.com
Mon Feb 11 14:53:14 PST 2013


My recent attempts to upgrade ImageMagick (to the currently offered
MacPorts-version @6.8.0-7) keep failing.

*# port installed imagemagick*
The following ports are currently installed:
  ImageMagick
@6.8.0-2_0+graphviz+hdri+jbig+jpeg2+lqr+mpeg+pango+perl+q16+rsvg+wmf
(active)

*# sudo port -p upgrade ImageMagick*

--->  Computing dependencies for ImageMagick
--->  Building ImageMagick
Error: org.macports.build for port ImageMagick returned: command execution
failed
Please see the log file for port ImageMagick for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets


Inside the log file I find the following lines:

coders/dot.c:139: error: too few arguments to function 'agread'
make[1]: *** [coders/coders_dot_la-dot.lo] Error 1


However, I'm at a loss how to fix this.

Event though it looks like a real problem with the IM source code (but I'm
not a developer, so I cannot really pin this down), I tried with the
following variants of commands, just in case it was the compiler being
over-cautious:

*# sudo port clean imagemagick*
*# sudo port upgrade -p imagemagick configure.compiler=apple-gcc-4.2*
*# sudo port clean imagemagick*
*# sudo port upgrade -p imagemagick configure.compiler=llvm-gcc-4.2*
*
*
I'd appreciate any hints about possible fixes or even temporary
workarounds....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130211/a214bb4a/attachment.html>


More information about the macports-users mailing list