Source: sdpa
Version: 7.3.20-1
Severity: serious
Tags: patch ftbfs

Dear Maintainer,


I found sdpa to be trying to download mumps during build on some architectures.

While debugging I found that the download of external mumps is performed when 
the detection fails.

The detection fails because on rules file there is an "quadmath" ldflag, so the 
link of the test program fails during configure where quadmath is not built

I don't know if excluding it is the best fix, or if #ifdef the quadmath ldflag 
is another good option.

Right now something like this:
Currently the debdiff looks like:
diff -Nru sdpa-7.3.20/debian/rules sdpa-7.3.20/debian/rules
--- sdpa-7.3.20/debian/rules    2025-12-17 01:00:00.000000000 +0100
+++ sdpa-7.3.20/debian/rules    2026-01-03 00:35:06.000000000 +0100
@@ -33,7 +33,8 @@
     DEB_CONFIGURE_EXTRA_FLAGS = 
--with-lapack="/usr/lib/$(DEB_HOST_MULTIARCH)/openblas-pthread/liblapack.a" 
--with-blas="/usr/lib/$(DEB_HOST_MULTIARCH)/openblas-pthread/libblas.a"
 endif
 
-MUMPS_LIBS="-ldmumps_seq -lsmumps_seq -lcmumps_seq -lzmumps_seq 
-lmumps_common_seq -lpord -lscotch -lesmumps -lgfortran -lquadmath"
+MUMPS_LIBS="-ldmumps_seq -lsmumps_seq -lcmumps_seq -lzmumps_seq 
-lmumps_common_seq -lpord -lscotch -lesmumps -lgfortran "
+#-lquadmath"
 # "/usr/lib/$(DEB_HOST_MULTIARCH)/libdmumps_seq.a 
/usr/lib/$(DEB_HOST_MULTIARCH)/libmumps_common_seq.a 
/usr/lib/$(DEB_HOST_MULTIARCH)/libmpiseq_seq.a 
/usr/lib/$(DEB_HOST_MULTIARCH)/libpord_seq.a -lscotch -lesmumps"
 DEB_CONFIGURE_EXTRA_FLAGS += --with-mumps-libs=$(MUMPS_LIBS)
 

Made it build everywhere

HNY

Gianfranco

Reply via email to