Your message dated Sun, 06 Apr 2008 09:03:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#455336: fixed in log4cpp 1.0-4
has caused the Debian Bug report #455336,
regarding FTBFS with GCC 4.3: ... has a previous declaration here
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.)
--
455336: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455336
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: log4cpp
Version: 1.0-2
Usertags: ftbfs-gcc-4.3
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.
I think the problem here is that you define a class ostringstream but
C++ already has a class with that name. I guess you just need to
rename log4cpp's class. Brian (CCed), can you confirm this is the
problem?
You can reproduce this problem with gcc-snapshot from unstable. Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere. I suggest you talk to your upstream.
> Automatic build of log4cpp_1.0-2 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -Wall -O2 -O2 -DNDEBUG
> -Wall -Wno-unused -pedantic -c Appender.cpp -fPIC -DPIC -o .libs/Appender.o
> In file included from
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/strstream:51,
> from ../include/log4cpp/Portability.hh:40,
> from PortabilityImpl.hh:12,
> from Appender.cpp:10:
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2:
> warning: #warning This file includes at least one deprecated or antiquated
> header. Please consider use of an equivalent, non-deprecated interface for
> the requested functionality. A list of valid replacements is as follows: Use:
> Instead of: <sstream>, basic_stringbuf <strstream>, strstreambuf <sstream>,
> basic_istringstream <strstream>, istrstream <sstream>, basic_ostringstream
> <strstream>, ostrstream <sstream>, basic_stringstream <strstream>, strstream
> <unordered_set>, unordered_set <ext/hash_set>, hash_set <unordered_set>,
> unordered_multiset <ext/hash_set>, hash_multiset <unordered_map>,
> unordered_map <ext/hash_set>, hash_map <unordered_map>, unordered_multimap
> <ext/hash_set>, hash_multimap <functional>, bind <functional>, binder1st
> <functional>, bind <functional>, binder2nd <functional>, bind <functional>,
> bind1st <functional>, bind <functional>, bind2nd <memory>, unique_ptr
> <memory>, auto_ptr To disable this warning use -Wno-deprecated.
> In file included from PortabilityImpl.hh:12,
> from Appender.cpp:10:
> ../include/log4cpp/Portability.hh:42: error: using typedef-name
> 'std::ostringstream' after 'class'
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/iosfwd:139:
> error: 'std::ostringstream' has a previous declaration here
> make[2]: *** [Appender.lo] Error 1
> make[2]: Leaving directory `/build/tbm/log4cpp-1.0/src'
> make[1]: *** [all-recursive] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Source: log4cpp
Source-Version: 1.0-4
We believe that the bug you reported is fixed in the latest version of
log4cpp, which is due to be installed in the Debian FTP archive:
liblog4cpp5-dev_1.0-4_amd64.deb
to pool/main/l/log4cpp/liblog4cpp5-dev_1.0-4_amd64.deb
liblog4cpp5_1.0-4_amd64.deb
to pool/main/l/log4cpp/liblog4cpp5_1.0-4_amd64.deb
log4cpp_1.0-4.diff.gz
to pool/main/l/log4cpp/log4cpp_1.0-4.diff.gz
log4cpp_1.0-4.dsc
to pool/main/l/log4cpp/log4cpp_1.0-4.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.
Fathi Boudra <[EMAIL PROTECTED]> (supplier of updated log4cpp 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.7
Date: Sun, 06 Apr 2008 09:45:37 +0200
Source: log4cpp
Binary: liblog4cpp5-dev liblog4cpp5
Architecture: source amd64
Version: 1.0-4
Distribution: unstable
Urgency: low
Maintainer: Fathi Boudra <[EMAIL PROTECTED]>
Changed-By: Fathi Boudra <[EMAIL PROTECTED]>
Description:
liblog4cpp5 - C++ library for flexible logging (runtime)
liblog4cpp5-dev - C++ library for flexible logging (development)
Closes: 455336 472289
Changes:
log4cpp (1.0-4) unstable; urgency=low
.
* Add patch to fix FTBFS with gcc 4.3. Thanks to Barry deFreeze.
(Closes: #455336)
* Add patch to remove log4cpp_cflags from pkgconfig file. (Closes: #472289)
Files:
f04e02625c8ad942bbd3cd425ab45de2 760 libs optional log4cpp_1.0-4.dsc
c4635e297ac9c9ce4d11def136479f3e 6806 libs optional log4cpp_1.0-4.diff.gz
00bf8978cc678676cc9ae96ed9f2a1fb 213964 libdevel optional
liblog4cpp5-dev_1.0-4_amd64.deb
be963fb6f7d3bc4bc04436c4923fa21f 128832 libs optional
liblog4cpp5_1.0-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQCVAwUBR/iFeoz1NfZqpXL3AQKybgP/aiNRQuNZyrl7kXx42pNE7WmzErPAJVph
jg7U4kvB67VP/XELdKjn6g5hqyhAam1CvLUoM4wS/IRaHJcf5PrZAhxkekta1lVO
+ImYksjV8pthIdDdNfb0sIhc6LrzURe9TwPyP1z3EJflWewz8gaqM3wWMHcPCqxa
kTkuwnTf3oM=
=lnfw
-----END PGP SIGNATURE-----
--- End Message ---