Source: libahp-xc Version: 1.4.7-1 Severity: serious Tags: patch upstream Hi,
The autopkgtest of libahp-xc version 1.4.7-1 fails: | 28s autopkgtest [21:18:12]: test run-test: [----------------------- | 28s Compiling and linking ... | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `log2' | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `sincos' | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `fmod' | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `asin' | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `fmax' | 28s /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libahp_xc.so: undefined reference to `pow' | 28s collect2: error: ld returned 1 exit status | 28s autopkgtest [21:18:12]: test run-test: -----------------------] | 28s run-test FAIL non-zero exit status 1 The full autopkgtest log is available here: https://ci.debian.net/data/autopkgtest/testing/amd64/liba/libahp-xc/67782369/log.gz This happens because libahp_xc.so is not linked with the math library while it uses functions from it. This is cause by the following upstream commit [1], introduced in version 1.4.6 | From 705681ac64d0fdeb8b60a1903a70937b18141492 Mon Sep 17 00:00:00 2001 | From: Ilia Platone <[email protected]> | Date: Wed, 6 Aug 2025 19:55:49 +0200 | Subject: [PATCH] Remove libmath from dependencies | | --- | CMakeLists.txt | 3 +-- | 1 file changed, 1 insertion(+), 2 deletions(-) I believe it should be reverted, and doing so fixes the issue. Regards Aurelien [1] https://github.com/ahp-electronics/libahp-xc/commit/705681ac64d0fdeb8b60a1903a70937b18141492

