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

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



Your message dated Wed, 06 Jun 2007 09:02:06 +0000
with message-id <E1HvrP4-0004iR-Ll@ries.debian.org>
and subject line Bug#417430: fixed in mklibs 0.1.22
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: mklibs
Version: 0.1.20
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 mklibs_0.1.20 on coconut0 by sbuild/ia64 0.49
...
> if ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../src/mklibs-readelf -I../..     -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o ../../../src/mklibs-readelf/main.cpp; \
> 	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
> ../../../src/mklibs-readelf/main.cpp:13: error: 'CHAR_MAX' was not declared in this scope
> ../../../src/mklibs-readelf/main.cpp: In function 'void usage(int)':
> ../../../src/mklibs-readelf/main.cpp:149: error: 'exit' was not declared in this scope
> ../../../src/mklibs-readelf/main.cpp: In function 'int main(int, char**)':
> ../../../src/mklibs-readelf/main.cpp:184: error: 'EXIT_SUCCESS' was not declared in this scope
> ../../../src/mklibs-readelf/main.cpp:191: error: 'exit' was not declared in this scope
> ../../../src/mklibs-readelf/main.cpp:194: error: 'EXIT_FAILURE' was not declared in this scope
> make[4]: *** [main.o] Error 1
> make[4]: Leaving directory `/build/tbm/mklibs-0.1.20/build-deb/src/mklibs-readelf'

--- src/mklibs-readelf/main.cpp~	2007-04-02 18:54:51.000000000 +0000
+++ src/mklibs-readelf/main.cpp	2007-04-02 18:55:02.000000000 +0000
@@ -1,5 +1,7 @@
 #include <config.h>
 
+#include <cstdlib>
+#include <climits>
 #include <iostream>
 #include <vector>
 
-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Source: mklibs
Source-Version: 0.1.22

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

mklibs-copy_0.1.22_i386.deb
  to pool/main/m/mklibs/mklibs-copy_0.1.22_i386.deb
mklibs_0.1.22.dsc
  to pool/main/m/mklibs/mklibs_0.1.22.dsc
mklibs_0.1.22.tar.gz
  to pool/main/m/mklibs/mklibs_0.1.22.tar.gz
mklibs_0.1.22_all.deb
  to pool/main/m/mklibs/mklibs_0.1.22_all.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 417430@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated mklibs 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: Wed,  6 Jun 2007 07:58:40 +0000
Source: mklibs
Binary: mklibs mklibs-copy
Architecture: source all i386
Version: 0.1.22
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description: 
 mklibs     - Shared library reduction script
 mklibs-copy - Shared library reduction script
Closes: 417430
Changes: 
 mklibs (0.1.22) unstable; urgency=low
 .
   * Fix missing includes. (closes: #417430)
   * Always include libgcc on old-abi arm.
Files: 
 02bfc14e18b46faaf092b6fbfcf9a8a5 741 devel optional mklibs_0.1.22.dsc
 1b322c4bb52ca7ef40dd4e354ce4b865 111016 devel optional mklibs_0.1.22.tar.gz
 33c3e77104b8875b801b30811d17315c 32980 devel optional mklibs-copy_0.1.22_i386.deb
 f96f399245b353d15c01efdd3a70c454 11402 devel optional mklibs_0.1.22_all.deb

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

iEYEARECAAYFAkZmabIACgkQLkAIIn9ODhGYggCgikQook5sfYiAlyoXjAl1S43Q
CK0AoLupmkQLptsPEIKJBSISHFBq9xqt
=bvEp
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: