Package: src:nbdkit
Version: 1.40.4-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with autoreconf
   dh_update_autotools_config
   dh_autoreconf
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
configure.ac:43: installing './compile'

[... snipped ...]

+ local min=5.6
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ ! linux-gnu =~ linux ]]
++ uname -s
+ requires test Linux = Linux
+ requires cut --version
+ requires sort -V /dev/null
++ uname -r
++ cut -d. -f1-2
+ kver=6.1
++ printf '6.1\n5.6'
++ head -n 1
++ sort -V
+ requires test 5.6 = 5.6
+ requires_vsock_support
+ grep -q '^AF_VSOCK' /proc/net/protocols
+ echo './test-ip-filter-anyvsock.sh: test skipped because AF_VSOCK is not 
supported.'
./test-ip-filter-anyvsock.sh: test skipped because AF_VSOCK is not supported.
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo ./test-ip-filter-anyvsock.sh: run cleanup hooks: exit code 77
./test-ip-filter-anyvsock.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-ip-filter-anyvsock.sh (exit status: 77)

SKIP: test-ip-filter-dn.sh
==========================

+ requires_nbdinfo
+ requires nbdinfo --version
+ requires_nbdsh_uri
+ requires nbdsh -c 'exit(not h.supports_uri())'
+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ nbdkit --dump-config
+ grep -sq tls=yes
+ requires_libnbd_version 1.10
+ requires nbdsh --version
+ requires /usr/bin/python3 --version
+ requires /usr/bin/python3 -c 'from packaging import version'
+ echo './test-ip-filter-dn.sh: ‘/usr/bin/python3 -c from packaging import 
version’ failed with error code 1'
./test-ip-filter-dn.sh: ‘/usr/bin/python3 -c from packaging import version’ 
failed with error code 1
+ echo './test-ip-filter-dn.sh: test prerequisite is missing or not working'
./test-ip-filter-dn.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo ./test-ip-filter-dn.sh: run cleanup hooks: exit code 77
./test-ip-filter-dn.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-ip-filter-dn.sh (exit status: 77)

SKIP: test-ip-filter-issuer-dn.sh
=================================

+ requires_nbdinfo
+ requires nbdinfo --version
+ requires_nbdsh_uri
+ requires nbdsh -c 'exit(not h.supports_uri())'
+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ nbdkit --dump-config
+ grep -sq tls=yes
+ requires_libnbd_version 1.10
+ requires nbdsh --version
+ requires /usr/bin/python3 --version
+ requires /usr/bin/python3 -c 'from packaging import version'
+ echo './test-ip-filter-issuer-dn.sh: ‘/usr/bin/python3 -c from packaging 
import version’ failed with error code 1'
./test-ip-filter-issuer-dn.sh: ‘/usr/bin/python3 -c from packaging import 
version’ failed with error code 1
+ echo './test-ip-filter-issuer-dn.sh: test prerequisite is missing or not 
working'
./test-ip-filter-issuer-dn.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo ./test-ip-filter-issuer-dn.sh: run cleanup hooks: exit code 77
./test-ip-filter-issuer-dn.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-ip-filter-issuer-dn.sh (exit status: 77)

SKIP: test-ip-filter-security.sh
================================

+ requires_nbdinfo
+ requires nbdinfo --version
+ requires_nbdsh_uri
+ requires nbdsh -c 'exit(not h.supports_uri())'
+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires selinuxenabled
+ echo './test-ip-filter-security.sh: ‘selinuxenabled’ failed with error code 
127'
./test-ip-filter-security.sh: ‘selinuxenabled’ failed with error code 127
+ echo './test-ip-filter-security.sh: test prerequisite is missing or not 
working'
./test-ip-filter-security.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo ./test-ip-filter-security.sh: run cleanup hooks: exit code 77
./test-ip-filter-security.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-ip-filter-security.sh (exit status: 77)

SKIP: test-log-script-info.sh
=============================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires_nbdinfo
+ requires nbdinfo --version
+ requires_nbdsh_uri
+ requires nbdsh -c 'exit(not h.supports_uri())'
+ requires_filter log
+ requires nbdkit --filter=log null --version
+ requires_bin_sh_is_bash
+ BASH_VERSION=no
+ requires /bin/sh -c 'test "x$BASH_VERSION" != "xno"'
+ echo './test-log-script-info.sh: ‘/bin/sh -c test "x$BASH_VERSION" != "xno"’ 
failed with error code 1'
./test-log-script-info.sh: ‘/bin/sh -c test "x$BASH_VERSION" != "xno"’ failed 
with error code 1
+ echo './test-log-script-info.sh: test prerequisite is missing or not working'
./test-log-script-info.sh: test prerequisite is missing or not working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo ./test-log-script-info.sh: run cleanup hooks: exit code 77
./test-log-script-info.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-log-script-info.sh (exit status: 77)

FAIL: test-luks-info.sh
=======================

+ requires_nbdinfo
+ requires nbdinfo --version
+ requires_nbdsh_uri
+ requires nbdsh -c 'exit(not h.supports_uri())'
+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires qemu-img --version
+ requires_filter luks
+ requires nbdkit --filter=luks null --version
++ uname
+ requires_not test Linux = Darwin
+ skip_if_valgrind
+ '[' '' = 1 ']'
+ disk=luks-info.img
+ info=luks-info.log
+ cleanup_fn rm -f luks-info.img luks-info.log
+ local _hook=_cleanup_hook0
+ declare -ag _cleanup_hook0
+ eval '_cleanup_hook0=("$@")'
++ _cleanup_hook0=("$@")
+ rm -f luks-info.img luks-info.log
+ qemu-img create -f luks --object secret,data=123456,id=sec0 -o 
key-secret=sec0 luks-info.img 1M
Formatting 'luks-info.img', fmt=luks size=1048576 key-secret=sec0
qemu-img: luks-info.img: Unable to get accurate CPU usage
++ _run_cleanup_hooks
++ local _status=1 _i
++ set +e
++ trap '' INT QUIT TERM EXIT ERR
++ echo ./test-luks-info.sh: run cleanup hooks: exit code 1
./test-luks-info.sh: run cleanup hooks: exit code 1
++ (( _i = 0 ))
++ (( _i < 1 ))
++ eval '"${_cleanup_hook0[@]}"'
+++ rm -f luks-info.img luks-info.log
++ (( ++_i  ))
++ (( _i < 1 ))
++ exit 1
FAIL test-luks-info.sh (exit status: 1)

SKIP: test-old-plugins-i686-Linux-v1.0.0.sh
===========================================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires guestfish --version
+ requires cut --version
+ requires test -f disk
+ '[' -z i686-Linux-v1.0.0 ']'
++ echo i686-Linux-v1.0.0
++ cut -d - -f 1
+ test_arch=i686
++ echo i686-Linux-v1.0.0
++ cut -d - -f 2
+ test_os=Linux
++ echo i686-Linux-v1.0.0
++ cut -d - -f 3-
+ test_version=v1.0.0
+ d=./old-plugins/i686/Linux/v1.0.0
+ f=./old-plugins/i686/Linux/v1.0.0/nbdkit-file-plugin.so
+ requires test -d ./old-plugins/i686/Linux/v1.0.0
+ requires test -f ./old-plugins/i686/Linux/v1.0.0/nbdkit-file-plugin.so
++ uname -m
+ requires test x86_64 = i686
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed 
with error code 1'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with 
error code 1
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is 
missing or not working'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is missing or not 
working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 
77
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.0.0.sh (exit status: 77)

SKIP: test-old-plugins-i686-Linux-v1.2.8-3-g0560f8f.sh
======================================================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires guestfish --version
+ requires cut --version
+ requires test -f disk
+ '[' -z i686-Linux-v1.2.8-3-g0560f8f ']'
++ echo i686-Linux-v1.2.8-3-g0560f8f
++ cut -d - -f 1
+ test_arch=i686
++ echo i686-Linux-v1.2.8-3-g0560f8f
++ cut -d - -f 2
+ test_os=Linux
++ echo i686-Linux-v1.2.8-3-g0560f8f
++ cut -d - -f 3-
+ test_version=v1.2.8-3-g0560f8f
+ d=./old-plugins/i686/Linux/v1.2.8-3-g0560f8f
+ f=./old-plugins/i686/Linux/v1.2.8-3-g0560f8f/nbdkit-file-plugin.so
+ requires test -d ./old-plugins/i686/Linux/v1.2.8-3-g0560f8f
+ requires test -f 
./old-plugins/i686/Linux/v1.2.8-3-g0560f8f/nbdkit-file-plugin.so
++ uname -m
+ requires test x86_64 = i686
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed 
with error code 1'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with 
error code 1
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is 
missing or not working'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is missing or not 
working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 
77
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.2.8-3-g0560f8f.sh (exit status: 77)

SKIP: test-old-plugins-i686-Linux-v1.8.4-3-g11f5a90d.sh
=======================================================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires guestfish --version
+ requires cut --version
+ requires test -f disk
+ '[' -z i686-Linux-v1.8.4-3-g11f5a90d ']'
++ echo i686-Linux-v1.8.4-3-g11f5a90d
++ cut -d - -f 1
+ test_arch=i686
++ echo i686-Linux-v1.8.4-3-g11f5a90d
++ cut -d - -f 2
+ test_os=Linux
++ echo i686-Linux-v1.8.4-3-g11f5a90d
++ cut -d - -f 3-
+ test_version=v1.8.4-3-g11f5a90d
+ d=./old-plugins/i686/Linux/v1.8.4-3-g11f5a90d
+ f=./old-plugins/i686/Linux/v1.8.4-3-g11f5a90d/nbdkit-file-plugin.so
+ requires test -d ./old-plugins/i686/Linux/v1.8.4-3-g11f5a90d
+ requires test -f 
./old-plugins/i686/Linux/v1.8.4-3-g11f5a90d/nbdkit-file-plugin.so
++ uname -m
+ requires test x86_64 = i686
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed 
with error code 1'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with 
error code 1
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is 
missing or not working'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is missing or not 
working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 
77
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.8.4-3-g11f5a90d.sh (exit status: 77)

SKIP: test-old-plugins-i686-Linux-v1.12.8-2-g1e2ccc27.sh
========================================================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires guestfish --version
+ requires cut --version
+ requires test -f disk
+ '[' -z i686-Linux-v1.12.8-2-g1e2ccc27 ']'
++ echo i686-Linux-v1.12.8-2-g1e2ccc27
++ cut -d - -f 1
+ test_arch=i686
++ echo i686-Linux-v1.12.8-2-g1e2ccc27
++ cut -d - -f 2
+ test_os=Linux
++ echo i686-Linux-v1.12.8-2-g1e2ccc27
++ cut -d - -f 3-
+ test_version=v1.12.8-2-g1e2ccc27
+ d=./old-plugins/i686/Linux/v1.12.8-2-g1e2ccc27
+ f=./old-plugins/i686/Linux/v1.12.8-2-g1e2ccc27/nbdkit-file-plugin.so
+ requires test -d ./old-plugins/i686/Linux/v1.12.8-2-g1e2ccc27
+ requires test -f 
./old-plugins/i686/Linux/v1.12.8-2-g1e2ccc27/nbdkit-file-plugin.so
++ uname -m
+ requires test x86_64 = i686
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed 
with error code 1'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with 
error code 1
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is 
missing or not working'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is missing or not 
working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 
77
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.12.8-2-g1e2ccc27.sh (exit status: 77)

SKIP: test-old-plugins-i686-Linux-v1.18.4.sh
============================================

+ requires_run
+ is_windows
++ nbdkit --dump-config
++ cut -d= -f2
++ grep '^host_os'
+ host_os=linux-gnu
+ [[ linux-gnu =~ mingw|msys ]]
+ requires guestfish --version
+ requires cut --version
+ requires test -f disk
+ '[' -z i686-Linux-v1.18.4 ']'
++ echo i686-Linux-v1.18.4
++ cut -d - -f 1
+ test_arch=i686
++ echo i686-Linux-v1.18.4
++ cut -d - -f 2
+ test_os=Linux
++ echo i686-Linux-v1.18.4
++ cut -d - -f 3-
+ test_version=v1.18.4
+ d=./old-plugins/i686/Linux/v1.18.4
+ f=./old-plugins/i686/Linux/v1.18.4/nbdkit-file-plugin.so
+ requires test -d ./old-plugins/i686/Linux/v1.18.4
+ requires test -f ./old-plugins/i686/Linux/v1.18.4/nbdkit-file-plugin.so
++ uname -m
+ requires test x86_64 = i686
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed 
with error code 1'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: ‘test x86_64 = i686’ failed with 
error code 1
+ echo '/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is 
missing or not working'
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: test prerequisite is missing or not 
working
+ exit 77
+ _run_cleanup_hooks
+ local _status=77 _i
+ set +e
+ trap '' INT QUIT TERM EXIT ERR
+ echo /<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 
77
/<<PKGBUILDDIR>>/tests/test-old-plugins.sh: run cleanup hooks: exit code 77
+ (( _i = 0 ))
+ (( _i < 0 ))
+ exit 77
SKIP test-old-plugins-i686-Linux-v1.18.4.sh (exit status: 77)

SKIP: test-file-block-nbd
=========================

./test-file-block-nbd: this test has to be run as root.
SKIP test-file-block-nbd (exit status: 77)

SKIP: test-file-block
=====================

test-file-block: this test has to be run as root.
SKIP test-file-block (exit status: 77)

============================================================================
Testsuite summary for nbdkit 1.40.4
============================================================================
# TOTAL: 355
# PASS:  327
# SKIP:  27
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[5]: *** [Makefile:4704: test-suite.log] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[4]: *** [Makefile:4812: check-TESTS] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[3]: *** [Makefile:7503: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:739: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j1 check "TESTSUITEFLAGS=-j1 --verbose" VERBOSE=1 
returned exit code 2
make[1]: *** [debian/rules:24: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just a sample, but I've put several failed build logs here:

https://people.debian.org/~sanvila/build-logs/nbdkit/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

In this case, the build failure happens randomly, but with very
high probability (around 50% of the time here) which in my opinion
is not suitable for release.

The tests which fail over and over again are these three:

FAIL: test-luks-copy.sh
FAIL: test-luks-copy-zero.sh
FAIL: test-luks-info.sh

so my recommendation is to disable them or mark them as flaky
(if the test framework allows it) so that the failure is not
fatal for the build.

If you prefer to debug the problem, I will gladly offer a VM
where this can be reproduced easily (please contact me privately
for details).

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.

Reply via email to