Package: src:e2tools Version: 0.1.0-1 Severity: serious Tags: ftbfs patch
Dear maintainer: During a rebuild of all packages in bullseye, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking 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 whether make supports nested variables... yes 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for Minix Amsterdam compiler... no checking for ar... ar checking for ranlib... ranlib 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking whether make sets $(MAKE)... (cached) yes checking for chmod... /bin/chmod checking for dd... /bin/dd checking for mkfs.ext2... no checking for unsigned long long int... yes checking for long long int... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether stdint.h conforms to C99... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for pid_t... yes checking for mode_t... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking for ssize_t... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for EXT2FS... yes checking for COM_ERR... yes checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for mode_t... (cached) yes checking for off_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether utime accepts a null argument... yes checking for gettimeofday... yes checking for regcomp... yes checking for strdup... yes checking for strtol... yes checking for ext2fs_xattrs_read in -lext2fs... yes checking whether __attribute__((naked)) is available... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating e2tools-autoconfig.h config.status: executing depfiles commands dh_auto_build -a make -j2 make[1]: Entering directory '/<<PKGBUILDDIR>>' mv -f e2tools-toolmap.c.tmp e2tools-toolmap.c make all-recursive make[2]: Entering directory '/<<PKGBUILDDIR>>' Making all in lib make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' rm -f c++defs.h-t c++defs.h && \ sed -n -e '/_GL_CXXDEFS/,$p' \ < ../build-aux/snippet/c++defs.h \ > c++defs.h-t && \ mv c++defs.h-t c++defs.h rm -f warn-on-use.h-t warn-on-use.h && \ sed -n -e '/^.ifndef/,$p' \ < ../build-aux/snippet/warn-on-use.h \ > warn-on-use.h-t && \ mv warn-on-use.h-t warn-on-use.h rm -f arg-nonnull.h-t arg-nonnull.h && \ sed -n -e '/GL_ARG_NONNULL/,$p' \ < ../build-aux/snippet/arg-nonnull.h \ > arg-nonnull.h-t && \ mv arg-nonnull.h-t arg-nonnull.h /bin/mkdir -p sys rm -f sys/types.h-t sys/types.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ < ./sys_types.in.h; \ } > sys/types.h-t && \ mv sys/types.h-t sys/types.h rm -f inttypes.h-t inttypes.h && \ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \ -e 's/@''PRI_MACROS_BROKEN''@/0/g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \ -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \ -e 's/@''PRIPTR_PREFIX''@/"l"/g' \ -e 's/@''GNULIB_IMAXABS''@/0/g' \ -e 's/@''GNULIB_IMAXDIV''@/0/g' \ -e 's/@''GNULIB_STRTOIMAX''@/0/g' \ -e 's/@''GNULIB_STRTOUMAX''@/0/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \ -e 's/@''REPLACE_STRTOIMAX''@/0/g' \ -e 's/@''REPLACE_STRTOUMAX''@/0/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/1/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/1/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \ < ./inttypes.in.h; \ } > inttypes.h-t && \ mv inttypes.h-t inttypes.h make all-recursive make[4]: Entering directory '/<<PKGBUILDDIR>>/lib' make[5]: Entering directory '/<<PKGBUILDDIR>>/lib' gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o dummy.o dummy.c rm -f libgnu.a ar cr libgnu.a dummy.o ranlib libgnu.a make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' Making all in . make[3]: Entering directory '/<<PKGBUILDDIR>>' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tools.o `test -f 'e2tools.c' || echo './'`e2tools.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-elist.o `test -f 'elist.c' || echo './'`elist.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-progress.o `test -f 'progress.c' || echo './'`progress.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-read.o `test -f 'read.c' || echo './'`read.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-util.o `test -f 'util.c' || echo './'`util.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-write.o `test -f 'write.c' || echo './'`write.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2cp.o `test -f 'e2tool-e2cp.c' || echo './'`e2tool-e2cp.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2ln.o `test -f 'e2tool-e2ln.c' || echo './'`e2tool-e2ln.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2ls.o `test -f 'e2tool-e2ls.c' || echo './'`e2tool-e2ls.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2mkdir.o `test -f 'e2tool-e2mkdir.c' || echo './'`e2tool-e2mkdir.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2mv.o `test -f 'e2tool-e2mv.c' || echo './'`e2tool-e2mv.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2rm.o `test -f 'e2tool-e2rm.c' || echo './'`e2tool-e2rm.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tool-e2tail.o `test -f 'e2tool-e2tail.c' || echo './'`e2tool-e2tail.c gcc -DHAVE_CONFIG_H -I. -I/usr/include/ext2fs -I/usr/include/et -I/usr/include/et -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o e2tools-e2tools-toolmap.o `test -f 'e2tools-toolmap.c' || echo './'`e2tools-toolmap.c /bin/sed -e 's|[@]HAVE_EXT2FS_XATTRS_FALSE@||g' -e 's|[@]HAVE_EXT2FS_XATTRS_TRUE@|.\\" |g' -e 's|[@]HAVE_EXT2FS_XATTRS_FALSE@||g' -e 's|[@]HAVE_EXT2FS_XATTRS_TRUE@|# |g' -e 's|[@]top_builddir@|.|g' -e 's|[@]top_srcdir@|.|g' -e 's|[@]DD@|/bin/dd|g' -e 's|[@]MKE2FS@||g' < e2ls.1in > e2ls.1 gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o e2tools e2tools-e2tools.o e2tools-elist.o e2tools-progress.o e2tools-read.o e2tools-util.o e2tools-write.o e2tools-e2tool-e2cp.o e2tools-e2tool-e2ln.o e2tools-e2tool-e2ls.o e2tools-e2tool-e2mkdir.o e2tools-e2tool-e2mv.o e2tools-e2tool-e2rm.o e2tools-e2tool-e2tail.o e2tools-e2tools-toolmap.o -lext2fs -lcom_err for symlink in e2cp e2ln e2ls e2mkdir e2mv e2rm e2tail; do \ rm -f "${symlink}"; \ ln -s e2tools "${symlink}" || exit 1; \ done make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test -a make -j2 check VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>' make check-recursive make[2]: Entering directory '/<<PKGBUILDDIR>>' Making check in lib make[3]: Entering directory '/<<PKGBUILDDIR>>/lib' make check-recursive make[4]: Entering directory '/<<PKGBUILDDIR>>/lib' make[5]: Entering directory '/<<PKGBUILDDIR>>/lib' make[5]: Nothing to be done for 'check-am'. make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib' make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib' Making check in . make[3]: Entering directory '/<<PKGBUILDDIR>>' for symlink in e2cp e2ln e2ls e2mkdir e2mv e2rm e2tail; do \ rm -f "${symlink}"; \ ln -s e2tools "${symlink}" || exit 1; \ done make check-TESTS make[4]: Entering directory '/<<PKGBUILDDIR>>' make[5]: Entering directory '/<<PKGBUILDDIR>>' /bin/mkdir -p tests /bin/sed -e 's|[@]HAVE_EXT2FS_XATTRS_FALSE@||g' -e 's|[@]HAVE_EXT2FS_XATTRS_TRUE@|# |g' -e 's|[@]top_builddir@|.|g' -e 's|[@]top_srcdir@|.|g' -e 's|[@]DD@|/bin/dd|g' -e 's|[@]MKE2FS@||g' < tests/simple-test.shin > tests/simple-test.sh /bin/chmod +x tests/simple-test.sh FAIL: tests/simple-test.sh ===================================== e2tools 0.1.0: ./test-suite.log ===================================== # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/simple-test.sh ========================== + testimg=test-1M.img + trap EXIT + rm -f test-1M.img + /bin/dd if=/dev/null of=test-1M.img bs=1 count=1 seek=1M 0+0 records in 0+0 records out 0 bytes copied, 5.5729e-05 s, 0.0 kB/s + -F test-1M.img ./tests/simple-test.sh: 30: -F: not found FAIL tests/simple-test.sh (exit status: 127) ============================================================================ Testsuite summary for e2tools 0.1.0 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to https://github.com/e2tools/e2tools/issues ============================================================================ make[5]: *** [Makefile:1255: test-suite.log] Error 1 make[5]: Leaving directory '/<<PKGBUILDDIR>>' make[4]: *** [Makefile:1363: check-TESTS] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>' make[3]: *** [Makefile:1600: check-am] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>' make[2]: *** [Makefile:1140: check-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:1602: check] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test: error: make -j2 check VERBOSE=1 returned exit code 2 make: *** [debian/rules:10: binary-arch] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the build ends and not necessarily the most relevant part) Note: I'm using the "patch" tag because there is an obvious fix (indicated in the subject). About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.