Package: cryptonit Version: 0.9.7-2.2 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of cryptonit_0.9.7-2.2 on em64t by sbuild/amd64 0.53 ... > then mv -f ".deps/User.Tpo" ".deps/User.Plo"; else rm -f > ".deps/User.Tpo"; exit 1; fi > 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.4.0/../../../../include/c++/4.4.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.4.0/../../../../include/c++/4.4.0/backward/backward_warning.h:33:2: > warning: #warning This file includes at least one deprecated or antiquated > header which may be removed without further notice at a future date. Please > use a non-deprecated interface with equivalent functionality instead. For a > listing of replacement headers and interfaces, consult the file > backward_warning.h. To disable this warning use -Wno-deprecated. > User.cpp: In member function 'void Cryptonit::User::remove()': > User.cpp:251: error: no matching function for call to 'remove(const char*)' > User.cpp:262: error: no matching function for call to 'remove(const char*)' > User.cpp: In member function 'int > Cryptonit::User::addIdentityFromP10(std::string, std::string, std::string, > std::string, std::string)': > User.cpp:751: warning: deprecated conversion from string constant to 'char*' > User.cpp:779: error: no matching function for call to 'remove(const char*)' > make[4]: *** [User.lo] Error 1 > make[4]: Leaving directory `/build/tbm/cryptonit-0.9.7/src' > make[3]: *** [all-recursive] Error 1 --- src/gui/LoginFrame.cpp~ 2008-11-08 09:17:14.000000000 +0000 +++ src/gui/LoginFrame.cpp 2008-11-08 09:17:31.000000000 +0000 @@ -47,6 +47,8 @@ #include <wx/textdlg.h> #include <wx/dcclient.h> +#include <cstdio> + #include "LoginFrame.hh" #include "MainWindow.hh" #include "PasswordDlg.hh" --- src/User.cpp~ 2008-11-08 09:07:56.000000000 +0000 +++ src/User.cpp 2008-11-08 09:21:45.000000000 +0000 @@ -39,8 +39,8 @@ * Token Interface (Cryptoki)" as described in each individual source file. */ #include <iostream> +#include <cstdio> -#include <stdio.h> //access #include <unistd.h> //access #include <sys/stat.h> //stat #include <sys/types.h> // *dir --- src/Attribute.cpp~ 2008-11-08 09:13:20.000000000 +0000 +++ src/Attribute.cpp 2008-11-08 09:13:30.000000000 +0000 @@ -41,6 +41,7 @@ #include "Attribute.hh" +#include <ostream> #include <string> namespace Cryptonit { --- src/CertificateStore.cpp~ 2008-11-08 09:14:46.000000000 +0000 +++ src/CertificateStore.cpp 2008-11-08 09:14:53.000000000 +0000 @@ -43,7 +43,7 @@ #include "Utils.hh" -#include <stdio.h> +#include <cstdio> #include <sys/types.h> #include <dirent.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]