Package: python2.5 Version: 2.5.1-5 Usertags: ftbfs-gcc-4.3 Your package causes other packages to fail 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 in C++ code 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 matplotlib_0.90.1-2 on em64t by sbuild/amd64 0.53 ... > ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect > gcc: agg23/src/agg_image_filters.cpp > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > gcc: src/_image.cpp > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > In file included from /usr/include/python2.5/Python.h:8, > from src/_image.cpp:7: > /usr/include/python2.5/pyconfig.h:918:1: error: "_BSD_SOURCE" redefined > In file included from /usr/include/png.h:387, > from src/_image.cpp:5: > /usr/include/pngconf.h:327:1: error: this is the location of the previous > definition > ./CXX/Extensions.hxx: In constructor > 'Py::PythonExtension<T>::PythonExtension() [with T = Image]': > src/_image.cpp:50: instantiated from here > ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > In file included from /usr/include/python2.5/Python.h:8, > from src/_image.cpp:7: > /usr/include/python2.5/pyconfig.h:918:1: error: "_BSD_SOURCE" redefined > In file included from /usr/include/png.h:387, > from src/_image.cpp:5: > /usr/include/pngconf.h:327:1: error: this is the location of the previous > definition > ./CXX/Extensions.hxx: In constructor > 'Py::PythonExtension<T>::PythonExtension() [with T = Image]': > src/_image.cpp:50: instantiated from here > ./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no effect > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall > -Wstrict-prototypes -fPIC -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. > -I/usr/include -I. -I/usr/include/freetype2 -I./freetype2 -Isrc/freetype2 > -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 > -I/usr/include/freetype2 -I./freetype2 -I/usr/include/python2.5 -c > src/_image.cpp -o build/temp.linux-x86_64-2.5/src/_image.o -DNUMARRAY=1" > failed with exit status 1 > make: *** [build-stamp-2.5] Error 1 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

