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

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



Your message dated Tue, 03 Apr 2007 19:32:03 +0000
with message-id <E1HYojb-0006A6-57@ries.debian.org>
and subject line Bug#417066: fixed in achilles 2-8
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: achilles
Version: 2-7
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

> Automatic build of achilles_2-7 on coconut0 by sbuild/ia64 0.49
...
> c++ -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -c gene.cc
> gene.cc: In constructor 'GeneClass::GeneClass()':
> gene.cc:31: error: 'rand' was not declared in this scope
> gene.cc: In constructor 'GeneClass::GeneClass(GeneClass&, GeneClass&)':
> gene.cc:38: error: 'rand' was not declared in this scope
> gene.cc:38: error: 'RAND_MAX' was not declared in this scope
> make[1]: *** [gene.o] Error 1
> make[1]: Leaving directory `/build/tbm/achilles-2'
> make: *** [build-stamp] Error 2

--- gene.cc~	2007-04-01 13:58:24.000000000 +0000
+++ gene.cc	2007-04-01 13:58:35.000000000 +0000
@@ -24,6 +24,7 @@
 #include"braininfo.h"
 #include"defines.h"
 #include<stdio.h>
+#include<cstdlib>
 
 GeneClass::GeneClass() { // randomly generate one
   int i;

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


--- End Message ---
--- Begin Message ---
Source: achilles
Source-Version: 2-8

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

achilles_2-8.diff.gz
  to pool/main/a/achilles/achilles_2-8.diff.gz
achilles_2-8.dsc
  to pool/main/a/achilles/achilles_2-8.dsc
achilles_2-8_i386.deb
  to pool/main/a/achilles/achilles_2-8_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 417066@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manfred Lichtenstern <manfred@lichtenstern.biz> (supplier of updated achilles 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: Tue,  3 Apr 2007 18:56:00 +0200
Source: achilles
Binary: achilles
Architecture: source i386
Version: 2-8
Distribution: unstable
Urgency: low
Maintainer: Manfred Lichtenstern <manfred@lichtenstern.biz>
Changed-By: Manfred Lichtenstern <manfred@lichtenstern.biz>
Description: 
 achilles   - An artificial life and evolution simulator
Closes: 361167 417066
Changes: 
 achilles (2-8) unstable; urgency=low
 .
   * New Maintainer. (Closes: #361167)
   * Added patch from Martin Michlmayr <tbm@cyrius.com> to add missing include
     required to build with GCC 4.3 (Closes: #417066).
   * debian/copyright: Update.
   * debian/watch: Remove.
Files: 
 0e9fc91e845c55e33ea6519cccbf4ed8 607 science optional achilles_2-8.dsc
 a74f6bfefcacd10b7b70f7d23487dc16 7125 science optional achilles_2-8.diff.gz
 b784fe0961a1bb9e47aa6724e1000c78 38252 science optional achilles_2-8_i386.deb

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

iD8DBQFGEqgKHYflSXNkfP8RApI4AJ9jFZTxO4rDiEXqTCSP7RHQsJSbSQCdG7qh
n0r7xCBspFRTQtlXhQo7X9c=
=K9V/
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: