#1110956 lapack: FTBFS on hppa and alpha - segmentation fault in testsuite

Package:
src:lapack
Source:
src:lapack
Submitter:
John David Anglin
Date:
2026-06-30 06:07:01 UTC
Severity:
normal
Tags:
#1110956#5
Date:
2025-08-12 22:00:29 UTC
From:
To:
Dear Maintainer,

Since version 3.12.0-4, the build fails on hppa.  See:
https://buildd.debian.org/status/fetch.php?pkg=lapack&arch=hppa&ver=3.12.1-4&stamp=1753202248&raw=0

The build fails here:
# Run CBLAS tests, output the result, and stop if one test fails
LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH /usr/bin/make -C CBLAS/testing run BLASLIB="../../libblas.so" CBLASLIB=""
make[2]: Entering directory '/build/reproducible-path/lapack-3.12.1/CBLAS/testing'
--> TESTING CBLAS 1 - SINGLE PRECISION REAL <--
--> TESTING CBLAS 1 - DOUBLE PRECISION REAL <--
--> TESTING CBLAS 1 - SINGLE PRECISION COMPLEX <--
--> TESTING CBLAS 1 - DOUBLE PRECISION COMPLEX <--
--> TESTING CBLAS 2 - SINGLE PRECISION REAL <--
--> TESTING CBLAS 2 - DOUBLE PRECISION REAL <--
--> TESTING CBLAS 2 - SINGLE PRECISION COMPLEX <--
--> TESTING CBLAS 2 - DOUBLE PRECISION COMPLEX <--
--> TESTING CBLAS 3 - SINGLE PRECISION REAL <--

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0xf8841d4f in ???
Segmentation fault
make[2]: *** [Makefile:97: run] Error 139

Upstream bug report is here:
https://github.com/Reference-LAPACK/lapack/issues/1151

The attached patch skips the problematic code.

Regards,
Dave Anglin

#1110956#10
Date:
2025-09-14 20:38:30 UTC
From:
To:
Le mardi 12 août 2025 à 18:00 -0400, John David Anglin a écrit :

Thanks for the report.

However note that the patch is not ready to be applied, because it
disables the tests on all architectures, and not specifically alpha and
hppa.

#1110956#17
Date:
2026-06-30 05:18:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
lapack, 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 1110956@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mo Zhou <lumin@debian.org> (supplier of updated lapack 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, 29 Jun 2026 21:57:07 -0700
Source: lapack
Architecture: source
Version: 3.12.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Mo Zhou <lumin@debian.org>
Closes: 1110956
Changes:
 lapack (3.12.1-8) unstable; urgency=medium
 .
   [ Sébastien Villemot ]
   * d/control: use proper team name in Maintainer field
   * Drop “Rules-Requires-Root: no”, which is now the default
   * d/watch: upgrade to format version 5
   * d/rules: use buildopts.mk to parse DEB_BUILD_OPTIONS
 .
   [ Mo Zhou ]
   * Cherry-pick upstream commit 426641c to fix testsuite segfault for
     alpha and hppc architectures. (Closes: #1110956)
Checksums-Sha1:
 6d41bf678d816455cbf3679d110764f1b5dbdcfc 3421 lapack_3.12.1-8.dsc
 b71b303e74559f2b421dccb3beec97427d5cfe12 30156 lapack_3.12.1-8.debian.tar.xz
 a91455b316a55d1dcbc624e55b578ec023fd3133 5447 lapack_3.12.1-8_source.buildinfo
Checksums-Sha256:
 9876dc7bf6e862ddaaac8ac1cadcd474c0dfb431504b09a93651170f8d50160f 3421 lapack_3.12.1-8.dsc
 fbbb7f768ffec6869e01270f775cb48ba26adf503f36ebdc6a4ceef6c7f0b020 30156 lapack_3.12.1-8.debian.tar.xz
 6f9b6800dc102b759abf2a2baf42657be8803eaed75c4a3c62118e59871a8e6b 5447 lapack_3.12.1-8_source.buildinfo
Files:
 65716d725113c9872554a96f25a5625b 3421 libs optional lapack_3.12.1-8.dsc
 1392240cbd4d7b5d77c8f80eaefb7b7b 30156 libs optional lapack_3.12.1-8.debian.tar.xz
 bc95cbb9d049836819eeb7f343c4fed6 5447 libs optional lapack_3.12.1-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmpDTMURHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaoqjrw/+OP1kQ6ZdYfmUx6uulrVsaG4DqzWw0CXS
IX8IpizhG48WBp3gFc0KhxinY+rVgMJA0Uffpzht4xPuhOtpKFkNMA09J3/zy4KQ
X+bCjad6fwbfZB2JPmn9AmLjp51sc1CoLbtADziHYfq+YFjstIGUovOIP1u3YpQZ
pDjUdrKHNK4Wa6wTV/JOtY68B6CvlbefzJfe/x3rp26n+Syn0SG3OK/P5o8A0GkF
9lIgaYzyiSNvnc9+jp78iYbfOQtw+kRuAazvOfeTa6xScHIx18b957lRy3nwl/wY
476LSijINiROTr6R5CfCS2Fzyo/+WdafDbCudlvQ8QXw8PxBv4zf+7Hq9MYa0v9g
GiGhUv4OmOkiIgZH17CQNNwHDnso2uLCkbMJv+qzn/n1gvgjn4O9uZpZeFFGBzKG
mhL4S2uVgbqnpvIPq+KjrWa3RIwuUO8fxj94DtsAUiE2pwNOg7jNU8QiKikvfKi4
2/Lr2OZFygWH/ZwXDQb4GXOTgyr1FfOKnJ04nkF29URcyhqtRn1L9uaorA/Uzsvt
Dl2e6fYu83sTTAXXCTbQiZLSORVfrA6eFn42zBj2zvMU4SVVBH4LGPIQNuyypapf
sWCljX866So0MOrK5pqtuo+ixwiKAoHidh36QaSiA0nUlwOXNfxa5b1XEPRMMy/x
tyWokBnz3tc=
=yMIo
-----END PGP SIGNATURE-----