Subject: kphotobook won't build
To: None <pkgsrc-users@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 08/20/2006 22:30:29
Trying to build kphotobook, I get the following messages:

        c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/pkg/xorg/include  -I/usr/pkg/include -I/usr/pkg/xorg/include  -DQT_THREAD_SUPPORT -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkg/include/freetype2  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/include/krb5 -I/usr/pkg/include/freetype2 -fno-exceptions -fno-check-new -fno-common -fexceptions  -c -o xmlwriter.o `test -f 'xmlwriter.cpp' || echo './'`xmlwriter.cpp
xmlwriter.h:57: error: 'QTextStream' has not been declared
xmlwriter.h:58: error: 'QTextStream' has not been declared
xmlwriter.h:59: error: 'QTextStream' has not been declared
xmlwriter.h:60: error: 'QTextStream' has not been declared
xmlwriter.h:61: error: 'QTextStream' has not been declared
xmlwriter.cpp: In member function 'void XmlWriter::store(QFile*)':
xmlwriter.cpp:74: error: no matching function for call to 'XmlWriter::dumpSourceDirs(QTextStream&, SourceDir*&, const char [7])'
xmlwriter.h:57: note: candidates are: void XmlWriter::dumpSourceDirs(int&, SourceDir*, QString)
xmlwriter.cpp:90: error: no matching function for call to 'XmlWriter::dumpTagNodes(QTextStream&, TagNode*&, QString)'
xmlwriter.h:58: note: candidates are: void XmlWriter::dumpTagNodes(int&, TagNode*, QString)
xmlwriter.cpp:99: error: no matching function for call to 'XmlWriter::dumpFiles(QTextStream&, SourceDir*&, QString)'
xmlwriter.h:59: note: candidates are: void XmlWriter::dumpFiles(int&, SourceDir*, QString)
xmlwriter.cpp: At global scope:
xmlwriter.cpp:110: error: prototype for 'void XmlWriter::dumpSourceDirs(QTextStream&, SourceDir*, QString)' does not match any in class 'XmlWriter'
xmlwriter.h:57: error: candidate is: void XmlWriter::dumpSourceDirs(int&, SourceDir*, QString)
xmlwriter.cpp:131: error: prototype for 'void XmlWriter::dumpTagNodes(QTextStream&, TagNode*, QString)' does not match any in class 'XmlWriter'
xmlwriter.h:58: error: candidate is: void XmlWriter::dumpTagNodes(int&, TagNode*, QString)
xmlwriter.cpp:157: error: prototype for 'void XmlWriter::dumpFiles(QTextStream&, SourceDir*, QString)' does not match any in class 'XmlWriter'
xmlwriter.h:59: error: candidate is: void XmlWriter::dumpFiles(int&, SourceDir*, QString)
xmlwriter.cpp: In member function 'void XmlWriter::dumpFiles(QTextStream&, SourceDir*, QString)':
xmlwriter.cpp:165: error: no matching function for call to 'XmlWriter::dumpFile(QTextStream&, File*&, QString&)'
xmlwriter.h:60: note: candidates are: void XmlWriter::dumpFile(int&, File*, QString)
xmlwriter.cpp: At global scope:
xmlwriter.cpp:181: error: prototype for 'void XmlWriter::dumpFile(QTextStream&, File*, QString)' does not match any in class 'XmlWriter'
xmlwriter.h:60: error: candidate is: void XmlWriter::dumpFile(int&, File*, QString)
xmlwriter.cpp: In member function 'void XmlWriter::dumpFile(QTextStream&, File*, QString)':
xmlwriter.cpp:192: error: no matching function for call to 'XmlWriter::dumpAssoc(QTextStream&, FileTagNodeAssoc*&, QString&)'
xmlwriter.h:61: note: candidates are: void XmlWriter::dumpAssoc(int&, FileTagNodeAssoc*, QString)
xmlwriter.cpp: At global scope:
xmlwriter.cpp:200: error: prototype for 'void XmlWriter::dumpAssoc(QTextStream&, FileTagNodeAssoc*, QString)' does not match any in class 'XmlWriter'
xmlwriter.h:61: error: candidate is: void XmlWriter::dumpAssoc(int&, FileTagNodeAssoc*, QString)
gmake[3]: *** [xmlwriter.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/graphics/kphotobook/work/kphotobook-0.0.6/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/graphics/kphotobook/work/kphotobook-0.0.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/kphotobook/work/kphotobook-0.0.6'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/kphotobook

This is with pkgsrc HEAD from yesterday, on i386-current from about six
weeks ago.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb