Package: stealth
Version: 1.46.1-1
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.  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).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

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 stealth_1.46.1-1 on em64t by sbuild/amd64 0.53
...
> g++ -c -o monitor/o/4setdelay.o -Wall -O3 monitor/setdelay.cc
> In file included from 
> /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/ext/hash_map:64,
>                  from /usr/include/bobcat/hash:7,
>                  from monitor/../configsorter/configsorter.h:6,
>                  from monitor/monitor.ih:9,
>                  from monitor/setdelay.cc:1:
> /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 /usr/include/bobcat/process:8,
>                  from monitor/monitor.ih:5,
>                  from monitor/setdelay.cc:1:
> /usr/include/bobcat/string: In static member function 'static int 
> FBB::String::casecmp(const std::string&, const std::string&)':
> /usr/include/bobcat/string:86: error: 'strcasecmp' was not declared in this 
> scope
> /usr/include/bobcat/string: In member function 'int 
> FBB::String::casecmp(const std::string&) const':
> /usr/include/bobcat/string:123: error: 'strcasecmp' was not declared in this 
> scope
> In file included from monitor/../configsorter/configsorter.h:6,
>                  from monitor/monitor.ih:9,
>                  from monitor/setdelay.cc:1:
> /usr/include/bobcat/hash: In member function 'bool 
> FBB::Equal_CharPtr::operator()(const char*, const char*) const':
> /usr/include/bobcat/hash:199: error: 'strcmp' was not declared in this scope
> /usr/include/bobcat/hash: In member function 'bool 
> FBB::Equal_CaseCharPtr::operator()(const char*, const char*) const':
> /usr/include/bobcat/hash:216: error: 'strcasecmp' was not declared in this 
> scope
> /usr/include/bobcat/hash: In member function 'bool 
> FBB::Equal_CaseString::operator()(const std::string&, const std::string&) 
> const':
> /usr/include/bobcat/hash:232: error: 'strcasecmp' was not declared in this 
> scope

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


Reply via email to