Subject: Re: pkg/33331: graphics/png fails to build on amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ben Collver <collver@peak.org>
List: pkgsrc-bugs
Date: 04/22/2006 22:20:03
The following reply was made to PR pkg/33331; it has been noted by GNATS.

From: Ben Collver <collver@peak.org>
To: gnats-bugs@netbsd.org
Cc: wiz@netbsd.org
Subject: Re: pkg/33331: graphics/png fails to build on amd64
Date: Sat, 22 Apr 2006 15:17:43 -0700

 Using the patch from PR 33325 and my workaround for graphics/png, I get
 the following error:
 
 /bin/sh ./libtool --silent --tag=CC --mode=link cc  -O2 -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/include -Wall -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -lfreetype -lz -L/usr/pkg/lib -o utilities/animate -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/pkg/lib -Wl,--rpath -Wl,/usr/pkg/lib -lfreetype -lz -L/usr/pkg/lib utilities/animate.o magick/libMagick.la wand/libWand.la 
 /pkg_comp/obj/pkgsrc/graphics/ImageMagick/default/.buildlink/lib/libjasper.so:
 warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
 ld: warning: libfreetype.so.9, needed by /pkg_comp/obj/pkgsrc/graphics/ImageMagick/default/.buildlink/lib/libfontconfig.so,
 may conflict with libfreetype.so.6
 magick/.libs/libMagick.so: undefined reference to `png_set_asm_flags'
 magick/.libs/libMagick.so: undefined reference to `png_get_asm_flags'
 gmake: *** [utilities/animate] Error 1
 *** Error code 2
 
 Stop.
 make: stopped in /usr/pkgsrc/graphics/ImageMagick