Source: snappy Version: 1.0.5-2 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi, despite “export DEB_BUILD_OPTIONS='nobench nocheck'” your package insists on running benchmarks during the package build and then fails due to a bug in the benchmark script and/or GNU bash: make[2]: Entering directory `/tmp/buildd/snappy-1.0.5' Running microbenchmarks. Benchmark Time(ns) CPU(ns) Iterations --------------------------------------------------- BM_UFlat/0 22000400 5900000 100 16.6MB/s html BM_UFlat/1 207002850 27800000 100 24.1MB/s urls /bin/bash: line 5: 12339 Floating point exception${dir}$tst FAIL: snappy_unittest ================== 1 of 1 test failed ================== make[2]: *** [check-TESTS] Error 1 Do *not* run benchmarks on buildds! Especially not if nocheck is set! Even more especially not if nobench is set! Do not assume the buildd machine is otherwise idle, that is, your benchmark results will not be reliable even one minute later! Full build log attached. Keeping severity as-is because this problem is not necessarily restricted to m68k (I assume this happens on slowish machines or buildds doing more than one build in parallel as well), but the release team is free to lower to “important” or tag it as ignore. -- System Information: Debian Release: 7.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: m68k Kernel: Linux 3.2.0-4-atari Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/mksh-static
I: Using pkgname logfile I: Current time: Thu Jan 31 04:14:30 CET 2013 I: pbuilder-time-stamp: 1359602070 I: Obtaining the cached apt archive contents I: Installing the build-deps W: no hooks of type D found -- ignoring -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: m68k Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org> Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 7), autotools-dev, dpkg-dev (>= 1.16.1~) dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 12287 files and directories currently installed.) Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on autotools-dev; however: Package autotools-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... The following NEW packages will be installed: autotools-dev{a} 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/73.0 kB of archives. After unpacking 186 kB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package autotools-dev. (Reading database ... 12287 files and directories currently installed.) Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ... Processing triggers for man-db ... Setting up autotools-dev (20120608.1) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... Starting Starting 2 Done debhelper is already the newest version. debian-ports-archive-keyring is already the newest version. file-rc is already the newest version. apt is already the newest version. eatmydata is already the newest version. fakeroot is already the newest version. wtf-debian-keyring is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Copying back the cached apt archive contents I: Copying source file I: copying [/root/snappy_1.0.5-2.dsc] I: copying [/root/snappy_1.0.5.orig.tar.gz] I: copying [/root/snappy_1.0.5-2.diff.gz] I: Extracting source gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error gpgv: Signature made Mon Jul 2 18:56:38 2012 UTC using DSA key ID 52B7487E gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./snappy_1.0.5-2.dsc dpkg-source: info: extracting snappy in snappy-1.0.5 dpkg-source: info: unpacking snappy_1.0.5.orig.tar.gz dpkg-source: info: applying snappy_1.0.5-2.diff.gz dpkg-source: info: upstream files that have been modified: snappy-1.0.5/snappy-stubs-internal.h I: Building the package W: no hooks of type A found -- ignoring I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc "-eThorsten Glaser <t...@mirbsd.de>" -B -m'Thorsten Glaser <t...@mirbsd.de>' -B -m'Thorsten Glaser <t...@mirbsd.de>' -B -rfakeroot dpkg-buildpackage: source package snappy dpkg-buildpackage: source version 1.0.5-2 dpkg-source --before-build snappy-1.0.5 dpkg-buildpackage: host architecture m68k fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || /usr/bin/make distclean rm -f config.sub config.guess dh_clean debian/rules build-arch dh_testdir dh_prep cp -f /usr/share/misc/config.sub config.sub cp -f /usr/share/misc/config.guess config.guess ../configure --build m68k-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... m68k-unknown-linux-gnu checking host system type... m68k-unknown-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 805306365 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... yes checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/byteswap.h usability... no checking sys/byteswap.h presence... no checking for sys/byteswap.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking for mmap... yes checking for 'gtest-config'... checking for gtest-config... no no checking for pkg-config... no checking for gflags... checking if the compiler supports __builtin_expect... yes checking if the compiler supports __builtin_ctzll... yes checking for zlibVersion in -lz... no checking for lzo1x_1_15_compress in -llzo2... no checking for lzf_compress in -llzf... no checking for fastlz_compress in -lfastlz... no checking for qlz_compress in -lquicklz... no configure: creating ./config.status config.status: creating Makefile config.status: creating snappy-stubs-public.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /usr/bin/make make[1]: Entering directory `/tmp/buildd/snappy-1.0.5' /usr/bin/make all-am make[2]: Entering directory `/tmp/buildd/snappy-1.0.5' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c -o snappy.lo snappy.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c snappy.cc -fPIC -DPIC -o .libs/snappy.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c snappy.cc -o snappy.o >/dev/null 2>&1 mv -f .deps/snappy.Tpo .deps/snappy.Plo /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-sinksource.lo -MD -MP -MF .deps/snappy-sinksource.Tpo -c -o snappy-sinksource.lo snappy-sinksource.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-sinksource.lo -MD -MP -MF .deps/snappy-sinksource.Tpo -c snappy-sinksource.cc -fPIC -DPIC -o .libs/snappy-sinksource.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-sinksource.lo -MD -MP -MF .deps/snappy-sinksource.Tpo -c snappy-sinksource.cc -o snappy-sinksource.o >/dev/null 2>&1 mv -f .deps/snappy-sinksource.Tpo .deps/snappy-sinksource.Plo /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-stubs-internal.lo -MD -MP -MF .deps/snappy-stubs-internal.Tpo -c -o snappy-stubs-internal.lo snappy-stubs-internal.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-stubs-internal.lo -MD -MP -MF .deps/snappy-stubs-internal.Tpo -c snappy-stubs-internal.cc -fPIC -DPIC -o .libs/snappy-stubs-internal.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-stubs-internal.lo -MD -MP -MF .deps/snappy-stubs-internal.Tpo -c snappy-stubs-internal.cc -o snappy-stubs-internal.o >/dev/null 2>&1 mv -f .deps/snappy-stubs-internal.Tpo .deps/snappy-stubs-internal.Plo /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-c.lo -MD -MP -MF .deps/snappy-c.Tpo -c -o snappy-c.lo snappy-c.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-c.lo -MD -MP -MF .deps/snappy-c.Tpo -c snappy-c.cc -fPIC -DPIC -o .libs/snappy-c.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy-c.lo -MD -MP -MF .deps/snappy-c.Tpo -c snappy-c.cc -o snappy-c.o >/dev/null 2>&1 mv -f .deps/snappy-c.Tpo .deps/snappy-c.Plo /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -version-info 2:3:1 -Wl,-z,relro -o libsnappy.la -rpath /usr/lib snappy.lo snappy-sinksource.lo snappy-stubs-internal.lo snappy-c.lo libtool: link: g++ -shared -nostdlib /usr/lib/gcc/m68k-linux-gnu/4.6/../../../m68k-linux-gnu/crti.o /usr/lib/gcc/m68k-linux-gnu/4.6/crtbeginS.o .libs/snappy.o .libs/snappy-sinksource.o .libs/snappy-stubs-internal.o .libs/snappy-c.o -L/usr/lib/gcc/m68k-linux-gnu/4.6 -L/usr/lib/gcc/m68k-linux-gnu/4.6/../../../m68k-linux-gnu -L/usr/lib/gcc/m68k-linux-gnu/4.6/../../.. -L/lib/m68k-linux-gnu -L/usr/lib/m68k-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/m68k-linux-gnu/4.6/crtendS.o /usr/lib/gcc/m68k-linux-gnu/4.6/../../../m68k-linux-gnu/crtn.o -Wl,-z -Wl,relro -Wl,-soname -Wl,libsnappy.so.1 -o .libs/libsnappy.so.1.1.3 libtool: link: (cd ".libs" && rm -f "libsnappy.so.1" && ln -s "libsnappy.so.1.1.3" "libsnappy.so.1") libtool: link: (cd ".libs" && rm -f "libsnappy.so" && ln -s "libsnappy.so.1.1.3" "libsnappy.so") libtool: link: ar cru .libs/libsnappy.a snappy.o snappy-sinksource.o snappy-stubs-internal.o snappy-c.o libtool: link: ranlib .libs/libsnappy.a libtool: link: ( cd ".libs" && rm -f "libsnappy.la" && ln -s "../libsnappy.la" "libsnappy.la" ) g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy_unittest-snappy_unittest.o -MD -MP -MF .deps/snappy_unittest-snappy_unittest.Tpo -c -o snappy_unittest-snappy_unittest.o `test -f 'snappy_unittest.cc' || echo './'`snappy_unittest.cc mv -f .deps/snappy_unittest-snappy_unittest.Tpo .deps/snappy_unittest-snappy_unittest.Po g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -MT snappy_unittest-snappy-test.o -MD -MP -MF .deps/snappy_unittest-snappy-test.Tpo -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo './'`snappy-test.cc mv -f .deps/snappy_unittest-snappy-test.Tpo .deps/snappy_unittest-snappy-test.Po /bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -Wl,-z,relro -o snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o libsnappy.la libtool: link: g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DNDEBUG -Wl,-z -Wl,relro -o .libs/snappy_unittest snappy_unittest-snappy_unittest.o snappy_unittest-snappy-test.o ./.libs/libsnappy.so make[2]: Leaving directory `/tmp/buildd/snappy-1.0.5' make[1]: Leaving directory `/tmp/buildd/snappy-1.0.5' /usr/bin/make check make[1]: Entering directory `/tmp/buildd/snappy-1.0.5' /usr/bin/make check-TESTS make[2]: Entering directory `/tmp/buildd/snappy-1.0.5' Running microbenchmarks. Benchmark Time(ns) CPU(ns) Iterations --------------------------------------------------- BM_UFlat/0 22000400 5900000 100 16.6MB/s html BM_UFlat/1 207002850 27800000 100 24.1MB/s urls /bin/bash: line 5: 12339 Floating point exception${dir}$tst FAIL: snappy_unittest ================== 1 of 1 test failed ================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/tmp/buildd/snappy-1.0.5' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/tmp/buildd/snappy-1.0.5' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 E: Failed autobuilding of package I: user script /var/cache/pbuilder/build/cow.5321/tmp/hooks/C80shell-jupp starting Build failed. Trying to invoke a shell. Reading package lists... Building dependency tree... Reading state information... Starting Starting 2 Done The following NEW packages will be installed: ed jupp less mksh 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 826 kB/877 kB of archives. After this operation, 1780 kB of additional disk space will be used. Get:1 http://ftp.de.debian.org/debian-ports/ unstable/main less m68k 456-1 [117 kB] Get:2 http://ftp.de.debian.org/debian-ports/ unstable/main jupp m68k 3.1.24-1 [228 kB] Get:3 http://ftp.de.debian.org/debian-ports/ unstable/main mksh m68k 40.9.20120630-4 [481 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 826 kB in 12s (66.7 kB/s) Selecting previously unselected package less. (Reading database ... 12301 files and directories currently installed.) Unpacking less (from .../archives/less_456-1_m68k.deb) ... Selecting previously unselected package ed. Unpacking ed (from .../apt/archives/ed_1.6-2_m68k.deb) ... Selecting previously unselected package jupp. Unpacking jupp (from .../jupp_3.1.24-1_m68k.deb) ... Selecting previously unselected package mksh. Unpacking mksh (from .../mksh_40.9.20120630-4_m68k.deb) ... Processing triggers for man-db ... Setting up less (456-1) ... Setting up ed (1.6-2) ... Setting up jupp (3.1.24-1) ... update-alternatives: using /usr/bin/jupp to provide /usr/bin/editor (editor) in auto mode Setting up mksh (40.9.20120630-4) ... update-alternatives: using /bin/mksh to provide /bin/ksh (ksh) in auto mode