tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

buildlink wrapper & qt4



Hi!

x11/qt4-tools-4.6.1 is failed to build for me:

libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/qt4/include -fno-exceptions -D_REENTRANT -fPIC -DQT_SHARED 
-DQT_NO_DBUS -DQHELP_LIB -DQT_CLUCENE_SUPPORT -DQT_NO_CAST_TO_ASCII 
-DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../../mkspecs/netbsd-g++ -I. -I../../../include/QtCore 
-I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtXml 
-I../../../include/QtSql -I../../../include -I../../../include/QtHelp 
-I.rcc/release-shared -I.moc/release-shared -I/usr/pkg/include -o 
.obj/release-shared/qhelpsearchresultwidget.lo qhelpsearchresultwidget.cpp
qhelpsearchresultwidget.cpp: In member function 'void 
QHelpSearchResultWidgetPrivate::showNextResultPage()':
qhelpsearchresultwidget.cpp:172: error: 'class QHelpSearchEngine' has no member 
named 'hitCount'
qhelpsearchresultwidget.cpp:178: error: 'class QHelpSearchEngine' has no member 
named 'hitCount'
qhelpsearchresultwidget.cpp: In member function 'void 
QHelpSearchResultWidgetPrivate::showLastResultPage()':
qhelpsearchresultwidget.cpp:187: error: 'class QHelpSearchEngine' has no member 
named 'hitCount'
qhelpsearchresultwidget.cpp: In member function 'void 
QHelpSearchResultWidgetPrivate::showPreviousResultPage()':
qhelpsearchresultwidget.cpp:217: error: 'class QHelpSearchEngine' has no member 
named 'hitCount'
qhelpsearchresultwidget.cpp: In member function 'void 
QHelpSearchResultWidgetPrivate::updateHitRange()':
qhelpsearchresultwidget.cpp:301: error: 'class QHelpSearchEngine' has no member 
named 'hitCount'


From work.log:

[*] /var/tmp/obj/pkgsrc/x11/qt4-tools/work/.wrapper/bin/c++ 
/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.wrapper/bin/c++ -c -O2 
-I/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.buildlink/include 
-I/usr/pkg/qt4/include 
-I/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.buildlink/include/freetype2 
-fno-exceptions -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DBUS -DQHELP_LIB 
-DQT_CLUCENE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT 
-DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB 
-DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE 
-I../../../mkspecs/netbsd-g++ -I. -I../../../include/QtCore 
-I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtXml 
-I../../../include/QtSql -I../../../include -I../../../include/QtHelp 
-I.rcc/release-shared -I.moc/release-shared qhelpsearchresultwidget.cpp -fPIC 
-DPIC -o .obj/release-shared/.libs/qhelpsearchresultwidget.o
<.> /var/tmp/obj/pkgsrc/x11/qt4-tools/work/.gcc/bin/g++ -c -O2 
-I/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.buildlink/include -I/usr/pkg/qt4/include 
-I/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.buildlink/include/freetype2 -fno-exceptions 
-D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DBUS -DQHELP_LIB -DQT_CLUCENE_SUPPORT 
-DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_SQL_LIB 
-DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../../mkspecs/netbsd-g++ -I. -I../../../include/QtCore 
-I../../../include/QtNetwork -I../../../include/QtGui -I../../../include/QtXml 
-I../../../include/QtSql -I../../../include -I../../../include/QtHelp 
-I.rcc/release-shared -I.moc/release-shared qhelpsearchresultwidget.cpp -fPIC -DPIC 
-o .obj/release-shared/.libs/qhelpsearchresultwidget.o 
-L/var/tmp/obj/pkgsrc/x11/qt4-tools/work/.buildlink/lib



-I/usr/pkg/qt4/include is not transformed.
(I have qt4-tools-4.5.3nb2, it contains header for QHelpSearchEngine, not have 
hitCount).

How to fix it?

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index