[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421327: marked as done (FTBFS with GCC 4.3: missing #includes)



Your message dated Thu, 19 Jul 2007 11:17:05 +0000
with message-id <E1IBU0H-0007qF-5J@ries.debian.org>
and subject line Bug#421327: fixed in rosegarden 1:1.5.1-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: rosegarden
Version: 1:1.5.1-2
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of rosegarden_1:1.5.1-2 on em64t by sbuild/amd64 0.53
...
> [  1%] Building CXX object RGbuild/CMakeFiles/RosegardenCommon.dir/base/Clipboard.o
> [  1%] Building CXX object RGbuild/CMakeFiles/RosegardenCommon.dir/base/Colour.o
> [  1%] Building CXX object RGbuild/CMakeFiles/RosegardenCommon.dir/base/ColourMap.o
> [  1%] Building CXX object RGbuild/CMakeFiles/RosegardenCommon.dir/base/Composition.o
> /build/tbm/rosegarden-1.5.1/src/base/Composition.cpp: In destructor 'virtual Rosegarden::Composition::~Composition()':
> /build/tbm/rosegarden-1.5.1/src/base/Composition.cpp:214: error: must #include <typeinfo> before using typeid
> make[3]: *** [RGbuild/CMakeFiles/RosegardenCommon.dir/base/Composition.o] Error 1

--- src/sound/AudioFileManager.cpp~	2007-04-27 15:35:26.000000000 +0000
+++ src/sound/AudioFileManager.cpp	2007-04-27 15:35:33.000000000 +0000
@@ -25,6 +25,7 @@
 #include <string>
 #include <dirent.h> // for new recording file
 #include <cstdio>   // sprintf
+#include <cstdlib>
 #include <pthread.h>
 
 #if (__GNUC__ < 3)
--- src/sound/SampleWindow.h~	2007-04-27 15:42:39.000000000 +0000
+++ src/sound/SampleWindow.h	2007-04-27 15:42:49.000000000 +0000
@@ -41,6 +41,7 @@
 #define _SAMPLE_WINDOW_H_
 
 #include <cmath>
+#include <cstdlib>
 #include <iostream>
 #include <map>
 
--- src/sound/DSSIPluginFactory.cpp~	2007-04-27 15:43:03.000000000 +0000
+++ src/sound/DSSIPluginFactory.cpp	2007-04-27 15:43:14.000000000 +0000
@@ -21,6 +21,7 @@
 
 #include "DSSIPluginFactory.h"
 #include <iostream>
+#include <cstdlib>
 
 #ifdef HAVE_DSSI
 
--- src/sound/DSSIPluginInstance.cpp~	2007-04-27 15:49:44.000000000 +0000
+++ src/sound/DSSIPluginInstance.cpp	2007-04-27 15:49:50.000000000 +0000
@@ -21,6 +21,7 @@
 
 #include <iostream>
 #include <cassert>
+#include <cstdlib>
 
 #include "DSSIPluginInstance.h"
 #include "PluginIdentifier.h"
--- src/sound/LADSPAPluginFactory.cpp~	2007-04-27 15:50:13.000000000 +0000
+++ src/sound/LADSPAPluginFactory.cpp	2007-04-27 15:50:19.000000000 +0000
@@ -21,6 +21,7 @@
 
 #include "LADSPAPluginFactory.h"
 #include <iostream>
+#include <cstdlib>
 
 #ifdef HAVE_LADSPA
 
--- src/sound/PeakFile.cpp~	2007-04-27 15:52:07.000000000 +0000
+++ src/sound/PeakFile.cpp	2007-04-27 15:52:15.000000000 +0000
@@ -19,6 +19,7 @@
 */
 
 #include <cmath>
+#include <cstdlib>
 #include <kapplication.h>
 
 #include <qdatetime.h>
--- src/sound/RecordableAudioFile.cpp~	2007-04-27 15:52:37.000000000 +0000
+++ src/sound/RecordableAudioFile.cpp	2007-04-27 15:52:49.000000000 +0000
@@ -21,6 +21,8 @@
 
 #include "RecordableAudioFile.h"
 
+#include <cstdlib>
+
 //#define DEBUG_RECORDABLE 1
 
 namespace Rosegarden
--- src/base/Composition.cpp~	2007-04-27 15:16:44.000000000 +0000
+++ src/base/Composition.cpp	2007-04-27 15:16:52.000000000 +0000
@@ -31,6 +31,7 @@
 #include <iomanip>
 #include <algorithm>
 #include <cmath>
+#include <typeinfo>
 
 #if (__GNUC__ < 3)
 #include <strstream>
--- src/base/Event.cpp~	2007-04-27 15:18:24.000000000 +0000
+++ src/base/Event.cpp	2007-04-27 15:18:27.000000000 +0000
@@ -442,4 +442,4 @@
     else return a.getSubOrdering() < b.getSubOrdering();
 }
 
-}
\ No newline at end of file
+}
--- src/base/MidiDevice.cpp~	2007-04-27 15:19:30.000000000 +0000
+++ src/base/MidiDevice.cpp	2007-04-27 15:19:39.000000000 +0000
@@ -25,6 +25,7 @@
 #include "ControlParameter.h"
 
 #include <cstdio>
+#include <cstdlib>
 #include <iostream>
 #include <set>
 
--- src/base/Property.cpp~	2007-04-27 15:21:54.000000000 +0000
+++ src/base/Property.cpp	2007-04-27 15:22:07.000000000 +0000
@@ -22,6 +22,7 @@
 
 #include "Property.h"
 #include <cstdio>
+#include <cstdlib>
 #include <string>
 
 namespace Rosegarden 
--- src/base/Segment.cpp~	2007-04-27 15:32:13.000000000 +0000
+++ src/base/Segment.cpp	2007-04-27 15:32:31.000000000 +0000
@@ -30,6 +30,7 @@
 #include <algorithm>
 #include <iterator>
 #include <cstdio>
+#include <typeinfo>
 
 namespace Rosegarden 
 {
--- src/base/SoftSynthDevice.cpp~	2007-04-27 15:33:10.000000000 +0000
+++ src/base/SoftSynthDevice.cpp	2007-04-27 15:33:16.000000000 +0000
@@ -24,6 +24,7 @@
 #include "MidiTypes.h"
 
 #include <cstdio>
+#include <cstdlib>
 
 
 #if (__GNUC__ < 3)
--- src/base/XmlExportable.cpp~	2007-04-27 15:34:56.000000000 +0000
+++ src/base/XmlExportable.cpp	2007-04-27 15:35:03.000000000 +0000
@@ -20,6 +20,7 @@
 
 #include "XmlExportable.h"
 #include <iostream>
+#include <cstdlib>
 
 namespace Rosegarden
 {
--- src/gui/application/LircClient.cpp~	2007-04-27 16:02:20.000000000 +0000
+++ src/gui/application/LircClient.cpp	2007-04-27 16:02:37.000000000 +0000
@@ -35,6 +35,7 @@
 #include <qobject.h>
 #include <qsocketnotifier.h>
 #include <fcntl.h>
+#include <cstdlib>
 
 namespace Rosegarden
 {
--- src/gui/application/RosegardenApplication.cpp~	2007-04-27 16:04:05.000000000 +0000
+++ src/gui/application/RosegardenApplication.cpp	2007-04-27 16:04:07.000000000 +0000
@@ -142,4 +142,4 @@
 
 }
 
-#include "RosegardenApplication.moc"
\ No newline at end of file
+#include "RosegardenApplication.moc"
--- src/gui/studio/AudioPluginOSCGUI.cpp~	2007-04-27 17:11:24.000000000 +0000
+++ src/gui/studio/AudioPluginOSCGUI.cpp	2007-04-27 17:11:32.000000000 +0000
@@ -35,6 +35,7 @@
 #include <qdir.h>
 #include <qfileinfo.h>
 #include <qstring.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/studio/DeviceEditorDialog.cpp~	2007-04-27 17:12:10.000000000 +0000
+++ src/gui/studio/DeviceEditorDialog.cpp	2007-04-27 17:12:26.000000000 +0000
@@ -49,6 +49,7 @@
 #include <qtable.h>
 #include <qvbox.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/studio/MidiProgramsEditor.cpp~	2007-04-27 17:14:10.000000000 +0000
+++ src/gui/studio/MidiProgramsEditor.cpp	2007-04-27 17:14:23.000000000 +0000
@@ -54,6 +54,7 @@
 #include <qtooltip.h>
 #include <qvgroupbox.h>
 #include <qwidget.h>
+#include <algorithm>
 
 namespace Rosegarden
 {
--- src/gui/dialogs/KeySignatureDialog.cpp~	2007-04-27 16:11:05.000000000 +0000
+++ src/gui/dialogs/KeySignatureDialog.cpp	2007-04-27 16:11:16.000000000 +0000
@@ -43,6 +43,7 @@
 #include <qtooltip.h>
 #include <qvbox.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/widgets/HSpinBox.cpp~	2007-04-27 17:15:20.000000000 +0000
+++ src/gui/widgets/HSpinBox.cpp	2007-04-27 17:15:31.000000000 +0000
@@ -27,6 +27,7 @@
 
 #include <qstring.h>
 #include <cmath>
+#include <algorithm>
 
 namespace Rosegarden
 {
--- src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp~	2007-04-27 16:53:15.000000000 +0000
+++ src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp	2007-04-27 16:53:26.000000000 +0000
@@ -54,6 +54,7 @@
 #include <qsignalmapper.h>
 #include <qstring.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/editors/segment/CompositionModelImpl.cpp~	2007-04-27 16:58:44.000000000 +0000
+++ src/gui/editors/segment/CompositionModelImpl.cpp	2007-04-27 16:59:03.000000000 +0000
@@ -23,6 +23,7 @@
 */
 
 #include <cmath>
+#include <algorithm>
 #include "CompositionModelImpl.h"
 
 #include "base/BaseProperties.h"
--- src/gui/editors/segment/CompositionView.cpp~	2007-04-27 17:00:50.000000000 +0000
+++ src/gui/editors/segment/CompositionView.cpp	2007-04-27 17:00:59.000000000 +0000
@@ -65,6 +65,7 @@
 #include <qwidget.h>
 #include <kapplication.h>
 #include <kconfig.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/editors/guitar/BarreList.cpp~	2007-04-27 16:17:21.000000000 +0000
+++ src/gui/editors/guitar/BarreList.cpp	2007-04-27 16:18:04.000000000 +0000
@@ -1,5 +1,7 @@
 #include "BarreList.h"
 
+#include <algorithm>
+
 namespace Rosegarden
 {
 
--- src/gui/editors/guitar/ChordName.cpp~	2007-04-27 16:17:53.000000000 +0000
+++ src/gui/editors/guitar/ChordName.cpp	2007-04-27 16:17:59.000000000 +0000
@@ -1,6 +1,7 @@
 #include "ChordName.h"
 #include "base/Exception.h"
 
+#include <algorithm>
 #include <sstream>
 
 namespace Rosegarden
--- src/gui/editors/notation/NotationView.cpp~	2007-04-27 16:46:22.000000000 +0000
+++ src/gui/editors/notation/NotationView.cpp	2007-04-27 16:46:38.000000000 +0000
@@ -205,6 +205,7 @@
 #include <qtimer.h>
 #include <qwidget.h>
 #include <qvalidator.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/editors/notation/NoteFontFactory.cpp~	2007-04-27 16:50:57.000000000 +0000
+++ src/gui/editors/notation/NoteFontFactory.cpp	2007-04-27 16:51:05.000000000 +0000
@@ -41,6 +41,7 @@
 #include <qdir.h>
 #include <qstring.h>
 #include <qstringlist.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/editors/eventlist/EventView.cpp~	2007-04-27 16:13:43.000000000 +0000
+++ src/gui/editors/eventlist/EventView.cpp	2007-04-27 16:14:40.000000000 +0000
@@ -85,6 +85,7 @@
 #include <qsize.h>
 #include <qstring.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/rulers/ControlRuler.cpp~	2007-04-27 17:06:19.000000000 +0000
+++ src/gui/rulers/ControlRuler.cpp	2007-04-27 17:06:29.000000000 +0000
@@ -49,6 +49,7 @@
 #include <qscrollview.h>
 #include <qstring.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/general/LinedStaff.cpp~	2007-04-27 17:04:57.000000000 +0000
+++ src/gui/general/LinedStaff.cpp	2007-04-27 17:05:05.000000000 +0000
@@ -43,6 +43,7 @@
 #include <qpen.h>
 #include <qrect.h>
 #include <qstring.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/seqmanager/MetronomeMmapper.cpp~	2007-04-27 17:08:44.000000000 +0000
+++ src/gui/seqmanager/MetronomeMmapper.cpp	2007-04-27 17:08:59.000000000 +0000
@@ -43,6 +43,7 @@
 #include <kconfig.h>
 #include <kglobal.h>
 #include <qstring.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/seqmanager/SequenceManager.cpp~	2007-04-27 17:09:30.000000000 +0000
+++ src/gui/seqmanager/SequenceManager.cpp	2007-04-27 17:09:40.000000000 +0000
@@ -76,6 +76,7 @@
 #include <qstring.h>
 #include <qstringlist.h>
 #include <qtimer.h>
+#include <algorithm>
 
 
 namespace Rosegarden
--- src/gui/configuration/NotationConfigurationPage.cpp~	2007-04-27 16:08:46.000000000 +0000
+++ src/gui/configuration/NotationConfigurationPage.cpp	2007-04-27 16:59:09.000000000 +0000
@@ -59,6 +59,7 @@
 #include <qstringlist.h>
 #include <qtabwidget.h>
 #include <qwidget.h>
+#include <algorithm>
 
 
 namespace Rosegarden

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Source: rosegarden
Source-Version: 1:1.5.1-3

We believe that the bug you reported is fixed in the latest version of
rosegarden, which is due to be installed in the Debian FTP archive:

rosegarden-data_1.5.1-3_all.deb
  to pool/main/r/rosegarden/rosegarden-data_1.5.1-3_all.deb
rosegarden2_1.5.1-3_all.deb
  to pool/main/r/rosegarden/rosegarden2_1.5.1-3_all.deb
rosegarden4_1.5.1-3_all.deb
  to pool/main/r/rosegarden/rosegarden4_1.5.1-3_all.deb
rosegarden_1.5.1-3.diff.gz
  to pool/main/r/rosegarden/rosegarden_1.5.1-3.diff.gz
rosegarden_1.5.1-3.dsc
  to pool/main/r/rosegarden/rosegarden_1.5.1-3.dsc
rosegarden_1.5.1-3_amd64.deb
  to pool/main/r/rosegarden/rosegarden_1.5.1-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 421327@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Free Ekanayaka <freee@debian.org> (supplier of updated rosegarden package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 19 Jul 2007 02:08:24 +0200
Source: rosegarden
Binary: rosegarden2 rosegarden4 rosegarden-data rosegarden
Architecture: source all amd64
Version: 1:1.5.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Team <debian-multimedia@lists.debian.org>
Changed-By: Free Ekanayaka <freee@debian.org>
Description: 
 rosegarden - music editor and MIDI/audio sequencer
 rosegarden-data - music editor and MIDI/audio sequencer data files
 rosegarden2 - music editor and MIDI/audio sequencer
 rosegarden4 - music editor and MIDI/audio sequencer
Closes: 421327
Changes: 
 rosegarden (1:1.5.1-3) unstable; urgency=low
 .
   * applying patch from Martin Michlmayr for gcc 4.2 (Closes: #421327)
   * debian/patches:
      - added 30-midi-mime to make rosegarden open midi files when
        doubble clicking them on the desktop
   * debian/rosegarden.sharedmimeinfo
      - added mime information about for *.rg files
Files: 
 1f665ae121b35979263cac2e27fe666f 901 sound extra rosegarden_1.5.1-3.dsc
 57feec46dd706c5708ecf712f7d18c61 7097211 sound extra rosegarden_1.5.1.orig.tar.gz
 ca76b254be9f1c7626d51cdb7f6e5ed8 15558 sound extra rosegarden_1.5.1-3.diff.gz
 f0169a801ff097f4260fca276e46c72b 3620334 sound extra rosegarden_1.5.1-3_amd64.deb
 2d06c125e68110dfce02e9c6c8bbabe2 6806 sound extra rosegarden2_1.5.1-3_all.deb
 6f47bd253b5e248fa4d85eb0daaf6f63 6810 sound extra rosegarden4_1.5.1-3_all.deb
 95100d0916b0361827129fb72c37385c 2430104 sound extra rosegarden-data_1.5.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGnz08canJGlcVnlkRAnTCAJ48D84Z73Xx+XBPKKeArvMlPzfJoQCglVO4
GWnfsInwaWUQjYya/5c94wE=
=nba/
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: