#1143651 falcosecurity-libs: FTBFS: collect2: error: ld returned 1 exit status

#1143651#5
Date:
2026-08-05 11:23:38 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/202608/

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

Thanks.
--------------------------------------------------------------------------------
[...]
[ 99%] Building CXX object libsinsp/test/CMakeFiles/unit-test-libsinsp.dir/public_sinsp_API/ppm_sc_codes.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsinsp/test && /u [too-long-redacted] blic_sinsp_API/ppm_sc_codes.cpp
[100%] Linking CXX executable unit-test-libsinsp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/libsinsp/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/unit-test-libsinsp.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PK [too-long-redacted] sinsp::state::table_entry> >)':
./obj-x86_64-linux-gnu/libsinsp/test/./userspace/libsinsp/fdtable.h:120:(.text._ZN13sinsp_fdtable9add_entryERKlSt10unique_ptrIN8libsinsp5state11table_entryESt14default_deleteIS5_EE[_ZN13sinsp_fdtable9add_entryERKlSt10unique_ptrIN8libsinsp5state11table_entryESt14default_deleteIS5_EE]+0xf2): undefined reference to `sinsp_fdtable::add_ref(long, std::shared_ptr<sinsp_fdinfo>&&)'
collect2: error: ld returned 1 exit status
les/unit-test-libsinsp.dir/parsers/parse_socketpair.cpp.o" " [too-long-redacted] lib/x86_64-linux-gnu/libgtest.a
make[3]: *** [libsinsp/test/CMakeFiles/unit-test-libsinsp.dir/build.make:2604: libsinsp/test/unit-test-libsinsp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1428: libsinsp/test/CMakeFiles/unit-test-libsinsp.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143651#10
Date:
2026-09-05 17:49:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
falcosecurity-libs, 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 1143651@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan <dkogan@debian.org> (supplier of updated falcosecurity-libs 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: Sat, 05 Sep 2026 10:28:07 -0700
Source: falcosecurity-libs
Architecture: source
Version: 0.23.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Security Tools <team+pkg-security@tracker.debian.org>
Changed-By: Dima Kogan <dkogan@debian.org>
Closes: 1143651
Changes:
 falcosecurity-libs (0.23.2-4) unstable; urgency=medium
 .
   * Fixed FTBFS (Closes: #1143651)
Checksums-Sha1:
 9f53ed79e86adf243e852f666157b09f378b0f76 3005 falcosecurity-libs_0.23.2-4.dsc
 e0109ea83e79b757f17a58517329bffe03ba0c97 9852 falcosecurity-libs_0.23.2-4.debian.tar.xz
 ed95886b4cf2d974ce60bf83fd5715a786ab8be0 7703800 falcosecurity-libs_0.23.2-4.git.tar.xz
 c642eb3c96c6d7243f0c021507715b1cce402a20 17716 falcosecurity-libs_0.23.2-4_source.buildinfo
Checksums-Sha256:
 09b1c181fc978195191cb30a7b627175662f0f5eb8e2721191fdf1572f3bd3c5 3005 falcosecurity-libs_0.23.2-4.dsc
 62c2f02a130ff48d13e9533de5a607a4de9c0c26b86a41e1f54d7cbd61180e10 9852 falcosecurity-libs_0.23.2-4.debian.tar.xz
 e0c5faad370ae9c0000bb8d2ab5710c549e340b28f9bb8360a0b020a27c955e6 7703800 falcosecurity-libs_0.23.2-4.git.tar.xz
 bf169c35040d5dead9bc6c5a633cb00dc5ccc963eb1d3d3e274886833a1692b8 17716 falcosecurity-libs_0.23.2-4_source.buildinfo
Files:
 8acff9cc255a426e35caae02319e458e 3005 libdevel optional falcosecurity-libs_0.23.2-4.dsc
 9d033301e5147f35f83c4e524d44d2a7 9852 libdevel optional falcosecurity-libs_0.23.2-4.debian.tar.xz
 fcfe347110630781b76db80ab688e467 7703800 libdevel optional falcosecurity-libs_0.23.2-4.git.tar.xz
 e9aeae317f91ef7e24251c1c74135f7d 17716 libdevel optional falcosecurity-libs_0.23.2-4_source.buildinfo
Git-Tag-Info: tag=1612c267042f121ea0a81e0fd5e4171103f6c9db fp=b5e2fa190fdf9afe218889cfacc7c2cf30941188
Git-Tag-Tagger: Dima Kogan <dkogan@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqcUckACgkQYG0ITkaD
wHk0xg//e/lp9gdoG9DI4ZAYiTvJl2sQvpyFKBGsTwRO7Ve35vHTyxVghvRT7lt0
q625XZjZ1OoQ2z1B5Zh4KvLH7UsJ+wCPvyVuJsbZdjxyiDbn/s6ik7JR/ditOlMF
jj1RvMUzkSkm64x3AonPOvEvdC2xz8dufXmmxKro6n6dzbDcoV46t02gCVASLHet
HUP2XqkGrvtIqWsmk4Dt9kSGh3wmWw8x9kfbdPg2e8evUBaGvvBz/Qnq/cKUMWse
MXR6Mv+0QR/REWKdEnvvpQihR4NaZsHyTkBtjgctzx2Epqrj2NuP1c8Z7tA46Abf
ju7V6n5XM+ikYPHzGIUttYczupSkQam0kJQXTuSWDbwx//ag/kvHNy+zM71++doW
Bdg2MFM7zlOLA2Rv6zBv+8PruMyffSaKaKLpA8PcZprKNh/6KXFHrYAktvZMIxc0
z+Ka/dU1eAjRdHhz8hM1TS+Y8jl6afTT/ptgWn3TTQ9XuN8FveG5+381G8vZLvR2
VWeibTmF7/RM0qcILIufF9m64lkJC6xj3fE5CNjxW45bqrfZ7sJSs7szxwQEHZ3x
V8tU5GWYGxlJJPRlNzsg3AjKfOes4c1mqF7CwzAClVaaeaq2SpEblYoLdB0EVAzm
T6BdbmucYSZIZxRo9+es4himw6qDTALq+k06tQvrfnsz2CPPPzM=
=vO5v
-----END PGP SIGNATURE-----