[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701441: marked as done (linux-tools: ftbfs with eglibc-2.17)



Your message dated Thu, 07 Mar 2013 04:54:12 +0000
with message-id <1362632052.3768.448.camel@deadeye.wl.decadent.org.uk>
and subject line Re: linux-tools: ftbfs with eglibc-2.17
has caused the Debian Bug report #701441,
regarding linux-tools: ftbfs with eglibc-2.17
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
701441: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701441
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:linux-tools
Version: 3.2.17-1
Severity: important
Tags: sid jessie
User: debian-glibc@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

--- End Message ---
--- Begin Message ---
Version: 3.4-1~experimental.1

Fixed in experimental by:

commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
Author: Markus Trippelsdorf <markus@trippelsdorf.de>
Date:   Wed Apr 4 10:45:27 2012 +0200

    perf tools: Fix getrusage() related build failure on glibc trunk

Ben.

-- 
Ben Hutchings
Always try to do things in chronological order;
it's less confusing that way.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: