#1149475 rubberband: FTBFS: /usr/include/boost/test/unit_test.hpp:65:(.text.startup+0x11): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'

#1149475#5
Date:
2026-09-29 23:06:39 UTC
From:
To:
Dear maintainer:

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

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/202609/

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:rubberband, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[11/12] Compiling C++ object tests.p/src_test_TestStretcher.cpp.o
[12/12] Linking target tests
FAILED: [code=1] tests
c++  -o tests tests.p/src_test_TestAllocators.cpp.o tests.p/src_test_TestFFT.cpp.o tests.p/src_test_TestLiveShifter.cpp.o tests.p/src_test_TestResampler.cpp.o tests.p/src_test_TestVectorOpsComplex.cpp.o tests.p/src_test_TestVectorOps.cpp.o tests.p/src_test_TestSignalBits.cpp.o tests.p/src_test_TestStretchCalculator.cpp.o tests.p/src_test_TestStretcher.cpp.o tests.p/src_test_TestBinClassifier.cpp.o tests.p/src_test_test.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--start-group librubberband_objlib.a /usr/lib/x86_64-linux-gnu/libfftw3.so /usr/lib/x86_64-linux-gnu/libsamplerate.so -pthread /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.a -Wl,--end-group
/usr/bin/x86_64-linux-gnu-ld.bfd: tests.p/src_test_test.cpp.o: in function `main':
/usr/include/boost/test/unit_test.hpp:65:(.text.startup+0x11): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Could not rebuild /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
dh_auto_test: error: cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=1 meson test --verbose --timeout-multiplier 20 returned exit code 125
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149475#8
Date:
2026-10-21 15:16:07 UTC
From:
To:
Hello,

Bug #1149475 in rubberband reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/multimedia-team/rubberband/-/commit/3c4180adb152a096f0c8f7869ff4aee90774a678
------------------------------------------------------------------------
Fix FTBFS / undefined refrence to boost::unit_test::unit_test_main
(Closes: #1149475)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149475

#1149475#15
Date:
2026-10-22 07:49:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rubberband, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149475@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dennis Braun <snd@debian.org> (supplier of updated rubberband package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 21 Oct 2026 22:17:06 +0200
Source: rubberband
Architecture: source
Version: 4.0.0+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <snd@debian.org>
Closes: 1149475
Changes:
 rubberband (4.0.0+dfsg-3) unstable; urgency=medium
 .
   * Fix FTBFS / undefined reference to boost::unit_test::unit_test_main
     (Closes: #1149475)
   * Bump dh-compat to 14
   * Bump Standards-Version to 4.7.4
   * Add default-jdk-headless to B-Ds
   * Build tests by default, verbose too
   * Add ldconfig trigger for librubberband-dev
   * Add debian/librubberband-dev.lintian-overrides
Checksums-Sha1:
 6ba0a947c0f1565a9b4d57c916cab42a67d77dab 2699 rubberband_4.0.0+dfsg-3.dsc
 1c5dc392102ef4d964018e92e6956a835310acdf 13156 rubberband_4.0.0+dfsg-3.debian.tar.xz
 80489012c92743facbe04346099ce43692764959 7053 rubberband_4.0.0+dfsg-3_source.buildinfo
Checksums-Sha256:
 539a9025b5e29aefed889af9b7289483748dc56c8d36cad3f44a3cc72d373333 2699 rubberband_4.0.0+dfsg-3.dsc
 0a7145048c3ccbcd45f566ee1afab91221f96e0c92e91c058009bd27ae103b63 13156 rubberband_4.0.0+dfsg-3.debian.tar.xz
 e3859928f754d027bed213a3a76092e21124e5019245f2ad9869cabb69f9edac 7053 rubberband_4.0.0+dfsg-3_source.buildinfo
Files:
 556a9998eb30bcba4aa45e7d5421f66c 2699 sound optional rubberband_4.0.0+dfsg-3.dsc
 22fd58731de5d779d2709c687a212035 13156 sound optional rubberband_4.0.0+dfsg-3.debian.tar.xz
 c13efb66e1a85584a0009ac38f09e467 7053 sound optional rubberband_4.0.0+dfsg-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJq2SG+CRBjTqVdkCuYNkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfDxdIHkjSuVbNyKhsVd5/BaHdjWKnBhvLZWSO5rLAx
5RYhBDy3wwKvtX5hqMYX3WNOpV2QK5g2AADoFQ/7BAsww4yELZbL0/dep+pjfQ4I
47atOytJbdKzCabyqahNLE21qiXe4UEKpRH+rmlYjmaJimJTJXHZsZs5DhnnC13Z
6GIoP/7dGm60AlwOGpit7mUjDlVpkJCaGeUc6My5HPeMCtYfvea3HY+m3oV0Q/RA
5qBwNOv2iQs7Bo9YLZCNAQSSquF6D4w/TNjkrdxm21P2YuVr+6ZfTYz0crxGy0MZ
AwpXcftBDKlW3Sfj74rXa86b0vo0MDyyLWeiGsgfH0K0sHayH8xQvUaIYkDKbW6v
vnN2KFXR5Y+8dd5WqZIP8Irqaw2Q9t/h2kbM+tGMyXDvQCHel9nQ9XK8Dhbxb2c2
ey2pwiEmAyNqQRizkCZFQiIS9K6SPV9q6T5FUKQKXDD4wnWtEuMKycbbkTcoyIL9
tdwuiW3IMg9asQ0oyzUTAwwZ0CnlNrFVVibet4yVG+d6bsNQKDqerAyIoe6Jr9m0
XCS/BUL278+XFEQKOesBx5Pv/3BAZqxcqRRnLOrkpiqBMF+LOoG8omvxx/QsT3yO
ALf4BhcBdKaKoGp/f7ixjd2FZD/ES8lCGD3qXp+Utn79LRZMFCV2HUkHZ2M03yat
d0Ar/xdcR1Hr36P6r9DRK5iTd6LEabGINXElSSxYJrSLNKBd3rWuadtndyUW6Su2
r9IU2RQQHXgbui4A9E8=
=bEex
-----END PGP SIGNATURE-----