Source: linux-tools
Version: 4.4.6-1
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20160906 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> gcc
> -Wp,-MD,/<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/.event.o.d,-MT,/<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/event.o
> -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/debian/build/tools/perf=.
> -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time
> -D_FORTIFY_SOURCE=2 -I/<<PKGBUILDDIR>>/tools/perf
> -I/<<PKGBUILDDIR>>/debian/build/tools/perf -isystem
> /<<PKGBUILDDIR>>/debian/build/include -Wno-error -DHAVE_ARCH_X86_64_SUPPORT
> -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -Werror -O6
> -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99
> -fstack-protector-all -D_FORTIFY_SOURCE=2
> -I/<<PKGBUILDDIR>>/tools/perf/util/include
> -I/<<PKGBUILDDIR>>/tools/perf/arch/x86/include
> -I/<<PKGBUILDDIR>>/tools/include/ -I/<<PKGBUILDDIR>>/arch/x86/include/uapi
> -I/<<PKGBUILDDIR>>/arch/x86/include -I/<<PKGBUILDDIR>>/include/uapi
> -I/<<PKGBUILDDIR>>/include
> -I/<<PKGBUILDDIR>>/debian/build/tools/perf/out//util
> -I/<<PKGBUILDDIR>>/debian/build/tools/perf/out/
> -I/<<PKGBUILDDIR>>/tools/perf/util -I/<<PKGBUILDDIR>>/tools/perf
> -I/<<PKGBUILDDIR>>/tools/lib/ -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -D_GNU_SOURCE -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT
> -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_LIBELF_SUPPORT
> -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_DWARF_SUPPORT
> -DHAVE_LIBBPF_SUPPORT -DHAVE_DWARF_UNWIND_SUPPORT -DNO_LIBUNWIND_DEBUG_FRAME
> -DHAVE_LIBUNWIND_SUPPORT -DHAVE_LIBAUDIT_SUPPORT -I/usr/include/slang
> -DHAVE_SLANG_SUPPORT -DHAVE_TIMERFD_SUPPORT -DHAVE_CPLUS_DEMANGLE_SUPPORT
> -DHAVE_ZLIB_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT
> -DHAVE_KVM_STAT_SUPPORT -DHAVE_PERF_READ_VDSO32 -DHAVE_PERF_READ_VDSOX32
> -DHAVE_AUXTRACE_SUPPORT -I/<<PKGBUILDDIR>>/debian/build/tools/perf/out/
> -D"BUILD_STR(s)=#s" -c -o
> /<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/event.o util/event.c
> util/event.c: In function '__event__synthesize_thread':
> util/event.c:448:2: error: 'readdir_r' is deprecated
> [-Werror=deprecated-declarations]
> while (!readdir_r(tasks, &dirent, &next) && next) {
> ^~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from /<<PKGBUILDDIR>>/tools/include/linux/types.h:6,
> from util/event.c:1:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> util/event.c: In function 'perf_event__synthesize_threads':
> util/event.c:586:2: error: 'readdir_r' is deprecated
> [-Werror=deprecated-declarations]
> while (!readdir_r(proc, &dirent, &next) && next) {
> ^~~~~
> In file included from /usr/include/features.h:364:0,
> from /usr/include/stdint.h:25,
> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
> from /<<PKGBUILDDIR>>/tools/include/linux/types.h:6,
> from util/event.c:1:
> /usr/include/dirent.h:189:12: note: declared here
> extern int __REDIRECT (readdir_r,
> ^
> cc1: all warnings being treated as errors
> mv: cannot stat
> '/<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/.event.o.tmp': No such
> file or directory
> /<<PKGBUILDDIR>>/tools/build/Makefile.build:77: recipe for target
> '/<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/event.o' failed
> make[8]: *** [/<<PKGBUILDDIR>>/debian/build/tools/perf/out/util/event.o]
> Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/09/06/linux-tools_4.4.6-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.