Subject: pkg/33610: missing symbols during link phase
To: None <,,>
From: Andreas Hallmann <>
List: pkgsrc-bugs
Date: 05/31/2006 12:20:01
>Number:         33610
>Category:       pkg
>Synopsis:       missing symbols during link phase
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 12:20:00 +0000 2006
>Originator:     Andreas Hallmann
>Release:        NetBSD 3.0_STABLE
Hallmann EDV Dienstleistungen
System: NetBSD nda 3.0_STABLE NetBSD 3.0_STABLE (AHASS5) #10: Fri May 26 12:48:08 CEST 2006 root@kukalda:/export/work/build.objs/v8/3.0/export/netbsd/netbsd-3-0/src/sys/arch/sparc/compile/AHASS5 sparc
Architecture: sparc
Machine: sparc
	Long standing linking problem on sparc arch. (>1y)
	Compiles and work nicely on i386.

	For a complete log see:

	or see bouyers bulk builds on list.

	A snipset is presented at the end.	
	compile textproc/jade on netbsd-sparc 
	Don't know if sparc64 is also affected.
	Sorry, I didn't manage. debian applies much more patches
	to get it current-gcc complient. Gcc's inability to compile
	software developed for more mature gcc-releases is really

	In order to get gtk-doc satisfied, it should use openjade on sparc.
	I will send-pr on this. 
	Without gtk-doc the whole gnome suit will be broken for sparc lovers.

	Openjade compiles fine and seems to have better support.
	Even so latest release is of 2003, we are still on the release before.
	Never the less openjade is a few years younger than the last jade release
	which was tested against gcc 2.8.5, do you remember ???

gmake[2]: Entering directory `/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/jade-1.2.1/spam'
c++ -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include   -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 spam.cxx
c++ -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include   -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 CopyEventHandler.cxx
c++ -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include   -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 MarkupEventHandler.cxx
c++ -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include   -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 spam_inst.cxx
/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/jade-1.2.1/libtool --mode=link c++ -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -O2 -pipe -mcpu=v8 -I/usr/include -I/usr/pkg/include -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include   -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\"  -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o spam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o  ../lib/ -lintl
mkdir .libs
c++ -O2 -pipe -mcpu=v8 -I/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/.buildlink/include -O2 -pipe -mcpu=v8 -pipe -mcpu=v8 -O0 -fno-implicit-templates -I. -I./../include -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\" -Wl,-R/usr/pkg/lib -o .libs/spam spam.o CopyEventHandler.o MarkupEventHandler.o spam_inst.o  -L/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/.buildlink/lib ../lib/.libs/ -lm -lintl -Wl,--rpath -Wl,/usr/pkg/lib
../lib/.libs/ undefined reference to `Vector<unsigned long>::reserve1(unsigned long)'
../lib/.libs/ undefined reference to `Vector<unsigned long>::~Vector()'
../lib/.libs/ undefined reference to `Vector<unsigned long>::Vector(Vector<unsigned long> const&)'
../lib/.libs/ undefined reference to `Vector<unsigned long>::append(unsigned long)'
../lib/.libs/ undefined reference to `Vector<unsigned long>::assign(unsigned long, unsigned long const&)'
gmake[2]: *** [spam] Error 1
gmake[2]: Leaving directory `/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/jade-1.2.1/spam'
gmake[1]: *** [spam] Error 2
gmake[1]: Leaving directory `/export/tmp/pkgsrc.obj/textproc/jade/work.moshus/jade-1.2.1'
gmake: *** [all] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/textproc/jade
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /export/tmp/pkgsrc.obj/textproc/jade/work.moshus/.work.log
*** Error code 1

make: stopped in /usr/pkgsrc/textproc/jade

   Please view the [1]work log for jade-1.2.1nb11
BULK> jade-1.2.1nb11 was marked as broken:
-rw-r--r--  1 root  wheel  176208 May 25 04:22 /usr/pkgsrc/textproc/jade/.broken.moshus.html
/usr/bin/make deinstall
===> Deinstalling for jade

   BULK> Marking all packages which depend upon jade-1.2.1nb11 as broken:
     * gtk-doc-1.5nb1 (textproc/gtk-doc) grep: /usr/pkgsrc/.broken.moshus.html: No such file or directory
     * GConf-1.0.9nb9 (devel/GConf)
     * soup-0.7.11nb5 (net/soup)
     * gtkhtml-1.1.10nb7 (www/gtkhtml)
     * gnucash-1.8.12nb3 (finance/gnucash)
     * gnome-vfs-1.0.5nb10 (sysutils/gnome-vfs)
     * gal-0.24nb2 (devel/gal)
     * control-center- (x11/control-center)
     * librsvg2-2.14.2nb1 (graphics/librsvg2)
     * gimp-2.2.10nb3 (graphics/gimp)
     * xsane-0.99.1nb2 (graphics/xsane)