Subject: pkg/19045: PovRay doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <shnek@chemi.muni.cz>
List: netbsd-bugs
Date: 11/14/2002 10:11:47
>Number:         19045
>Category:       pkg
>Synopsis:       PovRay doesn't compile - probably bad checksum or patch information?
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 14 01:12:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lubos Vrbka
>Release:        NetBSD 1.6
>Organization:
	Masaryk University
>Environment:
	
	
System: NetBSD bethany 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
PovRay installation from source fails:
bethany# pwd
/usr/pkgsrc/graphics/povray
bethany# make
=> Checksum mismatch for povray-3.1g/povuni_s.tgz.
=> Checksum OK for povray-3.1g/povuni_d.tgz.
Make sure the Makefile and checksum file (/usr/pkgsrc/graphics/povray/distinfo)
are up to date.  If you want to override this check, type
"make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/povray

with 
bethany# make NO_CHECKSUM=yes
===> Extracting for povray-3.1gnb1
===> Required installed package png>=1.2.1: png-1.2.4 found
===> Patching for povray-3.1gnb1
===> Applying NetBSD patches for povray-3.1gnb1
File to patch: <ENTER>
No file found--skip this patch? [n] y
1 out of 1 hunks ignored--saving rejects to source/optout.h.rej
Can't create source/optout.h.rej, output is in /tmp/patchr10813c: No such file or directory
Patch /usr/pkgsrc/graphics/povray/patches/patch-aa failed
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/povray
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/povray

output file /tmp/patchr10813c
==============
***************
*** 35,42 ****

  #define POV_RAY_VERSION "3.1g"

- #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled by:"
- #define DISTRIBUTION_MESSAGE_2 "FILL IN NAME HERE........................."
  #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for su
pporting this version."

  /* Number of help pages (numbered 0 to MAX_HELP_PAGE). */
--- 35,42 ----

  #define POV_RAY_VERSION "3.1g"

+ #define DISTRIBUTION_MESSAGE_1 "This is an unofficial version compiled for"
+ #define DISTRIBUTION_MESSAGE_2 "The NetBSD Packages collection (http://www.net
bsd.org/)"
  #define DISTRIBUTION_MESSAGE_3 "The POV-Ray Team(tm) is not responsible for su
pporting this version."

  /* Number of help pages (numbered 0 to MAX_HELP_PAGE). */
==============

i've got the (probably) newest pkgsrc tree (did global cvs update -dP on Wednesday Nov 13) so there probably shouldn't be problem of old pkg version

>How-To-Repeat:
	cd /usr/pkgsrc/graphics/povray && make
	cd /usr/pkgsrc/graphics/povray && make NO_CHECKSUM=yes
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: