Package: cryptonit Version: 0.9.7-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. 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 cryptonit_0.9.7-2 on em64t by sbuild/amd64 0.53 ... > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. > -I/build/tbm/cryptonit-0.9.7/src/pkcs11 > -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -DNO_GCC_PRAGMA -I/build/tbm/cryptonit-0.9.7/src/pkcs11 -O2 -MT User.lo -MD > -MP -MF .deps/User.Tpo -c User.cpp -o User.o > 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 Entry.hh:47, > from User.hh:47, > from User.cpp:49: > /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 Crl.hh:47, > from Crl.cpp:42: > Certificate.hh: In member function 'bool > Cryptonit::Certificate::eqstr::operator()(Cryptonit::Certificate, > Cryptonit::Certificate) const': > Certificate.hh:127: error: 'strcmp' was not declared in this scope > make[4]: *** [Crl.lo] Error 1 > make[4]: *** Waiting for unfinished jobs.... > In file included from pkcs8.hh:46, > from User.cpp:52: > Certificate.hh: In member function 'bool > Cryptonit::Certificate::eqstr::operator()(Cryptonit::Certificate, > Cryptonit::Certificate) const': > Certificate.hh:127: error: 'strcmp' was not declared in this scope > User.cpp: In member function 'void Cryptonit::User::remove()': > User.cpp:231: error: 'strcmp' was not declared in this scope > User.cpp: In static member function 'static > std::vector<std::basic_string<char, std::char_traits<char>, > std::allocator<char> >, std::allocator<std::basic_string<char, > std::char_traits<char>, std::allocator<char> > > > > Cryptonit::User::getValidUsers()': > User.cpp:515: error: 'strcmp' was not declared in this scope > User.cpp: In member function 'int > Cryptonit::User::addIdentityFromP10(std::string, std::string, std::string, > std::string, std::string)': > User.cpp:749: error: 'strdup' was not declared in this scope > User.cpp:751: warning: deprecated conversion from string constant to 'char*' > make[4]: *** [User.lo] Error 1 > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. > -I/build/tbm/cryptonit-0.9.7/src/pkcs11 > -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES > -DNO_GCC_PRAGMA -I/build/tbm/cryptonit-0.9.7/src/pkcs11 -O2 -MT > Certificate.lo -MD -MP -MF .deps/Certificate.Tpo -c Certificate.cpp -o > Certificate.o > make[4]: Leaving directory `/build/tbm/cryptonit-0.9.7/src' -- Martin Michlmayr http://www.cyrius.com/