Subject: pkg/15986: print/ghostscript (6.01) won't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 03/20/2002 14:09:53
>Number:         15986
>Category:       pkg
>Synopsis:       print/ghostscript[-nox11] (6.01) won't build
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 20 11:12:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-2001/03/20
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD 1.5W
Architecture: i386
Machine: i386
>Description:

	print/ghostscript[-nox11] (6.01) won't build.

>How-To-Repeat:

	both packages suffer the same failure during build:

gcc `cat ./object/cc.tr`  -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -I./src -I./object  -o ./object/gdevstp-util.o -c -DDISABLE_NLS ./src/gdevstp-util.c

[[ ... lots and lots of warnings ... ]]

./src/gdevstp-util.c: In function `init_stp_debug':
./src/gdevstp-util.c:1546: `VERSION' undeclared (first use in this function)
./src/gdevstp-util.c:1546: (Each undeclared identifier is reported only once
./src/gdevstp-util.c:1546: for each function it appears in.)
./src/gdevstp-util.c:1546: `RELEASE_DATE' undeclared (first use in this function)
gmake: *** [object/gdevstp-util.o] Error 1
*** Error code 2

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/print/ghostscript
*** Error code 1

Stop.
make: stopped in /work/woods/m-NetBSD-pkgsrc/print/ghostscript


>Fix:

	unknown

	(I can think of a couple of bad hacks involving '-D', but....)

>Release-Note:
>Audit-Trail:
>Unformatted: