Subject: pkg/33411: ImageMagick fails to build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oster@netbsd.org>
List: pkgsrc-bugs
Date: 05/02/2006 15:40:00
>Number:         33411
>Category:       pkg
>Synopsis:       ImageMagick fails to build on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 02 15:40:00 +0000 2006
>Originator:     oster@netbsd.org
>Release:        NetBSD 3.99.18
>Organization:
>Environment:
	NetBSD quadrapus 3.99.18 NetBSD 3.99.18 (QUADRAPUS) #1: Thu Apr 27 14:20:16 CST 2006  oster@quadrapus:/u1/builds/build42/src/sys/arch/amd64/compile/QUADRAPUS amd64
Architecture: amd64
Machine: amd64
>Description:

attempt to do a 'make package' in /usr/pkgsrc/graphics/ImageMagick
on an amd64 box.  Watch it die:

	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/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -I/usr/X11R6/include -I/usr/pkg/include/libxml2  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -MT coders/magick_libMagick_la-png.lo -MD -MP -MF "coders/.deps/magick_libMagick_la-png.Tpo" -c -o coders/magick_libMagick_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c; \
        then mv -f "coders/.deps/magick_libMagick_la-png.Tpo" "coders/.deps/magick_libMagick_la-png.Plo"; else rm -f "coders/.deps/magick_libMagick_la-png.Tpo"; exit 1; fi
coders/png.c: In function `ReadOnePNGImage':
coders/png.c:1758: warning: implicit declaration of function `png_access_version'
coders/png.c:1767: error: `png_ptr' undeclared (first use in this function)
coders/png.c:1767: error: (Each undeclared identifier is reported only once
coders/png.c:1767: error: for each function it appears in.)
gmake: *** [coders/magick_libMagick_la-png.lo] Error 1
*** Error code 2
...

>How-To-Repeat:
	cd /usr/pkgsrc/graphics/ImageMagick
	make package
>Fix:
	please :)