Package: kmobiletools Version: 0.4.3.2-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. GCC 4.3 has converted a number of warnings into errors. With GCC 4.3, you're no longer to just redefine a previous #define. You need to either avoid redefinitions directly or to use #ifndef to make sure that something has not been defined already. See http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html
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 kmobiletools_0.4.3.2-2 on em64t by sbuild/amd64 0.53 ... > Making all in kmobiletools > make[4]: Entering directory > `/build/tbm/kmobiletools-0.4.3.2/kmobiletools/kmobiletools' > if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde > -I/usr/share/qt3/include -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 -Wformat-security > -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT > main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ > then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f > ".deps/main.Tpo"; exit 1; fi > main.cpp:32:1: error: "VERSION" redefined > In file included from kmobiletools.h:25, > from main.cpp:21: > ../../config.h:240:1: error: this is the location of the previous definition > In file included from /usr/share/qt3/include/qwindowdefs.h:44, > from /usr/share/qt3/include/qobject.h:43, > from /usr/include/kde/kxmlguifactory.h:24, > from /usr/include/kde/kmainwindow.h:24, > from kmobiletools.h:29, > from main.cpp:21: > /usr/share/qt3/include/qstring.h: In member function 'char QChar::latin1() > const': > /usr/share/qt3/include/qstring.h:194: warning: conversion to 'char' from > 'int' may alter its value > /usr/share/qt3/include/qstring.h: In member function 'void > QChar::setCell(uchar)': > /usr/share/qt3/include/qstring.h:219: warning: conversion to 'ushort' from > 'int' may alter its value > /usr/share/qt3/include/qstring.h: In member function 'void > QChar::setRow(uchar)': > /usr/share/qt3/include/qstring.h:220: warning: conversion to 'ushort' from > 'int' may alter its value > /usr/share/qt3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': > /usr/share/qt3/include/qstring.h:264: warning: conversion to 'ushort' from > 'int' may alter its value > /usr/share/qt3/include/qstring.h: In constructor > 'QStringData::QStringData(QChar*, uint, uint)': > /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned > int:30' from 'uint' may alter its value > /usr/share/qt3/include/qstring.h:362: warning: conversion to 'unsigned > int:30' from 'uint' may alter its value > In file included from /usr/share/qt3/include/qobject.h:45, > from /usr/include/kde/kxmlguifactory.h:24, > from /usr/include/kde/kmainwindow.h:24, > from kmobiletools.h:29, > from main.cpp:21: > /usr/share/qt3/include/qevent.h: In member function 'void > QDropEvent::setAction(QDropEvent::Action)': > /usr/share/qt3/include/qevent.h:520: warning: conversion to 'unsigned char' > from 'uint' may alter its value > In file included from /usr/share/qt3/include/qwidget.h:49, > from /usr/share/qt3/include/qmainwindow.h:42, > from /usr/include/kde/kmainwindow.h:27, > from kmobiletools.h:29, > from main.cpp:21: > /usr/share/qt3/include/qsizepolicy.h: In member function 'void > QSizePolicy::transpose()': > /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from > 'uint' may alter its value > /usr/share/qt3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from > 'uint' may alter its value > In file included from /usr/include/kde/klistbox.h:21, > from /usr/include/kde/kjanuswidget.h:27, > from /usr/include/kde/kdialogbase.h:27, > from /usr/include/kde/kprogress.h:30, > from kmobiletools.h:35, > from main.cpp:21: > /usr/share/qt3/include/qlistbox.h: In member function 'int > QListBox::cellWidth() const': > /usr/share/qt3/include/qlistbox.h:191: warning: conversion to 'int' from > 'long int' may alter its value > /usr/share/qt3/include/qlistbox.h: In member function 'int > QListBox::cellWidth(int) const': > /usr/share/qt3/include/qlistbox.h:192: warning: conversion to 'int' from > 'long int' may alter its value > In file included from /usr/include/kde/kabc/picture.h:24, > from /usr/include/kde/kabc/addressee.h:38, > from c_sms.h:25, > from gsm.h:26, > from kmobiletools.h:43, > from main.cpp:21: > /usr/share/qt3/include/qimage.h: In member function 'bool > QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': > /usr/share/qt3/include/qimage.h:58: warning: suggest parentheses around && > within || > In file included from /usr/include/kde/kservice.h:28, > from /usr/include/kde/ktrader.h:23, > from /usr/include/kde/kresources/factory.h:32, > from /usr/include/kde/kresources/manager.h:31, > from /usr/include/kde/kabc/addressbook.h:27, > from gsm.h:28, > from kmobiletools.h:43, > from main.cpp:21: > /usr/include/kde/ksycocaentry.h: In member function 'virtual void > KSycocaEntry::save(QDataStream&)': > /usr/include/kde/ksycocaentry.h:104: warning: conversion to 'int' from > 'Q_ULONG' may alter its value > In file included from /usr/include/kde/kabc/addressbook.h:27, > from gsm.h:28, > from kmobiletools.h:43, > from main.cpp:21: > /usr/include/kde/kresources/manager.h: At global scope: > /usr/include/kde/kresources/manager.h:59: warning: 'class > KRES::ManagerNotifier' has virtual functions and accessible non-virtual > destructor > make[4]: *** [main.o] Error 1 > make[4]: Leaving directory > `/build/tbm/kmobiletools-0.4.3.2/kmobiletools/kmobiletools' -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

