Your message dated Sat, 12 Feb 2011 13:16:32 +0000
with message-id <>
and subject line 
has caused the Debian Bug report #596956,
regarding FTBFS with Qt 4.7 in experimental
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: hydrogen
Severity: normal
Tags: patch upstream


hydrogen fails to build on experimental with the latest Qt 4.7.

g++ -o libs/hydrogen/src/song.o -c -O3 -fomit-frame-pointer -funroll-loops -g 
-I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include 
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui 
-I/usr/include/lash-1.0 -I/usr/include/alsa libs/hydrogen/src/song.cpp
libs/hydrogen/src/song.cpp: In static member function 'static H2Core::Song* 
libs/hydrogen/src/song.cpp:144: error: call of overloaded 'QString(int)' is 
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: 
QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note:                 
QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:727: note:                 
QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note:                 
/usr/include/qt4/QtCore/qstring.h:105: note:                 
QString::QString(const QChar*)
scons: *** [libs/hydrogen/src/song.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
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem

The following patch solves this issue:

Origin: Ubuntu
Author: David Sugar <>
Description: Fix FTBFS due to an ambiguous overloaded QString object
 libs/hydrogen/src/song.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- hydrogen-
+++ hydrogen-
@@ -141,7 +141,7 @@ Song* Song::get_default_song(){
                song->set_swing_factor( 0.0 );
                InstrumentList* pList = new InstrumentList();
-               Instrument *pNewInstr = new Instrument(QString( 0 ), "New 
instrument", new ADSR());
+               Instrument *pNewInstr = new Instrument(QString( "" ), "New 
instrument", new ADSR());
                pList->add( pNewInstr );
                song->set_instrument_list( pList );

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---

Fixed with

Alessio Treglia          |
Debian Developer         |
Ubuntu Core Developer    |
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0

--- End Message ---
pkg-multimedia-maintainers mailing list

Reply via email to