Subject: pkg/33342: povray fails during build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: brad harder <bharder@methodlogic.net>
List: pkgsrc-bugs
Date: 04/23/2006 06:30:01
>Number:         33342
>Category:       pkg
>Synopsis:       povray fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 23 06:30:00 +0000 2006
>Originator:     bch
>Release:        NetBSD 3.0_STABLE
>Organization:
method digital logic
>Environment:
System: NetBSD manchester 3.0_STABLE NetBSD 3.0_STABLE (MANCHESTER2) #25: Thu Apr 20 15:16:42 EDT 2006 root@manchester:/usr/src/sys/arch/i386/compile/MANCHESTER2 i386
Architecture: i386
Machine: i386
>Description:
	povray fails to build with following error:
ld: warning: libz.so.0, needed by /usr/pkgsrc/graphics/povray/work/.x11-buildlink/lib/libtiff.so, may conflict with libz.so.1
../source/libpovray.a(png_pov.o)(.text+0x161a): In function `pov::PNG_Image::~PNG_Image()':
: undefined reference to `png_write_finish_row'
../source/libpovray.a(png_pov.o)(.text+0x182a): In function `pov::PNG_Image::~PNG_Image()':
: undefined reference to `png_write_finish_row'
../source/libpovray.a(png_pov.o)(.text+0x1a4a): In function `pov::PNG_Image::~PNG_Image()':
: undefined reference to `png_write_finish_row'
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/povray/work/povray-3.6.1/unix
*** Error code 1

>How-To-Repeat:
	in my environment, a simple 'make' in /usr/pkgsrc/graphics/povray
>Fix: