[Pkg-kde-extras] Bug#499061: ktorrent_3.2~~svn856351-1(sparc/experimental): FTBFS: error: X11/Xlib.h: No such file or directory

Frank Lichtenheld djpig at debian.org
Mon Sep 15 20:11:57 UTC 2008


Package: ktorrent
Version: 3.2~~svn856351-1
Severity: serious

Hi,

your package failed to build from source.
Given that the error seems to occour in /usr/include/netwm.h, the
bug might actually be in kdelibs5-dev, but I leave it to you to
confirm that.

| Automatic build of ktorrent_3.2~~svn856351-1 on njoerd by sbuild/sparc 98-farm
| Build started at 20080915-1703
| ******************************************************************************
| Checking available source versions...
| Fetching source files...
| Reading package lists...
| Building dependency tree...
| Need to get 2608kB of source archives.
| Get:1 http://sinclair.farm.ftbfs.de experimental/main ktorrent 3.2~~svn856351-1 (dsc) [1360B]
| Get:2 http://sinclair.farm.ftbfs.de experimental/main ktorrent 3.2~~svn856351-1 (tar) [2577kB]
| Get:3 http://sinclair.farm.ftbfs.de experimental/main ktorrent 3.2~~svn856351-1 (diff) [29.9kB]
| Fetched 2608kB in 0s (3788kB/s)
| Download complete and in download only mode
| ** Using build dependencies supplied by package:
| Build-Depends: cmake, debhelper (>= 7), quilt (>= 0.46-4.1), kdelibs5-dev (>= 4:4.1.0), libplasma-dev (>= 4:4.1.0), kdebase-workspace-dev (>= 4:4.1.0), libstreamanalyzer-dev, pkg-config, libgeoip-dev, libgmp3-dev, libqca2-dev
| Checking for already installed source dependencies...
[...]
| cd "/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu/plasma/applet" && /usr/bin/c++   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DENABLE_DHT_SUPPORT -Dplasma_applet_ktorrent_EXPORTS -g -O2 -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -DNDEBUG -fPIC -I"/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu/plasma/applet" -I"/build/buildd/ktorrent-3.2~~svn856351/plasma/applet" -I"/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu" -I"/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu/libktcore" -I"/build/buildd/ktorrent-3.2~~svn856351/libktcore" -I"/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu/libbtcore" -I"/build/buildd/ktorrent-3.2~~svn856351/libbtcore" -I"/build/buildd/ktorrent-3.2~~svn856351" -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o CMakeFiles/plasma_applet_ktorrent.dir/applet.o -c "/build/buildd/ktorrent-3.2~~svn856351/plasma/applet/applet.cpp"
| In file included from /usr/include/taskmanager/task.h:36,
|                  from /usr/include/taskmanager/taskmanager.h:30,
|                  from /build/buildd/ktorrent-3.2~~svn856351/plasma/applet/applet.cpp:35:
| /usr/include/netwm.h:33:22: error: X11/Xlib.h: No such file or directory
| /usr/include/netwm.h:34:23: error: X11/Xutil.h: No such file or directory
| /usr/include/netwm.h:35:23: error: X11/Xatom.h: No such file or directory
| In file included from /usr/include/taskmanager/task.h:36,
|                  from /usr/include/taskmanager/taskmanager.h:30,
|                  from /build/buildd/ktorrent-3.2~~svn856351/plasma/applet/applet.cpp:35:
| /usr/include/netwm.h:98: error: 'Window' has not been declared
| /usr/include/netwm.h:159: error: 'Window' does not name a type
| /usr/include/netwm.h:166: error: 'Window' does not name a type
| /usr/include/netwm.h:230: error: expected ';' before '*' token
| /usr/include/netwm.h:249: error: expected ';' before '*' token
| /usr/include/netwm.h:314: error: expected ';' before '*' token
| /usr/include/netwm.h:372: error: 'Window' does not name a type
| /usr/include/netwm.h:391: error: expected ',' or '...' before '*' token
| /usr/include/netwm.h:401: error: expected ',' or '...' before '*' token
| /usr/include/netwm.h:478: error: 'Window' has not been declared
| /usr/include/netwm.h:479: error: 'Time' has not been declared
| /usr/include/netwm.h:479: error: 'Window' has not been declared
| /usr/include/netwm.h:487: error: 'Window' has not been declared
| /usr/include/netwm.h:505: error: expected ',' or '...' before '*' token
| /usr/include/netwm.h:536: error: 'Window' has not been declared
| /usr/include/netwm.h:553: error: 'Window' has not been declared
| /usr/include/netwm.h:569: error: 'Window' has not been declared
| /usr/include/netwm.h:574: error: 'Window' has not been declared
| /usr/include/netwm.h:574: error: 'Window' has not been declared
| /usr/include/netwm.h:574: error: 'Time' has not been declared
| /usr/include/netwm.h:580: error: 'Window' has not been declared
| /usr/include/netwm.h:580: error: 'Time' has not been declared
| /usr/include/netwm.h:589: error: 'Window' has not been declared
| /usr/include/netwm.h:589: error: 'Time' has not been declared
| /usr/include/netwm.h:628: error: 'Window' has not been declared
| /usr/include/netwm.h:636: error: 'Window' has not been declared
| /usr/include/netwm.h:684: error: 'Window' has not been declared
| /usr/include/netwm.h:699: error: 'Window' has not been declared
| /usr/include/netwm.h:708: error: 'Window' has not been declared
| /usr/include/netwm.h:708: error: 'Time' has not been declared
| /usr/include/netwm.h:719: error: 'Window' has not been declared
| /usr/include/netwm.h:720: error: 'Time' has not been declared
| /usr/include/netwm.h:720: error: 'Window' has not been declared
| /usr/include/netwm.h:734: error: 'Window' has not been declared
| /usr/include/netwm.h:747: error: 'Window' has not been declared
| /usr/include/netwm.h:748: error: 'Window' has not been declared
| /usr/include/netwm.h:748: error: 'Time' has not been declared
| /usr/include/netwm.h:756: error: 'Window' has not been declared
| /usr/include/netwm.h:756: error: 'Time' has not been declared
| /usr/include/netwm.h:771: error: 'Atom' has not been declared
| /usr/include/netwm.h:825: error: 'Window' has not been declared
| /usr/include/netwm.h:825: error: 'Window' has not been declared
| /usr/include/netwm.h:835: error: 'Window' has not been declared
| /usr/include/netwm.h:836: error: 'Window' has not been declared
| /usr/include/netwm.h:986: error: 'Bool' does not name a type
| /usr/include/netwm.h:1005: error: 'Bool' has not been declared
| /usr/include/netwm.h:1103: error: 'Bool' has not been declared
| /usr/include/netwm.h:1132: error: 'Time' has not been declared
| /usr/include/netwm.h:1137: error: 'Time' does not name a type
| /usr/include/netwm.h:1173: error: 'Window' does not name a type
| /usr/include/netwm.h:1178: error: 'Window' does not name a type
| /usr/include/netwm.h:1272: error: 'Atom' has not been declared
| /usr/include/netwm.h:1272: error: 'Bool' has not been declared
| /usr/include/netwm.h:1005: error: 'True' was not declared in this scope
| /usr/include/qt4/QtCore/qmap.h: In static member function 'static QMap<Key, T>::Node* QMap<Key, T>::concrete(QMapData::Node*) [with Key = long unsigned int, T = KSharedPtr<TaskManager::Task>]':
| /usr/include/qt4/QtCore/qmap.h:213:   instantiated from 'T& QMap<Key, T>::iterator::value() const [with Key = long unsigned int, T = KSharedPtr<TaskManager::Task>]'
| /build/buildd/ktorrent-3.2~~svn856351/plasma/applet/applet.cpp:380:   instantiated from here
| /usr/include/qt4/QtCore/qmap.h:146: warning: cast from 'char*' to 'QMap<long unsigned int, KSharedPtr<TaskManager::Task> >::Node*' increases required alignment of target type
| /usr/include/qt4/QtCore/qvector.h: In member function 'int QVector<T>::sizeOfTypedData() [with T = QPointF]':
| /usr/include/qt4/QtCore/qvector.h:376:   instantiated from 'QVectorData* QVector<T>::malloc(int) [with T = QPointF]'
| /usr/include/qt4/QtCore/qvector.h:382:   instantiated from 'QVector<T>::QVector(int) [with T = QPointF]'
| /usr/include/qt4/QtGui/qpolygon.h:154:   instantiated from here
| /usr/include/qt4/QtCore/qvector.h:303: warning: cast from 'QVector<QPointF>*' to 'const QVectorTypedData<QPointF>*' increases required alignment of target type
| /usr/include/qt4/QtCore/qmap.h: In static member function 'static QMap<Key, T>::Node* QMap<Key, T>::concrete(QMapData::Node*) [with Key = QString, T = QString]':
| /usr/include/qt4/QtCore/qmap.h:591:   instantiated from 'void QMap<Key, T>::freeData(QMapData*) [with Key = QString, T = QString]'
| /usr/include/qt4/QtCore/qmap.h:153:   instantiated from 'QMap<Key, T>::~QMap() [with Key = QString, T = QString]'
| /usr/include/kurl.h:179:   instantiated from here
| /usr/include/qt4/QtCore/qmap.h:146: warning: cast from 'char*' to 'QMap<QString, QString>::Node*' increases required alignment of target type
| /usr/include/qt4/QtCore/qlist.h: In member function 'void QList<T>::node_destruct(QList<T>::Node*, QList<T>::Node*) [with T = QVariant]':
| /usr/include/qt4/QtCore/qlist.h:557:   instantiated from 'void QList<T>::free(QListData::Data*) [with T = QVariant]'
| /usr/include/qt4/QtCore/qlist.h:532:   instantiated from 'QList<T>::~QList() [with T = QVariant]'
| /usr/include/kpluginfactory.h:344:   instantiated from here
| /usr/include/qt4/QtCore/qlist.h:367: warning: cast from 'QList<QVariant>::Node*' to 'QVariant*' increases required alignment of target type
| /usr/include/qt4/QtCore/qvector.h: In member function 'int QVector<T>::sizeOfTypedData() [with T = QPainterPath::Element]':
| /usr/include/qt4/QtCore/qvector.h:449:   instantiated from 'void QVector<T>::realloc(int, int) [with T = QPainterPath::Element]'
| /usr/include/qt4/QtCore/qvector.h:309:   instantiated from 'void QVector<T>::detach_helper() [with T = QPainterPath::Element]'
| /usr/include/qt4/QtCore/qvector.h:127:   instantiated from 'void QVector<T>::detach() [with T = QPainterPath::Element]'
| /usr/include/qt4/QtCore/qvector.h:226:   instantiated from 'T* QVector<T>::begin() [with T = QPainterPath::Element]'
| /usr/include/qt4/QtCore/qvector.h:239:   instantiated from 'T& QVector<T>::first() [with T = QPainterPath::Element]'
| /usr/include/qt4/QtGui/qpainterpath.h:358:   instantiated from here
| /usr/include/qt4/QtCore/qvector.h:303: warning: cast from 'QVector<QPainterPath::Element>*' to 'const QVectorTypedData<QPainterPath::Element>*' increases required alignment of target type
| make[3]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/applet.o] Error 1
| make[3]: Leaving directory `/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu'
| make[2]: *** [plasma/applet/CMakeFiles/plasma_applet_ktorrent.dir/all] Error 2
| make[2]: Leaving directory `/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/build/buildd/ktorrent-3.2~~svn856351/obj-sparc-linux-gnu'
| dh_auto_build: command returned error code 512
| dh_auto_build: command returned error code 256
| make: *** [build] Error 1
| dpkg-buildpackage: failure: debian/rules build gave error exit status 2
| ******************************************************************************
| Build finished at 20080915-1756
| FAILED [dpkg-buildpackage died]

Full build log(s): http://experimental.ftbfs.de/build.php?&ver=3.2~~svn856351-1&pkg=ktorrent&arch=sparc

Gruesse,
-- 
Frank Lichtenheld <djpig at debian.org>
www: http://www.djpig.de/





More information about the pkg-kde-extras mailing list