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

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



Your message dated Sat, 26 Jan 2008 16:17:03 +0000
with message-id <E1JIniJ-0001RS-FF@ries.debian.org>
and subject line Bug#417463: fixed in opensched 0.4.4-6
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: opensched
Version: 0.4.4-4
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 opensched_0.4.4-4 on coconut0 by sbuild/ia64 0.49
...
> make[3]: Entering directory `/build/tbm/opensched-0.4.4/src'
> c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c main.cc
> main.cc: In function 'int main(int, char**)':
> main.cc:90: error: 'EXIT_SUCCESS' was not declared in this scope
> main.cc:116: error: 'EXIT_FAILURE' was not declared in this scope
> main.cc:142: error: 'EXIT_FAILURE' was not declared in this scope
> main.cc:163: error: 'EXIT_FAILURE' was not declared in this scope
> main.cc:166: error: 'EXIT_SUCCESS' was not declared in this scope
> make[3]: *** [main.o] Error 1

--- src/main.cc~	2007-04-02 20:10:57.000000000 +0000
+++ src/main.cc	2007-04-02 20:11:02.000000000 +0000
@@ -19,6 +19,7 @@
 #include <config.h>
 #endif
 
+#include <cstdlib>
 #include <iostream>
 #include <cstdio>
 #include <list>
--- src/loadfile.cc~	2007-04-02 20:11:15.000000000 +0000
+++ src/loadfile.cc	2007-04-02 20:11:22.000000000 +0000
@@ -16,6 +16,7 @@
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
+#include <cstdlib>
 #include <iostream>
 #include <string>
 
--- src/slippage.cc~	2007-04-02 20:11:56.000000000 +0000
+++ src/slippage.cc	2007-04-02 20:12:04.000000000 +0000
@@ -23,6 +23,7 @@
 
 #include "project.h"
 #include "reporter.h"
+#include <cstdlib>
 
 void Reporter::SlippageReport( Project *project )
 {
--- src/print.cc~	2007-04-02 20:12:11.000000000 +0000
+++ src/print.cc	2007-04-02 20:12:17.000000000 +0000
@@ -24,6 +24,7 @@
 #include "messenger.h"
 #include "project.h"
 #include "reporter.h"
+#include <cstdlib>
 
 char *longMonthNames[] =
 {
--- src/network.cc~	2007-04-02 20:12:34.000000000 +0000
+++ src/network.cc	2007-04-02 20:12:40.000000000 +0000
@@ -23,6 +23,7 @@
 
 #include "project.h"
 #include "reporter.h"
+#include <cstdlib>
 
 static NETWORK_CELL **network_cols;
 static int numX;
--- src/parseline.cc~	2007-04-02 20:12:50.000000000 +0000
+++ src/parseline.cc	2007-04-02 20:12:56.000000000 +0000
@@ -22,6 +22,7 @@
 using namespace std;
 
 #include "projectFile.h"
+#include <cstdlib>
 
 enum myparserstates
   {

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


--- End Message ---
--- Begin Message ---
Source: opensched
Source-Version: 0.4.4-6

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

opensched_0.4.4-6.diff.gz
  to pool/main/o/opensched/opensched_0.4.4-6.diff.gz
opensched_0.4.4-6.dsc
  to pool/main/o/opensched/opensched_0.4.4-6.dsc
opensched_0.4.4-6_i386.deb
  to pool/main/o/opensched/opensched_0.4.4-6_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 417463@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank S. Thomas <fst@debian.org> (supplier of updated opensched 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, 26 Jan 2008 16:38:46 +0100
Source: opensched
Binary: opensched
Architecture: source i386
Version: 0.4.4-6
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Frank S. Thomas <fst@debian.org>
Description: 
 opensched  - Tool for project management
Closes: 417463
Changes: 
 opensched (0.4.4-6) unstable; urgency=low
 .
   * QA upload.
   * debian/patches/:
     + 03-gcc43_fix.dpatch: Also add "#include <cstring>" to src/task.h.
       (Closes: #417463 again)
     + 04-manpage-typos.dpatch: Added description of the patch to make Lintian
       happy.
   * debian/control: Added comma between ${shlibs:Depends} and ${misc:Depends}.
   * Bumped debhelper compat level from V5 to V6 since this is the current
     recommended level and raised the build dependency to "debhelper (>= 6)".
Files: 
 5b49217b947ddfb79c13a614a9d84bf6 680 misc optional opensched_0.4.4-6.dsc
 c0092e0af387ae66def64501f60a9500 4839 misc optional opensched_0.4.4-6.diff.gz
 34597ad22969072f73e7490e2ebb05ce 350706 misc optional opensched_0.4.4-6_i386.deb

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

iD8DBQFHm1rGft6HNdxCZCkRAhmvAJ9NOLAXsmoP4vubSkuWJe14ZyCWwQCgjXee
qcIv3h1bI8zbKbYvhnbkX8c=
=VefW
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: