Opened 12 years ago
Closed 11 years ago
#37784 closed defect (fixed)
ImageMagick @6.8.0-7_0+graphviz: In function 'ReadDOTImage': error: too few arguments to function 'agread'
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | mndavidoff (Monte Davidoff), mklein-de (Michael Klein), kasperligaard+macports@…, cooljeanius (Eric Gallager), someuser12, bgschaid@…, gorandodig (Goran Dodig), asahiro.g@…, nonstop.server@…, theorikbn@…, jenstroeger (Jens Troeger), cubranic@… | |
Port: | ImageMagick |
Description
Trying to build imagemagick +graphviz+jbig+jpeg2+q16+pango (because an upgrade of a depending library tried to rebuild a default imagemagick, which failed, so that old imagemagick +graphviz+jbig+jpeg2+q16±pango got deleted) fails here:
libtool: link: ( cd "coders/.libs" && rm -f "dng.la" && ln -s "../dng.la" "dng.la" ) /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I/opt/local/include/graphviz -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libxml2 -O2 -arch ppc -Wall -D_THREAD_SAFE -pthread -MT coders/coders_dot_la-dot.lo -MD -MP -MF coders/.deps/coders_dot_la-dot.Tpo -c -o coders/coders_dot_la-dot.lo `test -f 'coders/dot.c' || echo './'`coders/dot.c libtool: compile: /usr/bin/gcc-4.0 -std=gnu99 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I/opt/local/include/graphviz -I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libxml2 -O2 -arch ppc -Wall -D_THREAD_SAFE -pthread -MT coders/coders_dot_la-dot.lo -MD -MP -MF coders/.deps/coders_dot_la-dot.Tpo -c coders/dot.c -fno-common -DPIC -o coders/.libs/coders_dot_la-dot.o coders/dot.c: In function 'ReadDOTImage': coders/dot.c:139: error: too few arguments to function 'agread' make[1]: *** [coders/coders_dot_la-dot.lo] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.8.0-7' make: *** [all] Error 2
It's possible that before I had ImageMagick installed without Pango…
Attachments (1)
Change History (22)
Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)
Since some time configure reports:
configure: WARNING: unrecognized options: --disable-ltdl-install
comment:2 Changed 12 years ago by mndavidoff (Monte Davidoff)
I've run into the same problem (Mac OS X 10.6.8). The problem seems to be caused by the recent upgrade of graphviz to 2.30.0. This build fails with the same error:
$ port installed graphviz The following ports are currently installed: graphviz @2.30.0_0 (active) $ sudo port -vs install ImageMagick +graphviz
This build succeeds:
$ sudo port -vs install ImageMagick
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | ImageMagick added; imagemagick removed |
Status: | new → assigned |
Summary: | ImageMagick 6.8.0 does not build because function ReadDOTImage uses too few arguments in function 'agread' on PPC (here Leopard 10.5.8) → ImageMagick @6.8.0-7_0+graphviz: In function 'ReadDOTImage': error: too few arguments to function 'agread' |
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | michael.klein@… added |
---|
Has duplicate #37848. I need to try updating to newer ImageMagick, but I had been putting this off because I fear that library naming changes introduced in 6.8.0-8 will cause problems, though I haven't begun testing for that.
comment:6 Changed 12 years ago by kasperligaard+macports@…
Cc: | kasperligaard+macports@… added |
---|
Cc Me!
comment:18 Changed 11 years ago by nonstop.server@…
FYI: I no longer run into this issue and was able to install ImageMagic version 6.8.6-6.
% port -q installed name ImageMagick ImageMagick @6.8.6-6_0+graphviz+jbig+jpeg2+lqr+pango+rsvg+wmf+x11 (active)
comment:19 Changed 11 years ago by kasperligaard+macports@…
It also compiles fine for me now. I think it started working for me a couple of weeks ago.
comment:20 Changed 11 years ago by someuser12
It also works for me under Mac OS 10.8.4 and Mac OS 10.6.8 with ImageMagic version 6.8.6-6.
comment:21 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
main.log