Subject: pkg/22901: openjade won't build in -current
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 09/23/2003 01:31:12
>Number:         22901
>Category:       pkg
>Synopsis:       openjade won't build in -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 23 06:32:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 1.6ZC
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6ZC NetBSD 1.6ZC (VASH) #0: Sun Sep 21 04:19:29 CDT 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	It looks as though the change from gcc 2.95 to 3.3 has broken
	openjade.  Here's where it fails.

===> *** No /usr/src/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Building for openjade-1.3
gmake[1]: Entering directory `/usr/src/pkgsrc/textproc/openjade/work/openjade-1.3'
gmake[2]: Entering directory `/usr/src/pkgsrc/textproc/openjade/work/openjade-1.3/lib'
c++ -O0 -fno-implicit-templates -I. -I./../include -I./../generic -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/usr/pkg/share/sgml/openjade/catalog\" -DDEFAULT_SCHEME_BUILTINS=\"/usr/pkg/share/sgml/openjade/builtins.dsl\" -c parser_inst.cxx -o parser_inst.o
In file included from parser_inst.cxx:36:
../include/Ptr.cxx: In destructor `Ptr<T>::~Ptr() [with T = AttributeValue]':
../include/Ptr.h:55:   instantiated from `ConstPtr<T>::ConstPtr() [with T = AttributeValue]'
../include/Attribute.h:36:   instantiated from here
../include/Ptr.cxx:22: error: `unref' undeclared (first use this function)
../include/Ptr.cxx:22: error: (Each undeclared identifier is reported only once 
   for each function it appears in.)
../include/Ptr.cxx:23: warning: invalid use of undefined type `struct 
   AttributeValue'
../include/Attribute.h:28: warning: forward declaration of `struct 
   AttributeValue'
In file included from ../include/UnivCharsetDesc.h:13,
                 from ../include/CharsetInfo.h:11,
                 from ../include/Sd.h:13,
                 from ../include/Markup.h:13,
                 from ../include/Entity.h:22,
                 from ../include/Dtd.h:14,
                 from parser_inst.cxx:40:
../include/RangeMap.h: At global scope:
../include/RangeMap.h:57: warning: `Vector<RangeMapRange<From, To> 
   >::const_iterator' is implicitly a typename
../include/RangeMap.h:57: warning: implicit typename is deprecated, please see 
   the documentation for details
In file included from Recognizer.h:15,
                 from parser_inst.cxx:61:
../include/Owner.cxx: In destructor `Owner<T>::~Owner() [with T = BlankTrie]':
../include/CopyOwner.h:16:   instantiated from `CopyOwner<T>::CopyOwner() [with T = BlankTrie]'
Trie.h:22:   instantiated from here
../include/Owner.cxx:15: warning: invalid use of undefined type `struct 
   BlankTrie'
Trie.h:18: warning: forward declaration of `struct BlankTrie'
gmake[2]: *** [parser_inst.lo] Error 1
gmake[2]: Leaving directory `/usr/src/pkgsrc/textproc/openjade/work/openjade-1.3/lib'
gmake[1]: *** [lib] Error 2
gmake[1]: Leaving directory `/usr/src/pkgsrc/textproc/openjade/work/openjade-1.3'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/src/pkgsrc/textproc/openjade
*** Error code 1

Stop.
make: stopped in /usr/src/pkgsrc/textproc/openjade
>How-To-Repeat:
	Build openjade.

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: