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)

main.log (934 bytes) - added by ballapete (Peter "Pete" Dyballa) 12 years ago.
main.log

Download all attachments as: .zip

Change History (22)

Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

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:3 Changed 12 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

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: newassigned
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:7 Changed 12 years ago by gorandodig (Goran Dodig)

Cc: goran@… added

Cc Me!

comment:8 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 12 years ago by someuser12

Cc: macosx12345@… added

Cc Me!

comment:10 Changed 12 years ago by bgschaid@…

Cc: bgschaid@… added

Cc Me!

comment:11 Changed 12 years ago by gorandodig (Goran Dodig)

Cc: goran@… removed

Cc Me!

comment:12 Changed 12 years ago by gorandodig (Goran Dodig)

Cc: goran@… added

Cc Me!

comment:13 Changed 12 years ago by asahiro.g@…

Cc: asahiro.g@… added

Cc Me!

comment:14 Changed 12 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:15 Changed 12 years ago by theorikbn@…

Cc: theorikbn@… added

Cc Me!

comment:16 Changed 12 years ago by jenstroeger (Jens Troeger)

Cc: jens.troeger@… added

Cc Me!

comment:17 Changed 12 years ago by cubranic@…

Cc: cubranic@… 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 in reply to:  description 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: assignedclosed
Note: See TracTickets for help on using tickets.