Package: src:linux-tools Version: 3.2.17-1 Severity: important Tags: sid jessie User: debian-gl...@lists.debian.org Usertags: ftbfs-glibc-2.17
The package fails to build in a test rebuild on at least amd64 with eglibc-2.17, but succeeds to build with eglibc-2.13. The severity of this report may be raised before the jessie release. The test rebuild was done together with GCC-4.8, so some issues might be caused by the updated GCC as well. builtin-sched.c:396:16: error: storage size of 'ru' isn't known The full build log can be found at: http://people.debian.org/~doko/logs-20130217/gcc48/linux-tools_3.2.17-1_unstable_gcc48.log The last lines of the build log are at the end of this report. To install eglibc from experimental, apt-get -t experimental install libc6-dev To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev [...] mkdir -p /«PKGBUILDDIR»/debian/build/tools/perf/out/util/ui 2>/dev/null mkdir -p /«PKGBUILDDIR»/debian/build/tools/perf/out/util/ui/browsers 2>/dev/null PERF_VERSION = 3.2.17 make[6]: Leaving directory `/«PKGBUILDDIR»/tools/perf' make[6]: Entering directory `/«PKGBUILDDIR»/tools/perf' . util/generate-cmdlist.sh > /«PKGBUILDDIR»/debian/build/tools/perf/out/common-cmds.h+ && mv /«PKGBUILDDIR»/debian/build/tools/perf/out/common-cmds.h+ /«PKGBUILDDIR»/debian/build/tools/perf/out/common-cmds.h * new build flags or prefix gcc -DPERF_VERSION='"3.2.17"' \ '-DPERF_HTML_PATH="share/doc/perf-doc"' \ -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY -c perf.c -o /«PKGBUILDDIR»/debian/build/tools/perf/out/perf.o gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-annotate.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY builtin-annotate.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-bench.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY builtin-bench.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/bench/sched-messaging.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY bench/sched-messaging.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/bench/sched-pipe.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY bench/sched-pipe.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/bench/mem-memcpy.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY bench/mem-memcpy.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-diff.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY builtin-diff.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-evlist.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY builtin-evlist.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-help.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY \ '-DPERF_HTML_PATH="share/doc/perf-doc"' \ '-DPERF_MAN_PATH="share/man"' \ '-DPERF_INFO_PATH="share/info"' builtin-help.c gcc -o /«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-sched.o -c -fno-omit-frame-pointer -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wno-error -fstack-protector-all -Wstack-protector -Wvolatile-register-var -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -Iarch/x86/include -I/«PKGBUILDDIR»/debian/build/tools/perf/out/ -DLIBELF_NO_MMAP -DDWARF_SUPPORT -I/usr/include/slang -DHAVE_CPLUS_DEMANGLE -DNO_STRLCPY builtin-sched.c builtin-sched.c: In function 'get_cpu_usage_nsec_parent': builtin-sched.c:396:16: error: storage size of 'ru' isn't known struct rusage ru; ^ builtin-sched.c:400:2: warning: implicit declaration of function 'getrusage' [-Wimplicit-function-declaration] err = getrusage(RUSAGE_SELF, &ru); ^ builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in this function) err = getrusage(RUSAGE_SELF, &ru); ^ builtin-sched.c:400:18: note: each undeclared identifier is reported only once for each function it appears in builtin-sched.c:396:16: warning: unused variable 'ru' [-Wunused-variable] struct rusage ru; ^ make[6]: *** [/«PKGBUILDDIR»/debian/build/tools/perf/out/builtin-sched.o] Error 1 make[6]: Leaving directory `/«PKGBUILDDIR»/tools/perf' make[5]: *** [all] Error 2 make[4]: *** [all-recursive] Error 1 make[5]: Leaving directory `/«PKGBUILDDIR»/debian/build/tools/perf' make[4]: Leaving directory `/«PKGBUILDDIR»/debian/build/tools' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/«PKGBUILDDIR»/debian/build' make[2]: *** [debian/stamps/build] Error 2 make[2]: Leaving directory `/«PKGBUILDDIR»' make[1]: *** [build] Error 2 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [debian/stamps/build-base] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1u9doi-00043m...@ravel.debian.org