Your message dated Wed, 16 Apr 2008 02:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#420920: fixed in libtorrent 0.11.9-1.1
has caused the Debian Bug report #420920,
regarding libtorrent: FTBFS with GCC 4.3: missing #includes
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
420920: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420920
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libtorrent
Version: 0.11.4-1
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 libtorrent_0.11.4-1 on coconut0 by sbuild/ia64 0.49
...
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -g
> -Wall -O3 -g -DDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0
> -I/usr/lib/sigc++-2.0/include -c file_list_iterator.cc -fPIC -DPIC -o
> .libs/file_list_iterator.o
> In file included from file_list_iterator.cc:42:
> file_list_iterator.h: In member function 'uint32_t
> torrent::FileListIterator::depth() const':
> file_list_iterator.h:64: error: 'abs' is not a member of 'std'
> make[5]: *** [file_list_iterator.lo] Error 1
> make[5]: Leaving directory `/build/tbm/libtorrent-0.11.4/src/torrent/data'
--- rak/functional.h~ 2007-04-25 11:27:17.000000000 +0000
+++ rak/functional.h 2007-04-25 11:27:23.000000000 +0000
@@ -37,6 +37,7 @@
#ifndef RAK_FUNCTIONAL_H
#define RAK_FUNCTIONAL_H
+#include <cstdlib>
#include <functional>
namespace rak {
--- src/torrent/data/file_list_iterator.h~ 2007-04-25 09:25:06.000000000
+0000
+++ src/torrent/data/file_list_iterator.h 2007-04-25 09:25:14.000000000
+0000
@@ -40,6 +40,8 @@
#include <torrent/common.h>
#include <torrent/data/file_list.h>
+#include <cstdlib>
+
namespace torrent {
class File;
Once this is fixed, there's at least one more C++ error:
(sid)19607:[EMAIL PROTECTED]: ..torrent-0.11.4/src/torrent]
/usr/lib/gcc-snapshot/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./..
-I../.. -g -Wall -O3 -g -DDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -c chunk_manager.cc -fPIC -DPIC -o
.libs/chunk_manager.o
In file included from chunk_manager.cc:43:
./../data/chunk_list.h:62: error: ISO C++ forbids declaration of 'type name'
with no type
./../data/chunk_list.h:62: error: template argument 3 is invalid
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Source: libtorrent
Source-Version: 0.11.9-1.1
We believe that the bug you reported is fixed in the latest version of
libtorrent, which is due to be installed in the Debian FTP archive:
libtorrent-dev_0.11.9-1.1_i386.deb
to pool/main/libt/libtorrent/libtorrent-dev_0.11.9-1.1_i386.deb
libtorrent10_0.11.9-1.1_i386.deb
to pool/main/libt/libtorrent/libtorrent10_0.11.9-1.1_i386.deb
libtorrent_0.11.9-1.1.diff.gz
to pool/main/libt/libtorrent/libtorrent_0.11.9-1.1.diff.gz
libtorrent_0.11.9-1.1.dsc
to pool/main/libt/libtorrent/libtorrent_0.11.9-1.1.dsc
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Vega <[EMAIL PROTECTED]> (supplier of updated libtorrent 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 15 Apr 2008 21:38:37 -0400
Source: libtorrent
Binary: libtorrent-dev libtorrent10
Architecture: source i386
Version: 0.11.9-1.1
Distribution: unstable
Urgency: low
Maintainer: [EMAIL PROTECTED]
Changed-By: James Vega <[EMAIL PROTECTED]>
Description:
libtorrent-dev - a C++ BitTorrent library (development files)
libtorrent10 - a C++ BitTorrent library
Closes: 420920
Changes:
libtorrent (0.11.9-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Fix FTBFS with gcc-4.3. (Closes: #420920)
Checksums-Sha1:
68489130437c2222104ad87485c7391fb4b0954d 1208 libtorrent_0.11.9-1.1.dsc
78b4ca51b62877d4c9c70068fd4a894e81fdf85b 9369 libtorrent_0.11.9-1.1.diff.gz
e95ef7c2ca54610bed7ac87dce8266155717201c 36414
libtorrent-dev_0.11.9-1.1_i386.deb
b9958cdc49f4e3227fed13c61a100cb7e700978f 283180
libtorrent10_0.11.9-1.1_i386.deb
Checksums-Sha256:
5ebcdbfbabc000fd17f4a1298f17f636543b535be7f11d9d4b6eaa3e68c50dfe 1208
libtorrent_0.11.9-1.1.dsc
d026bb6ffe8bf78fa1ee933ce7d5f095ded6c429e315e463778f6657606e99dd 9369
libtorrent_0.11.9-1.1.diff.gz
e6d1302d7cbb0abfc9da3b13cb86607211a50450cfd888b9985ed409cc6579bf 36414
libtorrent-dev_0.11.9-1.1_i386.deb
bbd421d547d3ab22483f041ab6d5f144f54e7ee483153d08725d1891b3a71192 283180
libtorrent10_0.11.9-1.1_i386.deb
Files:
7210782dadb0e3e755c8915343f1514a 1208 libs extra libtorrent_0.11.9-1.1.dsc
ce25a2e7fc52a21ca32ef1f2ef5d4565 9369 libs extra libtorrent_0.11.9-1.1.diff.gz
4f9888f6bfc598a4d796121eb05c3a41 36414 libdevel extra
libtorrent-dev_0.11.9-1.1_i386.deb
fb1a1de7c553f8c7fd75be1033ef8178 283180 libs extra
libtorrent10_0.11.9-1.1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iEYEARECAAYFAkgFWfAACgkQDb3UpmEybUDK1gCdGxkB73k+RVJ9jOOGaZM7eyaB
yWsAmgIWHWHDHchLeGKkk8ac9Vyw6fRa
=isGh
-----END PGP SIGNATURE-----
--- End Message ---