Date: Thu, 25 May 2006 13:23:12 GMT From: In Ly <alter_ego@icmail.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/97906: Portupgrade to ImageMagick-6.2.7.7 without SVG support fails. Message-ID: <200605251323.k4PDNCxO016258@www.freebsd.org> Resent-Message-ID: <200605251330.k4PDUG1P049216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97906 >Category: ports >Synopsis: Portupgrade to ImageMagick-6.2.7.7 without SVG support fails. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 25 13:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: In Ly >Release: FreeBSD-6.0 >Organization: >Environment: FreeBSD lunix.vic.net 6.0-SECURITY FreeBSD 6.0-SECURITY #0: Tue Apr 18 08:56:09 UTC 2006 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Trying to upgrade ImageMagick-6.2.5.5_4 using portupgrade. Previous upgrades succeeded with no problem. In /usr/X11R6/include there is no librsvg, but there is librsvg-2 which contains librsvg. Tried command: portupgrade ImageMagick-6.2.5.5_4 The following error resulted if /bin/sh ./libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand -I./ltdl -I./ltdl -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/libxml2 -O2 -fno-strict-aliasing -pipe -Wall -MT coders/magick_libMagick_la-svg.lo -MD -MP -MF "coders/.deps/magick_libMagick_la-svg.Tpo" -c -o coders/magick_libMagick_la-svg.lo `test -f 'coders/svg.c' || echo './'`coders/svg.c; \ then mv -f "coders/.deps/magick_libMagick_la-svg.Tpo" "coders/.deps/magick_libMagick_la-svg.Plo"; else rm -f "coders/.deps/magick_libMagick_la-svg.Tpo"; exit 1; fi coders/svg.c:94:26: librsvg/rsvg.h: No such file or directory coders/svg.c:2587: error: syntax error before "gpointer" coders/svg.c: In function `SVGSetImageSize': coders/svg.c:2592: error: `context' undeclared (first use in this function) coders/svg.c:2592: error: (Each undeclared identifier is reported only once coders/svg.c:2592: error: for each function it appears in.) coders/svg.c:2593: error: `width' undeclared (first use in this function) coders/svg.c:2594: error: `height' undeclared (first use in this function) coders/svg.c: In function `ReadSVGImage': coders/svg.c:2681: error: `GdkPixbuf' undeclared (first use in this function) coders/svg.c:2681: error: `pixel_info' undeclared (first use in this function) coders/svg.c:2684: error: `GError' undeclared (first use in this function) coders/svg.c:2684: error: `error' undeclared (first use in this function) coders/svg.c:2696: error: syntax error before '*' token coders/svg.c:2705: error: `RsvgHandle' undeclared (first use in this function) coders/svg.c:2707: warning: implicit declaration of function `rsvg_handle_new' coders/svg.c:2707: error: incompatible types in assignment coders/svg.c:2708: error: syntax error before ')' token coders/svg.c:2710: warning: implicit declaration of function `rsvg_handle_set_size_callback' coders/svg.c:2711: warning: implicit declaration of function `rsvg_handle_set_dpi_x_y' coders/svg.c:2714: error: syntax error before ')' token coders/svg.c:2716: warning: implicit declaration of function `rsvg_handle_write' coders/svg.c:2717: warning: implicit declaration of function `rsvg_handle_close' coders/svg.c:2718: error: syntax error before ')' token coders/svg.c:2719: warning: implicit declaration of function `g_error_free' coders/svg.c:2720: warning: implicit declaration of function `rsvg_handle_get_pixbuf' coders/svg.c:2721: warning: implicit declaration of function `rsvg_handle_free' coders/svg.c:2722: error: syntax error before ')' token coders/svg.c:2727: warning: implicit declaration of function `gdk_pixbuf_get_width' coders/svg.c:2728: warning: implicit declaration of function `gdk_pixbuf_get_height' coders/svg.c:2732: error: `p' undeclared (first use in this function) coders/svg.c:2732: warning: implicit declaration of function `gdk_pixbuf_get_pixels' coders/svg.c:2760: warning: implicit declaration of function `g_object_unref' coders/svg.c:2760: warning: implicit declaration of function `G_OBJECT' coders/svg.c: In function `RegisterSVGImage': coders/svg.c:2901: warning: implicit declaration of function `rsvg_init' coders/svg.c: In function `UnregisterSVGImage': coders/svg.c:2961: warning: implicit declaration of function `rsvg_term' gmake: *** [coders/magick_libMagick_la-svg.lo] Error 1 *** Error code 2 Stop in /usr/ports/graphics/ImageMagick. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade41984.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! graphics/ImageMagick (ImageMagick-6.2.5.5_4) (missing header) Saw problem report ports/97889 which is very similar to my problem. Tried to patch the makefile as suggested there and reinstall: patch had no effect, still the same error. >How-To-Repeat: Try upgrading ImageMagick-6.2.5.5_4 built without SVG support using portupgrade >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605251323.k4PDNCxO016258>