Subject: pkg/17596: textproc/jade fails to build
To: None <gnats-bugs@gnats.netbsd.org>
From: None <epg@pretzelnet.org>
List: netbsd-bugs
Date: 07/14/2002 15:05:56
>Number:         17596
>Category:       pkg
>Synopsis:       textproc/jade fails to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 14 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Gillespie
>Release:        NetBSD 1.6_BETA2
>Organization:
>Environment:
System: NetBSD wundagore.pretzelnet.org 1.6_BETA2 NetBSD 1.6_BETA2 ($Rev: 75 $) #2: Thu Jun 13 01:16:22 EST 2002 epg@wundagore.pretzelnet.org:/u/src/sys/arch/i386/compile/WUNDAGORE i386
Architecture: i386
Machine: i386
>Description:

When i try to build textproc/jade on NetBSD 1.6_BETA2, i get the
following error:

c++ -I/u1/pkgsrc/textproc/jade/work/.buildlink/include -I/u1/pkgsrc/textproc/jade/work/.buildlink/include -O2 -Werror -g -I/u1/pkgsrc/textproc/jade/work/.buildlink/include -O2 -Werror -g -O0 -fno-implicit-templates -I. -I./../include -I./../grove -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSP_HAVE_BOOL=1 -DSP_HAVE_LOCALE=1 -DSP_HAVE_GETTEXT=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/pkg/share/sgml/jade/catalog\" -c GroveBuilder.cxx  -fPIC -DPIC -o .libs/GroveBuilder.o
cc1plus: warnings being treated as errors
GroveBuilder.cxx:291: warning: `class GroveImpl' only defines a private destructor and has no friends
gmake[2]: *** [GroveBuilder.lo] Error 1
gmake[2]: Leaving directory `/u1/pkgsrc/textproc/jade/work/jade-1.2.1/spgrove'
gmake[1]: *** [spgrove] Error 2
gmake[1]: Leaving directory `/u1/pkgsrc/textproc/jade/work/jade-1.2.1'
gmake: *** [all] Error 2
*** Error code 2

I got it to build by manually setting CXXFLAGS not to include -Werror.

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: