#1149737 dnsdist: FTBFS: ld.lld: error: dnsdist-rust-lib/rust/libdnsdist_rust.a(dnsdist_rust-1cfdab0ad6f2d736.dnsdist_rust.1d5edda9db224ca9-cgu.00.rcgu.o): Unknown attribute kind (105) (Producer: 'LLVM22.1.8' Reader: 'LLVM 21.1.8')

#1149737#5
Date:
2026-10-02 19:09:09 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/202610/

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

Thanks.
--------------------------------------------------------------------------------
[...]
[186/190] clang++ -Itestrunner.p -I. -I.. -I../ext/protozero/include -I/usr/include -I/usr/include/luajit-2.1 -flto=thin -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DDNSDIST -DHAVE_CONFIG_H -ferror-limit=0 -Wshadow -Wmissing-declarations -Wredundant-decls -Wno-ignored-attributes -fvisibility=hidden -fstack-protector --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection '-DPACKAGEVERSION="2.1.2-1.Debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DBOOST_TEST_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ testrunner.p/epollmplexer.cc.o -MF testrunner.p/epollmplexer.cc.o.d -o testrunner.p/epollmplexer.cc.o -c ../epollmplexer.cc
[187/190] clang++ -Itestrunner.p -I. -I.. -I../ext/protozero [too-long-redacted] ./dnsdist-lua-inspection-ffi.cc
[188/190] clang++  -o dnsdist dnsdist.p/dnsdist.cc.o dnsdist [too-long-redacted] x-gnu/libxdp.so -Wl,--end-group
FAILED: [code=1] dnsdist
clang++  -o dnsdist dnsdist.p/dnsdist.cc.o dnsdist.p/dnstap. [too-long-redacted] x-gnu/libxdp.so -Wl,--end-group
ld.lld: error: dnsdist-rust-lib/rust/libdnsdist_rust.a(dnsdist_rust-1cfdab0ad6f2d736.dnsdist_rust.1d5edda9db224ca9-cgu.00.rcgu.o): Unknown attribute kind (105) (Producer: 'LLVM22.1.8' Reader: 'LLVM 21.1.8')
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
[189/190] clang++ -Itestrunner.p -I. -I.. -I../ext/protozero/include -I/usr/include -I/usr/include/luajit-2.1 -flto=thin -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -DDNSDIST -DHAVE_CONFIG_H -ferror-limit=0 -Wshadow -Wmissing-declarations -Wredundant-decls -Wno-ignored-attributes -fvisibility=hidden -fstack-protector --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -DBOOST_CONTAINER_USE_STD_EXCEPTIONS -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection '-DPACKAGEVERSION="2.1.2-1.Debian"' -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -DBOOST_TEST_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ testrunner.p/dnsdist-lua-ffi.cc.o -MF testrunner.p/dnsdist-lua-ffi.cc.o.d -o testrunner.p/dnsdist-lua-ffi.cc.o -c ../dnsdist-lua-ffi.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:34: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149737#10
Date:
2026-10-03 11:59:53 UTC
From:
To:
* Santiago Vila <sanvila@debian.org> [261002 21:11]:
files that cannot be read by lld (LLVM21).

Please reassign.

Chris

#1149737#15
Date:
2026-10-12 15:21:03 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dnsdist, 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 1149737@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <zeha@debian.org> (supplier of updated dnsdist 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: Mon, 12 Oct 2026 17:01:24 +0200
Source: dnsdist
Architecture: source
Version: 2.1.3-1
Distribution: unstable
Urgency: medium
Maintainer: dnsdist packagers <dnsdist@packages.debian.org>
Changed-By: Chris Hofstaedtler <zeha@debian.org>
Closes: 1140146 1141584 1149737
Changes:
 dnsdist (2.1.3-1) unstable; urgency=medium
 .
   [ Chris Hofstaedtler ]
   * New upstream version 2.1.3
   * Build with lld 22, matching rustc LLVM 22 usage (Closes: #1149737)
   * Update librust-cxx-dev build-dep to match upstream constraints
     (Closes: #1141584)
 .
   [ Hector Cao ]
   * Filter out -fno-stack-clash-protection on armhf (Closes: #1140146)
Checksums-Sha1:
 f07648c3848584694ebed88d322339c36bba2ef7 1919 dnsdist_2.1.3-1.dsc
 0e28b7d9a416126750e978ba7812d0ea05223843 2372376 dnsdist_2.1.3.orig.tar.xz
 87391d49c299c77f6ebfc948a98b7d343c3dc4bb 12280 dnsdist_2.1.3-1.debian.tar.xz
 dec005e2ac183caa2938004200478c1ed1f6f3e1 11656 dnsdist_2.1.3-1_arm64.buildinfo
Checksums-Sha256:
 a03b1749f79ffb73e0d85a01eabc7a587d225973d47a87b6f37208055b7aa360 1919 dnsdist_2.1.3-1.dsc
 41cc224817ff0f7753b46fe5b814ddb9221dd9dbf76e9eb1a09f01c3c5cbb4aa 2372376 dnsdist_2.1.3.orig.tar.xz
 286a89fe771d0616a80179a1f843dce217882d857691e52ea502dbddf338ed27 12280 dnsdist_2.1.3-1.debian.tar.xz
 6477fef5dbf7c09d7dc137f04336f1a2efeacfc37ec35281d80bbcda91c262f4 11656 dnsdist_2.1.3-1_arm64.buildinfo
Files:
 00bf6d03063bcea0ae39aca83c4daf44 1919 net optional dnsdist_2.1.3-1.dsc
 6eab55bf8c16e0ae3968613489296650 2372376 net optional dnsdist_2.1.3.orig.tar.xz
 1db92c3a3200a0ecf44dfc9636574cd6 12280 net optional dnsdist_2.1.3-1.debian.tar.xz
 279af4e2d8f58b9c684db3a148a56092 11656 net optional dnsdist_2.1.3-1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSAaWBt6yRrKLK4+bRHi2NEKKNrcgUCasz4MgAKCRBHi2NEKKNr
csk5AP9HaKk87QQO0Fu0+N/hJUeqbHsyJzSAKP2y/dVOEUdt5gEAxyzhfkeiwUPx
h2+xq7DaabFMCrcLfFkD7tCJRg5xFgg=
=elPq
-----END PGP SIGNATURE-----