Package: kdebase
Version: 4:3.5.8.dfsg.1-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 kdebase_4:3.5.8.dfsg.1-2 on em64t by sbuild/amd64 0.53
...
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I../.. 
> -I/build/tbm/kdebase-3.5.8.dfsg.1/./kcontrol/konqhtml 
> -I/build/tbm/kdebase-3.5.8.dfsg.1/./libkonq 
> -I/build/tbm/kdebase-3.5.8.dfsg.1/./kcontrol/input -I/usr/include/kde 
> -I/usr/share/qt3/include -I. -I/usr/include/sasl -DQT_THREAD_SUPPORT 
> -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W 
> -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -DSMB_CTX_FLAG_USE_KERBEROS 
> -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall -O2 -Wformat-security 
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -c 
> kcm_konqhtml_la.all_cpp.cpp  -fPIC -DPIC -o .libs/kcm_konqhtml_la.all_cpp.o
> In file included from kcm_konqhtml_la.all_cpp.cpp:7:
> /build/tbm/kdebase-3.5.8.dfsg.1/./kcontrol/konqhtml/appearance.cpp:330:1: 
> error: "READ_ENTRY" redefined
> In file included from kcm_konqhtml_la.all_cpp.cpp:3:
> /build/tbm/kdebase-3.5.8.dfsg.1/./kcontrol/konqhtml/htmlopts.cpp:219:1: 
> error: this is the location of the previous definition
> In file included from /usr/include/kde/kaboutdata.h:24,
>                  from 
> /build/tbm/kdebase-3.5.8.dfsg.1/./kcontrol/konqhtml/main.cpp:41,
>                  from kcm_konqhtml_la.all_cpp.cpp:10:
> /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 ||
> make[4]: *** [kcm_konqhtml_la.all_cpp.lo] Error 1
> make[4]: Leaving directory 
> `/build/tbm/kdebase-3.5.8.dfsg.1/obj-x86_64-linux-gnu/kcontrol/konqhtml'
> make[3]: *** [all-recursive] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to