Package: oprofile Version: 0.9.2-4 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. > Automatic build of oprofile_0.9.2-4 on coconut0 by sbuild/ia64 0.49 ... > if ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I ../libutil -I ../libop > -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT bfd_support.o -MD -MP > -MF ".deps/bfd_support.Tpo" -c -o bfd_support.o bfd_support.cpp; \ > then mv -f ".deps/bfd_support.Tpo" ".deps/bfd_support.Po"; else rm -f > ".deps/bfd_support.Tpo"; exit 1; fi > In file included from bfd_support.cpp:13: > op_bfd.h:160: warning: type qualifiers ignored on function return type > bfd_support.cpp: In destructor 'bfd_info::~bfd_info()': > bfd_support.cpp:398: error: 'free' was not declared in this scope > make[4]: *** [bfd_support.o] Error 1 --- libregex/demangle_symbol.h~ 2007-04-02 20:21:10.000000000 +0000 +++ libregex/demangle_symbol.h 2007-04-02 20:21:17.000000000 +0000 @@ -11,6 +11,7 @@ #ifndef DEMANGLE_SYMBOL_H #define DEMANGLE_SYMBOL_H +#include <cstdlib> #include <string> /// demangle type: specify what demangling we use --- libpp/sample_container.cpp~ 2007-04-02 20:23:04.000000000 +0000 +++ libpp/sample_container.cpp 2007-04-02 20:23:11.000000000 +0000 @@ -13,6 +13,7 @@ #include <numeric> #include <algorithm> #include <vector> +#include <climits> #include "sample_container.h" --- libabi/opimport.cpp~ 2007-04-02 20:19:47.000000000 +0000 +++ libabi/opimport.cpp 2007-04-02 20:19:55.000000000 +0000 @@ -13,6 +13,7 @@ #include "popt_options.h" #include "op_sample_file.h" +#include <cstdlib> #include <fstream> #include <iostream> #include <vector> --- gui/oprof_start_util.cpp~ 2007-04-02 20:42:33.000000000 +0000 +++ gui/oprof_start_util.cpp 2007-04-02 20:42:41.000000000 +0000 @@ -14,6 +14,7 @@ #include <glob.h> #include <cerrno> +#include <cstdlib> #include <vector> #include <cmath> #include <sstream> --- libutil++/bfd_support.cpp~ 2007-04-02 20:14:50.000000000 +0000 +++ libutil++/bfd_support.cpp 2007-04-02 20:14:57.000000000 +0000 @@ -15,6 +15,7 @@ #include "string_manip.h" #include "cverb.h" +#include <cstdlib> #include <iostream> #include <fstream> #include <sstream> --- libutil++/file_manip.cpp~ 2007-04-02 20:16:53.000000000 +0000 +++ libutil++/file_manip.cpp 2007-04-02 20:17:00.000000000 +0000 @@ -16,6 +16,7 @@ #include <fnmatch.h> #include <utime.h> +#include <cstdlib> #include <cstdio> #include <cerrno> #include <iostream> --- libutil++/child_reader.cpp~ 2007-04-02 20:18:13.000000000 +0000 +++ libutil++/child_reader.cpp 2007-04-02 20:18:48.000000000 +0000 @@ -13,6 +13,8 @@ #include <sys/wait.h> #include <cerrno> +#include <climits> +#include <cstdlib> #include <sstream> #include <iostream> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]