Package: kover Version: 1:2.9.6-5 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 kover_1:2.9.6-5 on em64t by sbuild/amd64 0.53 ... > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/include/kde > -I/usr/include/qt3 -I. -DQT_THREAD_SUPPORT -D_REENTRANT > -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 > -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W > -Wpointer-arith -Wwrite-strings -O2 -Wnon-virtual-dtor -Wno-long-long -Wundef > -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion > -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -g -O2 > -std=gnu++98 -Wformat-security -Wmissing-format-attribute -fno-exceptions > -fno-check-new -fno-common -Wformat-security -Wmissing-format-attribute > -fno-exceptions -fno-check-new -fno-common -MT cd_text.all_cc.o -MD -MP -MF > ".deps/cd_text.all_cc.Tpo" \ > -c -o cd_text.all_cc.o `test -f 'cd_text.all_cc.cc' || echo > './'`cd_text.all_cc.cc; \ > then mv -f ".deps/cd_text.all_cc.Tpo" ".deps/cd_text.all_cc.Po"; \ > else rm -f ".deps/cd_text.all_cc.Tpo"; exit 1; \ > fi > In file included from cd_text.all_cc.cc:2: > cdtext.cc: In member function 'int cdtext::read_cdtext()': > cdtext.cc:106: warning: conversion to 'unsigned char' from 'int' may alter > its value > cdtext.cc:114: error: 'stderr' was not declared in this scope > cdtext.cc:114: error: 'fprintf' was not declared in this scope > cdtext.cc:120: warning: large integer implicitly truncated to unsigned type > cdtext.cc:127: warning: conversion to 'unsigned char' from 'int' may alter > its value > cdtext.cc:128: warning: conversion to 'unsigned char' from 'int' may alter > its value > cdtext.cc: In member function 'int cdtext::parse_cdtext(unsigned char*)': > cdtext.cc:154: warning: conversion to 'char' alters 'int' constant value > cdtext.cc:164: warning: conversion to 'char' from 'int' may alter its value > cdtext.cc:175: error: 'stderr' was not declared in this scope > cdtext.cc:175: error: 'fprintf' was not declared in this scope > cdtext.cc:187: warning: suggest a space before ';' or explicit braces around > empty body in 'for' statement > cdtext.cc: In member function 'short unsigned int cdtext::from2Byte(unsigned > char*)': > cdtext.cc:238: warning: suggest parentheses around arithmetic in operand of > '|' > cdtext.cc:238: warning: conversion to 'short unsigned int' from 'int' may > alter its value > make[4]: *** [cd_text.all_cc.o] Error 1 > make[4]: Leaving directory > `/build/tbm/kover-2.9.6/build-tree/kover-2.9.6/kover' --- kover-2.9.6/kover/cdtext.cc~ 2008-11-07 20:41:37.000000000 +0000 +++ kover-2.9.6/kover/cdtext.cc 2008-11-07 20:41:43.000000000 +0000 @@ -22,6 +22,7 @@ */ #include "cdtext.h" +#include <cstdio> #include <iostream> void cdtext::set_track_title(int tracknumber, string title) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

