py-qt4-core fails build

Manuel Stühn freebsdnewbie at freenet.de
Fri Jul 27 19:39:49 UTC 2007


Hello,
unfortunately I'm not able to build py-qt4-core:

Script started on Fri Jul 27 18:54:28 2007
Feanor at AMD64:...ports/devel/py-qt4-core# make install
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for py24-qt4-core-4.2_1
===>  Extracting for py24-qt4-core-4.2_1
=> MD5 Checksum OK for PyQt-x11-gpl-4.2.tar.gz.
=> SHA256 Checksum OK for PyQt-x11-gpl-4.2.tar.gz.
===>  Patching for py24-qt4-core-4.2_1
===>  Applying FreeBSD patches for py24-qt4-core-4.2_1
===>   py24-qt4-core-4.2_1 depends on file: /usr/local/bin/sip - found
===>   py24-qt4-core-4.2_1 depends on file: /usr/local/bin/python2.4 - found
===>   py24-qt4-core-4.2_1 depends on package: qt4-corelib>=4.3.0 - found
===>   py24-qt4-core-4.2_1 depends on package: qmake>=4.3.0 - found
===>   py24-qt4-core-4.2_1 depends on shared library: qscintilla2.1 - found
===>  Configuring for py24-qt4-core-4.2_1
( cd /usr/ports/devel/py-qt4-core/work/PyQt-x11-gpl-4.2 && /usr/bin/env 
PYTHON="/usr/local/bin/python2.4" MOC="/usr/local/bin/moc-qt4" 
UIC="/usr/local/bin/uic-qt4" CPPFLAGS=" " L
IBS=""  QMAKE="/usr/local/bin/qmake-qt4" QMAKESPEC="freebsd-g++" 
QTDIR="/usr/local" SHELL=/bin/sh 
CONFIG_SHELL=/bin/sh  /usr/local/bin/python2.4 
configure.py -b /usr/local/bin -c
 -j 
2 -d /usr/local/lib/python2.4/site-packages/PyQt4  -q /usr/local/bin/qmake-qt4 -a -u -v /usr/local/share/py-sip -r )
Determining the layout of your Qt installation...
This is the GPL version of PyQt 4.2 (licensed under the GNU General Public
License) for Python 2.4.4 on freebsd6.
Qt v4.3.0 free edition is being used.
SIP 4.6 is being used.
The Qt header files are in /usr/local/include.
The QtCore Qt library is in /usr/local/lib.
The Qt binaries are in /usr/local/bin.
The Qt mkspecs directory is in /usr/local/share/qt4.
These PyQt modules will be built: QtCore.
The PyQt modules will be installed in
/usr/local/lib/python2.4/site-packages/PyQt4.
The QScintilla API file will be installed in
/usr/local/share/qt4/qsci/api/python.
The PyQt .sip files will be installed in /usr/local/share/py-sip.
pyuic4 will be installed in /usr/local/bin.
Generating the C++ source for the QtCore module...
Creating the Makefile for the QtCore module...
Creating top level Makefile...
Creating QPy libraries Makefile...
Creating elementtree Makefile...
Creating pyuic4 wrapper...
Creating pyuic4 Makefile...
Creating pyqtconfig.py...
===>  Building for py24-qt4-core-4.2_1
c++ -c -pipe -fPIC -g -Wall -W -DQT_CORE_LIB -I. -I/usr/local/include -I/usr/local/include/python2.4 -I/usr/local/mkspecs/freebsd-g++ -I/usr/local/include/QtCore -o 
sipQtCorepart
0.o sipQtCorepart0.cpp
In file included from sip/QtCore/qbitarray.sip:26,
                 from sipQtCorepart0.cpp:26:
/usr/local/include/qbitarray.h:53: error: invalid function declaration
/usr/local/include/qbitarray.h:69: error: invalid function declaration
/usr/local/include/qbitarray.h:113: error: invalid use of undefined type 
`struct QBitArray'
/usr/local/include/QtCore/qmetatype.h:220: error: forward declaration of 
`struct QBitArray'
/usr/local/include/qbitarray.h: In member function `QBitArray& 
QBitArray::operator=(const QBitArray&)':
/usr/local/include/qbitarray.h:113: error: `assign' was not declared in this 
scope
/usr/local/include/qbitarray.h:113: warning: unused variable 'assign'
/usr/local/include/qbitarray.h: At global scope:
[...]
another 1000 lines or so of errors and warnings
[...]
/usr/local/include/qmap.h:379: error: 'struct QMapNode<int, QVariant>' has no 
member named 'left'
/usr/local/include/QtCore/qglobal.h: At global scope:
/usr/local/include/QtCore/qglobal.h: In instantiation of `QTypeInfo<QUrl>':
/usr/local/include/QtCore/qlist.h:341:   instantiated from `void 
QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QUrl]'
/usr/local/include/QtCore/qlist.h:539:   instantiated from `void 
QList<T>::free(QListData::Data*) [with T = QUrl]'
/usr/local/include/QtCore/qlist.h:514:   instantiated from `QList<T>::~QList() 
[with T = QUrl]'
sipQtCorepart0.cpp:52793:   instantiated from here
/usr/local/include/QtCore/qglobal.h:1558: error: invalid application of 
`sizeof' to incomplete type `QUrl'
/usr/local/include/QtCore/qlist.h: In member function `void 
QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QUrl]':
/usr/local/include/QtCore/qlist.h:539:   instantiated from `void 
QList<T>::free(QListData::Data*) [with T = QUrl]'
/usr/local/include/QtCore/qlist.h:514:   instantiated from `QList<T>::~QList() 
[with T = QUrl]'
sipQtCorepart0.cpp:52793:   instantiated from here
/usr/local/include/QtCore/qlist.h:342: warning: possible problem detected in 
invocation of delete operator:
/usr/local/include/QtCore/qlist.h:342: warning: invalid use of undefined type 
`struct QUrl'
/usr/local/include/QtCore/qmetatype.h:224: warning: forward declaration of 
`struct QUrl'
/usr/local/include/QtCore/qlist.h:342: note: neither the destructor nor the 
class-specific operator delete will be called, even if they are declared when 
the class is defined.
/usr/local/include/QtCore/qlist.h:344: error: invalid use of undefined type 
`struct QUrl'
/usr/local/include/QtCore/qmetatype.h:224: error: forward declaration of 
`struct QUrl'
*** Error code 1

Stop in /usr/ports/devel/py-qt4-core/work/PyQt-x11-gpl-4.2/QtCore.
*** Error code 1

Stop in /usr/ports/devel/py-qt4-core/work/PyQt-x11-gpl-4.2.
*** Error code 1

Stop in /usr/ports/devel/py-qt4-core.
*** Error code 1

Stop in /usr/ports/devel/py-qt4-core

uname -a 
FreeBSD AMD64.BSDNet 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Feb 17 13:41:03 CET 
2007     Feanor at AMD64.BSDNet:/usr/obj/usr/src/sys/SCHED_4BSD  i386

Ports are up-to-date.

Thanks for help in advance

Greetings,
Manuel


More information about the freebsd-ports mailing list