#1096018 bart-cuda: autopkgtest failure with glibc 2.41 due to increased accuracy of atan2f function #1096018
- Package:
- src:bart-cuda
- Source:
- src:bart-cuda
- Submitter:
- Aurelien Jarno
- Date:
- 2026-10-17 19:53:03 UTC
- Severity:
- normal
- Tags:
Dear maintainer, The bart-cuda autopkgtest fails when run against glibc 2.41, which is currently in experiemntal. It fails with [1]: | 3772s touch tests/test-traj-custom | 3772s set -e ; mkdir /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp/tests/tmp/$$/ ; cd /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp/tests/tmp/$$/ ;\ | 3772s /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp//traj -R0. -r -y360 -D t0.ra ;\ | 3772s /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp//phantom -k -t t0.ra k0.ra ;\ | 3772s /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp//traj -R30. -r -y360 -D t30.ra ;\ | 3772s /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp//phantom -k -t t30.ra k30.ra ;\ | 3772s /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp//estshift 4 k0.ra k30.ra | grep "30.00000" ;\ | 3772s rm *.ra ; cd .. ; rmdir /tmp/autopkgtest-lxc.oedkyjwg/downtmp/autopkgtest_tmp/tests/tmp/$$/ | 3774s make: *** [tests/traj.mk:53: tests/test-traj-rot] Error 1 Investigation shows that this is due to improved accuracy of the atan2f function in glibc 2.41. In details bart-cuda computes atan2f(0x1.166202p-4, 0x1.e22c5ap-4) and it expects it to be 30.00000 when converted from radian to degrees, ie it expects the atan2f function to return 0x1.0c1524p-1. With glibc 2.41, the atan2f function has been improved [2] and now returns instead 0x1.0c1522p-1 which is closer to the real value than 0x1.0c1524p-1. This corresponds to 29.999998 when converted to degrees. The patch below fixes the issue by accepting both values. Regards Aurelien --- bart-cuda-0.8.00.orig/tests/traj.mk +++ bart-cuda-0.8.00/tests/traj.mk @@ -55,7 +55,7 @@ tests/test-traj-rot: traj phantom estshi $(TOOLDIR)/phantom -k -t t0.ra k0.ra ;\ $(TOOLDIR)/traj -R30. -r -y360 -D t30.ra ;\ $(TOOLDIR)/phantom -k -t t30.ra k30.ra ;\ - $(TOOLDIR)/estshift 4 k0.ra k30.ra | grep "30.00000" ;\ + $(TOOLDIR)/estshift 4 k0.ra k30.ra | grep "30.00000\|29.999998" ;\ rm *.ra ; cd .. ; rmdir $(TESTS_TMP) touch $@ [1] https://ci.debian.net/data/autopkgtest/unstable/amd64/b/bart-cuda/57639405/log.gz [2] https://sourceware.org/git/?p=glibc.git;a=commit;h=6f9bacf36b20b1a87fa4ec24c9d67c47985fbc8b
control: severity -1 serious Hi, glibc 2.41 is now in unstable, bumping the severity accordingly. Regards Aurelien
We believe that the bug you reported is fixed in the latest version of bart-cuda, 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 1096018@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andreas Tille <tille@debian.org> (supplier of updated bart-cuda 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, 17 Oct 2026 20:54:03 +0200 Source: bart-cuda Architecture: source Version: 1.0.01-1 Distribution: unstable Urgency: medium Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> Changed-By: Andreas Tille <tille@debian.org> Closes: 1078156 1096018 1148694 Changes: bart-cuda (1.0.01-1) unstable; urgency=medium . * Team upload. . [ Martin Uecker ] * New upstream release. (Closes: #1096018, #1078156, #1148694) . [ Andreas Tille ] * Add debian/gbp.conf * Remove redundant Priority: optional from source stanza. * Trim trailing whitespace. * cme fix dpkg-control * Relax seq check_settings for RAGA / default configurations Checksums-Sha1: 641b3681cf6382ee846c5024a2a3608545ce2eee 2162 bart-cuda_1.0.01-1.dsc b84299159dd4fea2b5cb082b712afbb454fafd66 1482447 bart-cuda_1.0.01.orig.tar.gz 7f15ff46b55f3fc52c6d037642592c489ac8beec 31832 bart-cuda_1.0.01-1.debian.tar.xz 270040f9a2525e17b60bb89b80a9dfdf614bc627 9323 bart-cuda_1.0.01-1_amd64.buildinfo Checksums-Sha256: 8d667a7937ceacfac82e74d63aa2d7f1bdd82123967c9286ec8787ed2b3402cd 2162 bart-cuda_1.0.01-1.dsc dda7df85cc158e2b1d98f8a27692104c5a51316e9c42b1d8db5ec23e923c4c2f 1482447 bart-cuda_1.0.01.orig.tar.gz 4c319a1f0c16be3114e5702d07bbef3b726cd5c43e259f0caeb73056110aedc2 31832 bart-cuda_1.0.01-1.debian.tar.xz bf294ad2dce5bb078981bc36d11a1c48e229e52b49b105b278fc06fbc30964fd 9323 bart-cuda_1.0.01-1_amd64.buildinfo Files: ffbc52641e323fbee964b8502f4ae144 2162 contrib/science optional bart-cuda_1.0.01-1.dsc cdfb85d496244bb8f33b47c990304e72 1482447 contrib/science optional bart-cuda_1.0.01.orig.tar.gz 226ccba65e7098b8e55ad93e6abd3d40 31832 contrib/science optional bart-cuda_1.0.01-1.debian.tar.xz a322ced00ec780caab62ced6c70191cc 9323 contrib/science optional bart-cuda_1.0.01-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmrTy/cRHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtG4ABAAjjuc0t5dRP3jjaxNoY09C4AciNFii71M HOSzG0LA6/h+OtPUxah3zxzaX1k26ivgFve6bm/ytWTe6qWd9y74Gk3c4uZvYdOk XBan4r+uaz3J9yYJ+O49Y4daMDsCwdCXhIoLeowkiY0g16P/luj3sAXvaocyLW5k Z61gNv9MJm6NSZ6++Gj/r/0Dr9dSWe4dPQSQ9zcjsnY9P1rRPgA97k9l4zMdynTm VlMxSNghAnWPkCJc6s18S32mAFKpwAOM980rdpFPtZNbhpoJ4HKBKX1GBfgb3VDt B83TO6QMwgC+y/7QFPr8I1Nz9/XcKecwckoxfcRe6KymJr4s+Wey/mm5To4JDoP1 8cPtsANNcdjOF72dgMn7ZxNSMGTUVfa4mY/0gzAKq98k4EAG/YU1rKzmkVUTSo/u Vziu7T601EO1OYUH9359B7ulBQnG9Ty0K7DYZoF+eRKW2cbCKXLe0BIEg6KEy/36 neymxPgs8M2TVNAhYewa16L0NyICp2Mqf58a4wjLR+0VRZfV36d3yUCXVSNHLYz4 KocawAXZNjGgAtwIdASj/aqiW9WuEFEYEakkoo+PFgPvHOMvtp9cKnvRGjutTfxa /OSqUjBaSw8n36L3fajOmAGlAzctUTvCKJXDpn2Fnz+4FMfU7VhP7amqGn78thYz pqE7mj5RQpM= =fADt -----END PGP SIGNATURE-----