Bug#574719: hydrogen: FTBFS: Song.h:27:19: error: QString: No such file

Kurt Roeckx kurt at roeckx.be
Sat Mar 20 13:46:57 UTC 2010


Source: hydrogen
Version: 0.9.4-2
Severity: serious

Hi,

There was an error while trying to autobuild your package:

> Start Time: 20100302-1642

[...]

> Build-Depends: cdbs, devscripts (>= 2.10.7), scons, debhelper (>= 6), dh-buildinfo, docbook-utils, libqt4-dev, libz-dev, pkg-config, libarchive-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libaudiofile-dev, libjack-dev, liblrdf-dev, libsndfile1-dev, libflac++-dev, libflac-dev (>= 1.1.1-3), portaudio19-dev, libportmidi-dev, liblash-dev, librsvg2-bin, netpbm

[...]

> Toolchain package versions: libc6.1-dev_2.10.2-5 dpkg-dev_1.15.5.6 linux-libc-dev_2.6.32-5 g++-4.4_4.4.3-3 gcc-4.4_4.4.3-3 binutils_2.20-6 libstdc++6_4.4.3-3 libstdc++6-4.4-dev_4.4.3-3

[...]

> gui/src/UI/ui_SongPropertiesDialog_UI.h:94: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:94: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:95: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:95: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:96: error: 'TextLabel1_3' was not declared in this scope
> gui/src/UI/ui_SongPropertiesDialog_UI.h:96: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:96: error: 'QApplication' has not been declared
> gui/src/UI/ui_SongPropertiesDialog_UI.h:97: error: 'Q_UNUSED' was not declared in this scope
> In file included from gui/src/SongEditor/SongEditor.cpp:46:
> gui/src/SongEditor/../SongPropertiesDialog.h: At global scope:
> gui/src/SongEditor/../SongPropertiesDialog.h:34: error: expected class-name before ',' token
> gui/src/SongEditor/../SongPropertiesDialog.h:36: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
> gui/src/SongEditor/../SongPropertiesDialog.h:38: error: expected ';' before 'public'
> gui/src/SongEditor/../SongPropertiesDialog.h:42: error: expected ':' before 'slots'
> gui/src/SongEditor/../SongPropertiesDialog.h:43: error: expected primary-expression before 'void'
> gui/src/SongEditor/../SongPropertiesDialog.h:43: error: ISO C++ forbids declaration of 'slots' with no type
> gui/src/SongEditor/../SongPropertiesDialog.h:43: error: expected ';' before 'void'
> In file included from gui/src/SongEditor/../Skin.h:26,
>                  from gui/src/SongEditor/SongEditor.cpp:47:
> libs/hydrogen/include/hydrogen/data_path.h:39: error: 'QString' does not name a type
> libs/hydrogen/include/hydrogen/data_path.h:42: error: 'QString' does not name a type
> In file included from gui/src/SongEditor/SongEditor.cpp:47:
> gui/src/SongEditor/../Skin.h:34: error: 'QString' does not name a type
> In file included from gui/src/SongEditor/SongEditor.cpp:48:
> libs/hydrogen/include/hydrogen/LocalFileMng.h:55: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:55: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:55: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:55: error: 'QString' has not been declared
> libs/hydrogen/include/hydrogen/LocalFileMng.h:56: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:56: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:56: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:57: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:57: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:57: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:58: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:58: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:58: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:59: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:59: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:59: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:60: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:60: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:60: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:60: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:60: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:61: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:61: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:61: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:62: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:62: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:63: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:63: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:63: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:65: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:65: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:65: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:68: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:68: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:68: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:70: error: 'QString' does not name a type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:71: error: 'QString' does not name a type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:72: error: 'QString' does not name a type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:73: error: 'QString' does not name a type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:75: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:75: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:78: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:78: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:79: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:79: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:81: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:81: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:82: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:82: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:87: error: 'QString' does not name a type
> In file included from gui/src/SongEditor/SongEditor.cpp:48:
> libs/hydrogen/include/hydrogen/LocalFileMng.h:88: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:88: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:89: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:89: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:90: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:90: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:94: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:94: error: expected ',' or '...' before '&' token
> libs/hydrogen/include/hydrogen/LocalFileMng.h:95: error: 'QString' was not declared in this scope
> libs/hydrogen/include/hydrogen/LocalFileMng.h:95: error: template argument 1 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:95: error: template argument 2 is invalid
> libs/hydrogen/include/hydrogen/LocalFileMng.h:110: error: ISO C++ forbids declaration of 'QString' with no type
> libs/hydrogen/include/hydrogen/LocalFileMng.h:110: error: expected ',' or '...' before '&' token
> gui/src/SongEditor/SongEditor.cpp:53: error: expected ')' before '*' token
> gui/src/SongEditor/SongEditor.cpp: In member function 'void SongEditor::setGridWidth(uint)':
> gui/src/SongEditor/SongEditor.cpp:95: error: 'class SongEditor' has no member named 'resize'
> gui/src/SongEditor/SongEditor.cpp:95: error: 'height' was not declared in this scope
> gui/src/SongEditor/SongEditor.cpp: At global scope:
> gui/src/SongEditor/SongEditor.cpp:101: error: variable or field 'keyPressEvent' declared void
> gui/src/SongEditor/SongEditor.cpp:101: error: 'QKeyEvent' was not declared in this scope
> gui/src/SongEditor/SongEditor.cpp:101: error: 'ev' was not declared in this scope
> scons: *** [gui/src/SongEditor/SongEditor.o] Error 1
> scons: building terminated because of errors.
> make: *** [debian/stamp-scons-build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=hydrogen&ver=0.9.4-2

The first error is:
In file included from gui/src/SongEditor/SongEditor.cpp:27:
libs/hydrogen/include/hydrogen/Song.h:27:19: error: QString: No such file or directory


Kurt






More information about the pkg-multimedia-maintainers mailing list