Package: kredentials Version: 0.9.4 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 kredentials_0.9.4 on em64t by sbuild/amd64 0.53 ... > /usr/share/qt3/include/qstring.h:365: warning: conversion to 'unsigned > int:30' from 'uint' may alter its value > In file included from krb5_wrap.cpp:24: > ./krb5_wrap.h: At global scope: > ./krb5_wrap.h:118: warning: type qualifiers ignored on function return type > krb5_wrap.cpp:260: warning: type qualifiers ignored on function return type > krb5_wrap.cpp: In member function 'std::string krb5::tixmgr::readPass(int)': > krb5_wrap.cpp:394: error: 'fdopen' was not declared in this scope > krb5_wrap.cpp:395: error: '_IONBF' was not declared in this scope > krb5_wrap.cpp:395: error: 'setvbuf' was not declared in this scope > krb5_wrap.cpp:396: error: 'fileno' was not declared in this scope > krb5_wrap.cpp:403: error: 'fgets' was not declared in this scope > krb5_wrap.cpp:407: warning: conversion to 'int' from 'size_t' may alter its > value > make[3]: *** [krb5_wrap.o] Error 1 > make[3]: Leaving directory `/build/tbm/kredentials-0.9.4/src' > make[2]: *** [all-recursive] Error 1 --- src/krb5_wrap.cpp~ 2008-11-09 17:37:48.000000000 +0000 +++ src/krb5_wrap.cpp 2008-11-09 17:37:54.000000000 +0000 @@ -22,6 +22,7 @@ #include <kdebug.h> #include <krb5_wrap.h> +#include <cstdio> #include <iostream> #include <memory> #include <termios.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]