staging.inyokaproject.org

Du kannst auf dieses Thema nicht antworten, da es gesperrt wurde.

Kompilierung von Tomahawk schlägt in sauberer pbuilder Umgebung fehlt.

Status: Gelöst | Ubuntu-Version: Nicht spezifiziert
Antworten |

Justin-Time Team-Icon

Avatar von Justin-Time

Anmeldungsdatum:
31. März 2009

Beiträge: 1466

Hallo zusammen,

ich versuche gerade die aktuelle Entwicklungsversion von Tomahawk zu Packtieren. Das manuelle Kompilieren und das lokale Paketbauen mit Hilfe von debuild funktioniert ohne Probleme, während hingegen das Kompilieren in einer sauberen pbuilder Umgebung mittendrin abbricht, obwohl cmake alle benötigten Abhängigkeiten gefunden hat.

Als Fehlermeldung erhalte ich:

[…]
[ 56%] Building CXX object src/libtomahawk/CMakeFiles/tomahawklib.dir/utils/TomahawkUtilsGui.cpp.o
cd /tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu/src/libtomahawk && /usr/bin/x86_64-linux-gnu-g++   -DDLLEXPORT_PRO -DPORTFWDDLLEXPORT_STATIC -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_SHARED -DQT_SHAREDPOINTER_TRACK_POINTERS -DQT_SQL_LIB -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_TEST_LIB -DQT_UITOOLS_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -DQ_DECL_FINAL="" -DQ_DECL_OVERRIDE="" -D_BSD_SOURCE -Dtomahawklib_EXPORTS -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -fexceptions -fPIC -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtTest -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -isystem /usr/include/qt4/QtDBus -I/tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu/src/libtomahawk -I/tmp/buildd/tomahawk-0.8.99/src/libtomahawk -I/tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu/src -I/tmp/buildd/tomahawk-0.8.99/src -I/usr/lib/x86_64-linux-gnu -I/usr/include/KDE -I/tmp/buildd/tomahawk-0.8.99/thirdparty/libportfwd/include -I/usr/include/QtCrypto -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4/QtScript    -fvisibility=hidden -o CMakeFiles/tomahawklib.dir/utils/TomahawkUtilsGui.cpp.o -c /tmp/buildd/tomahawk-0.8.99/src/libtomahawk/utils/TomahawkUtilsGui.cpp
/tmp/buildd/tomahawk-0.8.99/src/libtomahawk/utils/TomahawkUtilsGui.cpp:47:33: fatal error: libqnetwm/netwm.h: No such file or directory
     #include <libqnetwm/netwm.h>
                                 ^
compilation terminated.
make[3]: *** [src/libtomahawk/CMakeFiles/tomahawklib.dir/utils/TomahawkUtilsGui.cpp.o] Error 1
make[3]: Leaving directory `/tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu'
make[2]: *** [src/libtomahawk/CMakeFiles/tomahawklib.dir/all] Error 2
make[2]: Leaving directory `/tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/tomahawk-0.8.99/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package

Der gesamte Build-log ist im Anhang. Hat jemand eine Idee woran dieses Problem liegen könnte? Fehlt irgendeine Abhängigkeit oder ist dies ein Fehler im Programm?

Gruß Justin Time

buildlog-tomahawk_0.8.99.log (890.2 KiB)
Download buildlog-tomahawk_0.8.99.log

Justin-Time Team-Icon

(Themenstarter)
Avatar von Justin-Time

Anmeldungsdatum:
31. März 2009

Beiträge: 1466

Oh man genau wie gestern, zwei Minuten nachdem ich meine Frage gestellt habe, springt mich die Antwort förmlich ins Gesicht: https://bugs.tomahawk-player.org/browse/TWK-1786

add cmake check for libx11-dev

Ich habe nach geguckt und tatsächlich ist diese Datei bei mir auf dem lokalen PC installiert.

Antworten |