Page 1 of 1

Can't build ImageMagick anymore.

Posted: 2013-02-10T00:49:37-07:00
by lleche
Since a week or so I can't build Imagemagick anymore.
Latest attempt was using ImageMagick 6.8.2-8, on MacOS X (10.7.5) using uptodate macports libraries.
Seems that the issue is with graphviz library (I have graphviz @2.30.0, Revision 2 (graphics) installed)

Here is part of the log file:


CC coders/coders_dpx_la-dpx.lo
coders/dot.c:139:40: error: too few arguments to function call, expected 2, have 1
graph=agread(GetBlobFileHandle(image));
~~~~~~ ^
/opt/local/include/graphviz/cgraph.h:268:1: note: 'agread' declared here
extern Agraph_t *agread(void *chan, Agdisc_t * disc);
^
1 error generated.
make[2]: *** [coders/coders_dot_la-dot.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/opt/local/var/macports/build/_Volumes_Data_Users_Landry_dports-dev_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.8.2-8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_Volumes_Data_Users_Landry_dports-dev_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.8.2-8'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_Volumes_Data_Users_Landry_dports-dev_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.8.2-8'
Command failed: cd "/opt/local/var/macports/build/_Volumes_Data_Users_Landry_dports-dev_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.8.2-8" && /usr/bin/make -j4 -w all
Exit code: 2
Error: org.macports.build for port ImageMagick returned: command execution failed
DEBUG: Error code: CHILDSTATUS 31944 2
DEBUG: Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"


Regards.

Landry

Re: Can't build ImageMagick anymore.

Posted: 2013-02-10T07:59:28-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.2-9 Beta available by sometime tomorrow. Thanks.