Package: matplotlib Version: 0.98.3-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 matplotlib_0.98.3-5 on em64t by sbuild/amd64 0.53 ... > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall > -Wstrict-prototypes -g -O2 -fPIC > -I/usr/lib/python2.4/site-packages/numpy/core/include > -I/usr/include/freetype2 -I/usr/include -I. -I/usr/include/python2.4 -c > src/mplutils.cpp -o build/temp.linux-x86_64-2.4/src/mplutils.o > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for > Ada/C/ObjC but not for C++ > src/mplutils.cpp: In constructor 'Printf::Printf(const char*, ...)': > src/mplutils.cpp:17: error: 'vsprintf' was not declared in this scope > error: command 'gcc' failed with exit status 1 > make: *** [build-stamp-2.4] Error 1 --- src/mplutils.cpp~ 2008-11-13 20:51:52.000000000 +0000 +++ src/mplutils.cpp 2008-11-13 20:51:56.000000000 +0000 @@ -1,5 +1,6 @@ #include <iostream> #include <cstdarg> +#include <cstdio> #include "mplutils.h" void _VERBOSE(const std::string& s) { -- Martin Michlmayr http://www.cyrius.com/ _______________________________________________ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/python-modules-team