Bug#1125715: diet-ng: FTBFS on arm64: Unable to detect linker for compiler `ldc2 -L=--version /tmp/tmpp57y3ut8.d -L=-z -L=relro -mbranch-protection=standard -release -wi -g -O2`
Sebastian Ramacher <[email protected]>
| Newsgroups | gmane.linux.debian.ports.arm |
|---|---|
| Message-ID | <aWpgAdhg1R8hBbXF__4264.4464223244$1768579173$gmane$org@ramacher.at> |
Source: diet-ng Version: 1.8.1-3 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: [email protected], [email protected] User: [email protected] Usertags: arm64 Dear maintainer, diet-ng FTBFS on arm64: dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean dh_clean debian/rules binary-arch dh binary-arch dh_update_autotools_config -a dh_autoreconf -a dh_auto_configure -a cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/aarch64-linux-gnu -Dpython.bytecompile=-1 The Meson build system Version: 1.10.0 Source dir: /build/reproducible-path/diet-ng-1.8.1 Build dir: /build/reproducible-path/diet-ng-1.8.1/obj-aarch64-linux-gnu Build type: native build Project name: Diet-NG Project version: 1.8.1 ../meson.build:1:0: ERROR: Unable to detect linker for compiler `ldc2 -L=--version /tmp/tmpp57y3ut8.d -L=-z -L=relro -mbranch-protection=standard -release -wi -g -O2` stdout: stderr: ldc2: Unknown command line argument '-mbranch-protection=standard'. Try: 'ldc2 --help' ldc2: Did you mean '--fcf-protection=standard'? A full log can be found at /build/reproducible-path/diet-ng-1.8.1/obj-aarch64-linux-gnu/meson-logs/meson-log.txt cd obj-aarch64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt ==> meson-logs/meson-log.txt <== Build started at 2026-01-16T14:44:05.425336 Main binary: /usr/bin/python3 Build Options: -Dpython.bytecompile=-1 -Dprefix=/usr -Dlibdir=lib/aarch64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload Python system: Linux The Meson build system Version: 1.10.0 Source dir: /build/reproducible-path/diet-ng-1.8.1 Build dir: /build/reproducible-path/diet-ng-1.8.1/obj-aarch64-linux-gnu Build type: native build Project name: Diet-NG Project version: 1.8.1 ----------- Detecting compiler via: `cc --version` -> 0 stdout: cc (Debian 15.2.0-12) 15.2.0 Copyright (C) 2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ----------- Running command: -cpp -x c -E -dM - ----- ----------- Detecting linker via: `cc -Wl,--version -Wl,-z,relro -mbranch-protection=standard -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/diet-ng-1.8.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2` -> 0 stdout: GNU ld (GNU Binutils for Debian) 2.45.50.20251209 Copyright (C) 2025 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. ----------- stderr: collect2 version 15.2.0 /usr/bin/ld -plugin /usr/libexec/gcc/aarch64-linux-gnu/15/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/aarch64-linux-gnu/15/lto-wrapper -plugin-opt=-fresolution=/tmp/ccYQlso4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu --as-needed -dynamic-linker /lib/ld-linux-aarch64.so.1 -X -EL -maarch64linux --fix-cortex-a53-843419 -pie /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/Scrt1.o /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/crti.o /usr/lib/gcc/aarch64-linux-gnu/15/crtbeginS.o -L/usr/lib/gcc/aarch64-linux-gnu/15 -L/usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu -L/usr/lib/gcc/aarch64-linux-gnu/15/../../../../lib -L/lib/aarch64-linux-gnu -L/lib/../lib -L/usr/lib/aarch64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/aarch64-linux-gnu/15/../../.. -L/lib -L/usr/lib --version -z relro -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/aarch64-linux-gnu/15/crtendS.o /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/crtn.o ----------- ----- ----------- Detecting linker via: `ldc2 -L=--version /tmp/tmpp57y3ut8.d -L=-z -L=relro -mbranch-protection=standard -release -wi -g -O2` -> 1 stderr: ldc2: Unknown command line argument '-mbranch-protection=standard'. Try: 'ldc2 --help' ldc2: Did you mean '--fcf-protection=standard'? ----------- ../meson.build:1:0: ERROR: Unable to detect linker for compiler `ldc2 -L=--version /tmp/tmpp57y3ut8.d -L=-z -L=relro -mbranch-protection=standard -release -wi -g -O2` stdout: stderr: ldc2: Unknown command line argument '-mbranch-protection=standard'. Try: 'ldc2 --help' ldc2: Did you mean '--fcf-protection=standard'? dh_auto_configure: error: cd obj-aarch64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/aarch64-linux-gnu -Dpython.bytecompile=-1 returned exit code 1 make: *** [debian/rules:8: binary-arch] Error 25 See https://buildd.debian.org/status/fetch.php?pkg=diet-ng&arch=arm64&ver=1.8.1-3%2Bb6&stamp=1768574647&raw=0 Cheers -- Sebastian Ramacher