Your message dated Sat, 12 Feb 2011 13:16:32 +0000
with message-id <aanlktimwavlahc8hl0hzw_k-ig-378rxjmztvhszw...@mail.gmail.com>
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 ow...@bugs.debian.org
immediately.)


-- 
596956: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596956
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hydrogen
Severity: normal
Tags: patch upstream
Forwarded: 
https://www.assembla.com/spaces/hydrogen/tickets/133-ftbs-with-new-qt-4-7

Hi,


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 
-O2 -g -Wall -O2 -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLASH_SUPPORT 
-DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT 
-DLADSPA_SUPPORT -DLIBARCHIVE_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED 
-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* 
H2Core::Song::get_default_song()':
libs/hydrogen/src/song.cpp:144: error: call of overloaded 'QString(int)' is 
ambiguous
/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:                 
QString::QString(QChar)
/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 <david.su...@canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/601195
Description: Fix FTBFS due to an ambiguous overloaded QString object
 constructor.
Forwarded: 
https://www.assembla.com/spaces/hydrogen/tickets/133-ftbs-with-new-qt-4-7
---
 libs/hydrogen/src/song.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- hydrogen-0.9.4.1.orig/libs/hydrogen/src/song.cpp
+++ hydrogen-0.9.4.1/libs/hydrogen/src/song.cpp
@@ -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 ---
Version: 0.9.4.2-1

Fixed with 0.9.4.2-1.

-- 
Alessio Treglia          | www.alessiotreglia.com
Debian Developer         | ales...@debian.org
Ubuntu Core Developer    | quadris...@ubuntu.com
0FEC 59A5 E18E E04F 6D40 593B 45D4 8C7C DCFC 3FD0


--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to