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

John David Anglin dave at parisc-linux.org
Tue Aug 12 23:00:29 BST 2025


Source: lapack
Version: 3.12.1-6
Severity: normal
Tags: patch
X-Debbugs-Cc: debian-alpha at lists.debian.org
User: debian-alpha at lists.debian.org
Usertags: alpha

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

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.12.41-dirty (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
--- ./CBLAS/testing/c_sblat3.f.save	2024-12-03 06:39:11.000000000 -0500
+++ ./CBLAS/testing/c_sblat3.f	2025-08-12 10:12:44.225827555 -0400
@@ -290,7 +290,7 @@
             INFOT = 0
             OK = .TRUE.
             FATAL = .FALSE.
-            GO TO ( 140, 150, 160, 160, 170, 180, 185 )ISNUM
+            GO TO ( 140, 150, 160, 160, 170, 180, 190 )ISNUM
 *           Test SGEMM, 01.
   140       IF (CORDER) THEN
             CALL SCHK1( SNAMES( ISNUM ), EPS, THRESH, NOUT, NTRA, TRACE,


More information about the debian-science-maintainers mailing list