Package: showimg Version: 0.9.5-1.1 Usertags: ftbfs-gcc-4.3 Tags: patch 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). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in ~3 weeks.) > Automatic build of showimg_0.9.5-1.1 on coconut0 by sbuild/ia64 0.49 ... > if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX > ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. > -I../../../../showimg/kexi -I../../../../showimg/kexi/kexidb > -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 -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 > -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new > -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL > -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -include > ../../../../showimg/kexi/kexi_global.h -DYYERROR_VERBOSE=1 -DMAKE_KEXI_DB_LIB > -MT sqlparser.lo -MD -MP -MF ".deps/sqlparser.Tpo" \ > -c -o sqlparser.lo `test -f 'sqlparser.cpp' || echo > './'`sqlparser.cpp; \ > then mv -f ".deps/sqlparser.Tpo" ".deps/sqlparser.Plo"; \ > else rm -f ".deps/sqlparser.Tpo"; exit 1; \ > fi > sqlparser.y:592:5: warning: "YYDEBUG" is not defined > sqlparser.y:641:5: warning: "YYDEBUG" is not defined > sqlparser.y:657:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:149:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:291:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:394:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:403:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:428:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:442:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:451:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:493:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:526:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:550:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:657:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:690:5: warning: "YYDEBUG" is not defined > /usr/local/share/bison.simple:725:5: warning: "YYDEBUG" is not defined > In file included from /usr/include/qt3/qstring.h:42, > from /usr/include/qt3/qwindowdefs.h:44, > from /usr/include/qt3/qobject.h:43, > from sqlparser.y:459: > /usr/include/qt3/qcstring.h: In function 'QByteArray qCompress(const > QByteArray&)': > /usr/include/qt3/qcstring.h:123: warning: conversion to 'int' from 'uint' may > alter its value > /usr/include/qt3/qcstring.h: In function 'QByteArray qUncompress(const > QByteArray&)': > /usr/include/qt3/qcstring.h:125: warning: conversion to 'int' from 'uint' may > alter its value > In file included from /usr/include/qt3/qwindowdefs.h:44, > from /usr/include/qt3/qobject.h:43, > from sqlparser.y:459: > /usr/include/qt3/qstring.h: In member function 'char QChar::latin1() const': > /usr/include/qt3/qstring.h:194: warning: conversion to 'char' from 'int' may > alter its value > /usr/include/qt3/qstring.h: In member function 'uchar QChar::cell() const': > /usr/include/qt3/qstring.h:217: warning: conversion to 'uchar' from 'int' may > alter its value > /usr/include/qt3/qstring.h:217: warning: conversion to 'uchar' from 'int' may > alter its value > /usr/include/qt3/qstring.h: In member function 'uchar QChar::row() const': > /usr/include/qt3/qstring.h:218: warning: conversion to 'uchar' from 'int' may > alter its value > /usr/include/qt3/qstring.h:218: warning: conversion to 'uchar' from 'int' may > alter its value > /usr/include/qt3/qstring.h: In member function 'void QChar::setCell(uchar)': > /usr/include/qt3/qstring.h:219: warning: conversion to 'ushort' from 'int' > may alter its value > /usr/include/qt3/qstring.h:219: warning: conversion to 'ushort' from 'int' > may alter its value > /usr/include/qt3/qstring.h: In member function 'void QChar::setRow(uchar)': > /usr/include/qt3/qstring.h:220: warning: conversion to 'ushort' from 'int' > may alter its value > /usr/include/qt3/qstring.h:220: warning: conversion to 'ushort' from 'int' > may alter its value > /usr/include/qt3/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': > /usr/include/qt3/qstring.h:264: warning: conversion to 'ushort' from 'int' > may alter its value > /usr/include/qt3/qstring.h: In constructor 'QStringData::QStringData(QChar*, > uint, uint)': > /usr/include/qt3/qstring.h:362: warning: conversion to 'unsigned int:30' from > 'uint' may alter its value > /usr/include/qt3/qstring.h:362: warning: conversion to 'unsigned int:30' from > 'uint' may alter its value > /usr/include/qt3/qstring.h: In member function 'QString& > QString::insert(uint, const QByteArray&)': > /usr/include/qt3/qstring.h:898: warning: conversion to 'unsigned int' from > 'int' may alter its value > /usr/include/qt3/qstring.h: In member function 'QString& > QString::operator+=(const QByteArray&)': > /usr/include/qt3/qstring.h:920: warning: conversion to 'unsigned int' from > 'int' may alter its value > In file included from /usr/include/qt3/qobject.h:45, > from sqlparser.y:459: > /usr/include/qt3/qevent.h: In member function 'void > QDropEvent::setAction(QDropEvent::Action)': > /usr/include/qt3/qevent.h:520: warning: conversion to 'unsigned char' from > 'uint' may alter its value > /usr/local/share/bison.simple: In function 'int yyparse()': > /usr/local/share/bison.simple:317: warning: conversion to 'short int' from > 'int' may alter its value > /usr/local/share/bison.simple:330: warning: conversion to 'int' from 'long > int' may alter its value > /usr/local/share/bison.simple:361: error: 'free' was not declared in this > scope > /usr/local/share/bison.simple:375: warning: conversion to 'long unsigned int' > from 'int' may alter its value > /usr/local/share/bison.simple:375: error: 'alloca' was not declared in this > scope --- showimg/kexi/kexidb/parser/sqlparser.cpp~ 2007-04-04 10:12:09.000000000 +0000 +++ showimg/kexi/kexidb/parser/sqlparser.cpp 2007-04-04 10:12:27.000000000 +0000 @@ -354,6 +354,7 @@ #line 433 "sqlparser.y" #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <string> #include <iostream> --- showimg/showimg/imagelistview.cpp~ 2007-04-04 10:25:31.000000000 +0000 +++ showimg/showimg/imagelistview.cpp 2007-04-04 10:25:44.000000000 +0000 @@ -49,6 +49,9 @@ #include "imageviewer.h" #include "imagemetainfo.h" +#include <cstdlib> +#include <climits> + #ifdef HAVE_KIPI #include "kipiplugins/kipipluginmanager.h" #endif /* HAVE_KIPI */ -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

