#1137047 nbd: FTBFS in bookworm

Package:
src:nbd
Source:
src:nbd
Submitter:
Santiago Vila
Date:
2026-05-18 23:21:04 UTC
Severity:
normal
Tags:
#1137047#5
Date:
2026-05-18 23:19:12 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in bookworm, this package failed to build.

[ Note: The bug is marked as fixed with the version in trixie/forky/sid, but
  packages in bookworm must still build in bookworm ].

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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

If you cannot 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 add an affects on src:nbd, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
   dh_update_autotools_config
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./autogen.sh
+ make -C man -f mans.mk nbd-server.1.sh.in nbd-server.5.sh.in nbd-client.8.sh.in nbd-trdump.1.sh.in nbd-trplay.1.sh.in nbdtab.5.sh.in
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
make[2]: 'nbd-server.1.sh.in' is up to date.
make[2]: 'nbd-server.5.sh.in' is up to date.
make[2]: 'nbd-client.8.sh.in' is up to date.

[... snipped ...]

590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 47
590064: Requests: 46
590064: Requests: 45
590064: Requests: 44
590064: Requests: 43
590064: Requests: 42
590064: Requests: 41
590064: Requests: 40
590064: Requests: 39
590064: Requests: 38
590064: Requests: 37
590064: Requests: 36
590064: Requests: 35
590064: Requests: 34
590064: Requests: 33
590064: Requests: 32
590064: Requests: 31
590064: Requests: 30
590064: Requests: 29
590064: Requests: 28
590064: Requests: 27
590064: Requests: 26
590064: Requests: 25
590064: Requests: 24
590064: Requests: 23
590064: Requests: 22
590064: Requests: 21
590064: Requests: 20
590064: Requests: 19
590064: Requests: 18
590064: Requests: 17
590064: Requests: 16
590064: Requests: 15
590064: Requests: 14
590064: Requests: 13
590064: Requests: 12
590064: Requests: 11
590064: Requests: 10
590064: Requests: 9
590064: Requests: 8
590064: Requests: 7
590064: Requests: 6
590064: Requests: 5
590064: Requests: 4
590064: Requests: 3
590064: Requests: 2
590064: Requests: 1
590064: Requests: 0
590064: Requests: 0
** Message: 15:18:54.365: 590064: Throughput read test (without flushes) complete. Took 0.059 seconds to complete, 68.307Mib/s
PASS: unix
./integrityhuge
590087: Seq 00000002 Queued: 00000001 Inflight: 00000000 Done: 00000000
590087: Seq 00000252 Queued: 00000222 Inflight: 00000001 Done: 00000027
590087: Seq 00000252 Queued: 00000204 Inflight: 00000001 Done: 00000045
590087: Seq 00000252 Queued: 00000182 Inflight: 00000001 Done: 00000067
590087: Seq 00000252 Queued: 00000159 Inflight: 00000001 Done: 00000090
590087: Seq 00000252 Queued: 00000134 Inflight: 00000001 Done: 00000115
590087: Seq 00000252 Queued: 00000110 Inflight: 00000001 Done: 00000139
590087: Seq 00000252 Queued: 00000089 Inflight: 00000001 Done: 00000160
590087: Seq 00000252 Queued: 00000058 Inflight: 00000001 Done: 00000191
590087: Seq 00000252 Queued: 00000038 Inflight: 00000001 Done: 00000211
590087: Seq 00000252 Queued: 00000008 Inflight: 00000001 Done: 00000241
590087: Seq 00000252 Queued: 00000000 Inflight: 00000000 Done: 00000250

** Message: 15:19:05.662: 590087: Integrity read test complete. Took 10.273 seconds to complete, 553.843Mib/s
PASS: integrityhuge
./handshake
** Message: 15:19:06.737: Handshake test completed. No errors encountered.
PASS: handshake
./tls
TLS handshake failed: Error in the certificate.

** (process:590177): WARNING **: 15:19:07.765: Could not open socket: Could not read size: Connection reset by peer

** (process:590177): WARNING **: 15:19:07.765: Could not read size: Connection reset by peer

** (process:590177): WARNING **: 15:19:07.765: Could not run test: Could not read size: Connection reset by peer
FAIL: tls
./tlswrongcert
TLS handshake failed: An unexpected TLS packet was received.

** (process:590198): WARNING **: 15:19:08.793: Could not open socket: Could not read size: Resource temporarily unavailable
** Message: 15:19:08.794: Test failed, as expected
PASS: tlswrongcert
./tlshuge
TLS handshake failed: Error in the certificate.

** (process:590218): WARNING **: 15:19:09.821: Could not open socket: Could not read size: Connection reset by peer

** (process:590218): WARNING **: 15:19:09.821: Could not read size: Connection reset by peer

** (process:590218): WARNING **: 15:19:09.821: Could not run test: Could not read size: Connection reset by peer
FAIL: tlshuge
=====================================
2 of 19 tests failed
Please report to nbd@other.debian.org
=====================================
make[4]: *** [Makefile:569: check-TESTS] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/run'
make[3]: *** [Makefile:695: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/run'
make[2]: *** [Makefile:370: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[1]: *** [Makefile:912: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 check "TESTSUITEFLAGS=-j2 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------