--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: FTBFS with GCC 4.3: missing #includes
- From: Martin Michlmayr <tbm@cyrius.com>
- Date: Mon, 2 Apr 2007 21:08:09 +0100
- Message-id: <20070402200808.GV10714@deprecation.cyrius.com>
- In-reply-to: <E1HXeGu-0008IT-Nm@coconut0>
- References: <E1HXeGu-0008IT-Nm@coconut0>
Package: openmovieeditor
Version: 0.0.20061221-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.
> Automatic build of openmovieeditor_0.0.20061221-2 on coconut0 by sbuild/ia64 0.49
...
> if ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -ggdb -I/usr/lib/gavl/include/ -I/usr/include/lqt -I/usr/include/ffmpeg -DAVCODEC -I/usr/include/ffmpeg -I/usr/include/freetype2 -DINSTALL_PREFIX="\"/usr\"" -I../icons -I../src -I../src/tinyxml -I../src/sl -I/usr/lib/gavl/include/ -I/usr/include/lqt -I/usr/include/ffmpeg -DAVCODEC -I/usr/include/ffmpeg -I/usr/include/freetype2 -g -O2 -MT FolderBrowser.o -MD -MP -MF ".deps/FolderBrowser.Tpo" -c -o FolderBrowser.o FolderBrowser.cxx; \
> then mv -f ".deps/FolderBrowser.Tpo" ".deps/FolderBrowser.Po"; else rm -f ".deps/FolderBrowser.Tpo"; exit 1; fi
> FolderBrowser.cxx: In constructor 'nle::FolderBrowser::FolderBrowser(int, int, int, int, const char*)':
> FolderBrowser.cxx:54: error: 'getenv' was not declared in this scope
> FolderBrowser.cxx: In member function 'void nle::FolderBrowser::load(std::string)':
> FolderBrowser.cxx:76: error: 'free' was not declared in this scope
> FolderBrowser.cxx:79: error: 'free' was not declared in this scope
> make[4]: *** [FolderBrowser.o] Error 1
--- src/FolderBrowser.cxx~ 2007-04-02 19:59:33.000000000 +0000
+++ src/FolderBrowser.cxx 2007-04-02 19:59:40.000000000 +0000
@@ -19,6 +19,7 @@
#include <FL/filename.H>
#include "FolderBrowser.H"
+#include <cstdlib>
#include <iostream>
namespace nle
--- src/MediaBrowser.cxx~ 2007-04-02 19:59:50.000000000 +0000
+++ src/MediaBrowser.cxx 2007-04-02 19:59:56.000000000 +0000
@@ -17,6 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <cstdlib>
#include <iostream>
#include <cstring>
--- src/Frei0rFactory.cxx~ 2007-04-02 20:01:30.000000000 +0000
+++ src/Frei0rFactory.cxx 2007-04-02 20:01:37.000000000 +0000
@@ -17,6 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <cstdlib>
#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
- To: 417460-close@bugs.debian.org
- Subject: Bug#417460: fixed in openmovieeditor 0.0.20061221-3
- From: Joost Yervante Damad <andete@debian.org>
- Date: Sat, 12 May 2007 16:17:03 +0000
- Message-id: <E1HmuHH-0004r9-Cy@ries.debian.org>
Source: openmovieeditor
Source-Version: 0.0.20061221-3
We believe that the bug you reported is fixed in the latest version of
openmovieeditor, which is due to be installed in the Debian FTP archive:
openmovieeditor_0.0.20061221-3.diff.gz
to pool/main/o/openmovieeditor/openmovieeditor_0.0.20061221-3.diff.gz
openmovieeditor_0.0.20061221-3.dsc
to pool/main/o/openmovieeditor/openmovieeditor_0.0.20061221-3.dsc
openmovieeditor_0.0.20061221-3_i386.deb
to pool/main/o/openmovieeditor/openmovieeditor_0.0.20061221-3_i386.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 417460@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joost Yervante Damad <andete@debian.org> (supplier of updated openmovieeditor 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: Sat, 12 May 2007 17:54:27 +0200
Source: openmovieeditor
Binary: openmovieeditor
Architecture: source i386
Version: 0.0.20061221-3
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Team <debian-multimedia@lists.debian.org>
Changed-By: Joost Yervante Damad <andete@debian.org>
Description:
openmovieeditor - a simple non-linear video editor
Closes: 417460
Changes:
openmovieeditor (0.0.20061221-3) unstable; urgency=low
.
* Fix FTBS with gcc-4.3 (Closes: #417460)
Files:
dbac53758dca921a7e93d7fc2981e38b 911 graphics optional openmovieeditor_0.0.20061221-3.dsc
06cf9cae2e8ac003b5cfb0450d1828e8 26916 graphics optional openmovieeditor_0.0.20061221-3.diff.gz
bc13b7afca364c398fbeacd2843ff559 264610 graphics optional openmovieeditor_0.0.20061221-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGReQ/0/r2+3z8lN0RArfPAJ9hjJsD49fAqwwikWT4/LPmGQ+FSgCeNa9c
mpHRnWKxPDuhDZn+Gn4XEPw=
=GVAi
-----END PGP SIGNATURE-----
--- End Message ---