Subject: Failed to build devel/doxygen on NetBSD-3.99.21/i386
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@mail.ru>
List: tech-pkg
Date: 06/14/2006 14:43:36
pkgsrc tree was completely updated from today's CVS

$ uname -a
NetBSD NBSD1 3.99.21 NetBSD 3.99.21 (GENERIC) #0: Thu Jun  8 23:39:52 
NOVST 2006  toor@NBSD1:/usr/build/obj/i386/sys/arch/i386/compile/GENERIC 
i386

$ gcc --version
gcc (GCC) 4.1.2 20060603 prerelease (NetBSD nb1 20060602)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- cut ---
===> Checking for vulnerabilities in doxygen-1.4.5nb5
=> Checksum SHA1 OK for doxygen-1.4.5.src.tar.gz.
=> Checksum RMD160 OK for doxygen-1.4.5.src.tar.gz.
===> Installing dependencies for doxygen-1.4.5nb5
=> Required installed package gmake>=3.78: gmake-3.81 found
=> Required installed package x11-links>=0.25: x11-links-0.30 found
=> Required installed package 
{ghostscript,ghostscript-afpl,ghostscript-esp,ghostscript-gnu}>=6.01: 
ghostscript-gnu-8.15nb3 found
=> Required installed package 
{ghostscript,ghostscript-afpl,ghostscript-esp,ghostscript-gnu}>=6.01: 
ghostscript-gnu-8.15nb3 found
=> Required installed package perl>=5.0: perl-5.8.8nb2 found
=> Required installed package graphviz>=2.6nb5: graphviz-2.6nb5 found
=> Required installed package libltdl>=1.5.10: libltdl-1.5.22 found
=> Required installed package fontconfig>=2.3.2nb2: fontconfig-2.3.2nb3 
found
=> Required installed package gd>=2.0.33nb3: gd-2.0.33nb4 found
=> Required installed package freetype2>=2.1.10nb1: freetype2-2.2.1 found
=> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
=> Required installed package png>=1.2.9nb2: png-1.2.10 found
=> Required installed package expat>=2.0.0nb1: expat-2.0.0nb1 found
=> Required installed package tk>=8.4.12nb1: tk-8.4.13 found
=> Required installed package tcl>=8.4.7nb1: tcl-8.4.13 found
=> Required installed package python23>=2.3.5nb6: python23-2.3.5nb9 found
=> Required installed package teTeX-bin>=3.0nb7: teTeX-bin-3.0nb13 found
===> Overriding tools for doxygen-1.4.5nb5
===> Extracting for doxygen-1.4.5nb5
===> Patching for doxygen-1.4.5nb5
=> Applying pkgsrc patches for doxygen-1.4.5nb5
/usr/bin/touch /usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/src/doxytag.l
===> Creating toolchain wrappers for doxygen-1.4.5nb5
===> Configuring for doxygen-1.4.5nb5
=> Fixing hardcoded path to the Perl interpreter
   Autodetected platform netbsd-g++...
   Checking for GNU make tool... using /usr/pkg/bin/gmake
   Checking for GNU install tool... using /usr/bin/install
   Checking for dot (part of GraphViz)... using /usr/pkg/bin/dot
   Checking for perl... using /usr/pkg/bin/perl
   Created Makefile from Makefile.in...
   Created qtools/Makefile from qtools/Makefile.in...
   Created src/Makefile from src/Makefile.in...
   Created examples/Makefile from examples/Makefile.in...
   Created doc/Makefile from doc/Makefile.in...
   Created addon/doxywizard/Makefile from addon/doxywizard/Makefile.in...
   Created addon/doxmlparser/src/Makefile from 
addon/doxmlparser/src/Makefile.in...
   Created addon/doxmlparser/test/Makefile from 
addon/doxmlparser/test/Makefile.in...
   Created addon/doxmlparser/examples/metrics/Makefile from 
addon/doxmlparser/examples/metrics/Makefile.in...
   Created libpng/Makefile from libpng/Makefile.in...
   Created libmd5/Makefile from libmd5/Makefile.in...
   Created qtools/qtools.pro from qtools/qtools.pro.in...
   Created src/libdoxygen.pro from src/libdoxygen.pro.in...
   Created src/libdoxycfg.pro from src/libdoxycfg.pro.in...
   Created src/doxygen.pro from src/doxygen.pro.in...
   Created src/doxytag.pro from src/doxytag.pro.in...
   Created addon/doxywizard/doxywizard.pro from 
addon/doxywizard/doxywizard.pro.in...
   Created addon/doxmlparser/src/doxmlparser.pro from 
addon/doxmlparser/src/doxmlparser.pro.in...
   Created addon/doxmlparser/test/xmlparse.pro from 
addon/doxmlparser/test/xmlparse.pro.in...
   Created addon/doxmlparser/examples/metrics/metrics.pro from 
addon/doxmlparser/examples/metrics/metrics.pro.in...
   Created libpng/libpng.pro from libpng/libpng.pro.in...
   Created libmd5/libmd5.pro from libmd5/libmd5.pro.in...
   Generating src/lang_cfg.h...
===> Building for doxygen-1.4.5nb5
echo "char versionString[]=\"1.4.5\";" > src/version.cpp
/usr/pkg/bin/gmake -C qtools
gmake[1]: Entering directory 
`/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/qtools'
env 
TMAKEPATH=/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/tmake/lib/netbsd-g++ 
/usr/pkg/bin/perl 
/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/tmake/bin/tmake qtools.pro 
 >Makefile.qtools
/usr/pkg/bin/gmake -f Makefile.qtools    all
gmake[2]: Entering directory 
`/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/qtools'
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qbuffer.o qbuffer.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qcollection.o qcollection.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/scstring.o scstring.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qdatastream.o qdatastream.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qdatetime.o qdatetime.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qdir.o qdir.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qfile.o qfile.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qfileinfo.o qfileinfo.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qgarray.o qgarray.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qgcache.o qgcache.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qgdict.o qgdict.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qglist.o qglist.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qglobal.o qglobal.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qgvector.o qgvector.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qiodevice.o qiodevice.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qregexp.o qregexp.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qstring.o qstring.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qtextstream.o qtextstream.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qtextcodec.o qtextcodec.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qstringlist.o qstringlist.cpp
g++ -c -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.3 
-I. -o ../objects/qxml.o qxml.cpp
qxml.h:214: warning: 'class QXmlReader' has virtual functions but 
non-virtual destructor
qxml.h:402: warning: 'class QXmlContentHandler' has virtual functions 
but non-virtual destructor
qxml.h:419: warning: 'class QXmlErrorHandler' has virtual functions but 
non-virtual destructor
qxml.h:428: warning: 'class QXmlDTDHandler' has virtual functions but 
non-virtual destructor
qxml.h:436: warning: 'class QXmlEntityResolver' has virtual functions 
but non-virtual destructor
qxml.h:443: warning: 'class QXmlLexicalHandler' has virtual functions 
but non-virtual destructor
qxml.h:456: warning: 'class QXmlDeclHandler' has virtual functions but 
non-virtual destructor
./qvaluestack.h: In member function 'T QValueStack<T>::pop() [with T = 
QMap<QString, QString>]':
qxml.cpp:513:   instantiated from here
./qvaluestack.h:57: error: cannot convert 
'QValueListIterator<QMap<QString, QString> >' to 'const char*' for 
argument '1' to 'int remove(const char*)'
./qvaluestack.h: In member function 'T QValueStack<T>::pop() [with T = 
QString]':
qxml.cpp:2499:   instantiated from here
./qvaluestack.h:57: error: cannot convert 'QValueListIterator<QString>' 
to 'const char*' for argument '1' to 'int remove(const char*)'
gmake[2]: *** [../objects/qxml.o] Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/qtools'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/pkgsrc/devel/doxygen/work/doxygen-1.4.5/qtools'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/doxygen
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/devel/doxygen/work/.work.log
===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/doxygen
--- cut ---

Any ideas?

// wbr