#18153 closed defect (fixed)
ImageMagick 6.4.8-7: invalid operands to binary %
Reported by: | dershow | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | ImageMagick |
Description
I had ImageMagick 6.4.8-1_1 installed and I just tried to upgrade to 6.4.8-7_0 and I get some compiler errors. I tried doing a clean --all and upgrade again, but I got the same errors.
Below is the full set of errors that I see:
sudo port upgrade ImageMagick Password: ---> Fetching ImageMagick ---> Attempting to fetch ImageMagick-6.4.8-7.tar.bz2 from http://distfiles.macports.org/ImageMagick ---> Verifying checksum(s) for ImageMagick ---> Extracting ImageMagick ---> Configuring ImageMagick ---> Building ImageMagick Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/work/ImageMagick-6.4.8-7" && make all " returned error 2 Command output: mv -f magick/.deps/magick_libMagickCore_la-composite.Tpo magick/.deps/magick_libMagickCore_la-composite.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-compress.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-compress.Tpo -c -o magick/magick_libMagickCore_la-compress.lo `test -f 'magick/compress.c' || echo './'`magick/compress.c mv -f magick/.deps/magick_libMagickCore_la-compress.Tpo magick/.deps/magick_libMagickCore_la-compress.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-configure.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-configure.Tpo -c -o magick/magick_libMagickCore_la-configure.lo `test -f 'magick/configure.c' || echo './'`magick/configure.c mv -f magick/.deps/magick_libMagickCore_la-configure.Tpo magick/.deps/magick_libMagickCore_la-configure.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-constitute.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-constitute.Tpo -c -o magick/magick_libMagickCore_la-constitute.lo `test -f 'magick/constitute.c' || echo './'`magick/constitute.c mv -f magick/.deps/magick_libMagickCore_la-constitute.Tpo magick/.deps/magick_libMagickCore_la-constitute.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-decorate.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-decorate.Tpo -c -o magick/magick_libMagickCore_la-decorate.lo `test -f 'magick/decorate.c' || echo './'`magick/decorate.c mv -f magick/.deps/magick_libMagickCore_la-decorate.Tpo magick/.deps/magick_libMagickCore_la-decorate.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-delegate.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-delegate.Tpo -c -o magick/magick_libMagickCore_la-delegate.lo `test -f 'magick/delegate.c' || echo './'`magick/delegate.c mv -f magick/.deps/magick_libMagickCore_la-delegate.Tpo magick/.deps/magick_libMagickCore_la-delegate.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-deprecate.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-deprecate.Tpo -c -o magick/magick_libMagickCore_la-deprecate.lo `test -f 'magick/deprecate.c' || echo './'`magick/deprecate.c mv -f magick/.deps/magick_libMagickCore_la-deprecate.Tpo magick/.deps/magick_libMagickCore_la-deprecate.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-display.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-display.Tpo -c -o magick/magick_libMagickCore_la-display.lo `test -f 'magick/display.c' || echo './'`magick/display.c mv -f magick/.deps/magick_libMagickCore_la-display.Tpo magick/.deps/magick_libMagickCore_la-display.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-distort.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-distort.Tpo -c -o magick/magick_libMagickCore_la-distort.lo `test -f 'magick/distort.c' || echo './'`magick/distort.c mv -f magick/.deps/magick_libMagickCore_la-distort.Tpo magick/.deps/magick_libMagickCore_la-distort.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-draw.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-draw.Tpo -c -o magick/magick_libMagickCore_la-draw.lo `test -f 'magick/draw.c' || echo './'`magick/draw.c mv -f magick/.deps/magick_libMagickCore_la-draw.Tpo magick/.deps/magick_libMagickCore_la-draw.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-effect.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-effect.Tpo -c -o magick/magick_libMagickCore_la-effect.lo `test -f 'magick/effect.c' || echo './'`magick/effect.c mv -f magick/.deps/magick_libMagickCore_la-effect.Tpo magick/.deps/magick_libMagickCore_la-effect.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-enhance.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-enhance.Tpo -c -o magick/magick_libMagickCore_la-enhance.lo `test -f 'magick/enhance.c' || echo './'`magick/enhance.c mv -f magick/.deps/magick_libMagickCore_la-enhance.Tpo magick/.deps/magick_libMagickCore_la-enhance.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-exception.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-exception.Tpo -c -o magick/magick_libMagickCore_la-exception.lo `test -f 'magick/exception.c' || echo './'`magick/exception.c mv -f magick/.deps/magick_libMagickCore_la-exception.Tpo magick/.deps/magick_libMagickCore_la-exception.Plo /bin/sh ./libtool --silent --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I./config -I./ltdl -I./ltdl -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -I/opt/local/include/libxml2 -I/opt/local/include/lqr-1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -O2 -Wall -W -D_THREAD_SAFE -MT magick/magick_libMagickCore_la-fx.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-fx.Tpo -c -o magick/magick_libMagickCore_la-fx.lo `test -f 'magick/fx.c' || echo './'`magick/fx.c magick/fx.c: In function 'ApplyEvaluateOperator': magick/fx.c:1197: error: invalid operands to binary % make[1]: *** [magick/magick_libMagickCore_la-fx.lo] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1
I am trying to build on an Intel machine with 10.5.6
Attachments (1)
Change History (8)
comment:1 Changed 16 years ago by blb@…
Cc: | ryandesign@… removed |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|---|
Summary: | ImageMagick 7.4.8-7 won't build → ImageMagick 6.4.8-7: invalid operands to binary % |
Changed 16 years ago by dershow
Attachment: | ImageMagick.txt.bz2 added |
---|
Requested detailed build file
comment:3 Changed 16 years ago by dershow
Also, the variants that I have are: +hdri+jbig+lqr+q16 I think that q16 is probably a default variant. The others have not given me any trouble in any recent updates.
comment:4 Changed 16 years ago by pony777@…
This appears to be an ImageMagick issue. See:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=12962&start=0
comment:5 follow-up: 6 Changed 16 years ago by pony777@…
The ImageMagick folks have rectified this in version 6.4.8-8 (also fixed something else resulting in the current release, version 6.4.8-9).
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Curious... It works for me on 10.5/Intel. I wonder what differs between your system and mine. Perhaps the variants chosen? Could you attach the complete debug log so I can compare it to mine? Please run:
Then attach ImageMagick.txt from your desktop to this ticket.
If the file is large, you may want to first compress it with:
However, I see that this problem has also been reported to the developers of ImageMagick and that they are preparing a new version to address this to be released in a few days.