Source: sdpa
Version: 7.3.11+dfsg-1.1
Tags: patch
Severity: serious

Hello, looks like sdpa is FTBFS because configure is passing 
--with-lapack="/usr/lib/$(DEB_HOST_MULTIARCH)/openblas/liblapack.a

but now the default blas implementation is the pthread variant, since this 
upload:
 openblas (0.3.7+ds-2) experimental; urgency=medium
 .
   [ Multi-Flavour Update of OpenBLAS (Closes: #878121, #684344) ]
   * (32-bit, 64-bit)-index * (pthread, openmp, serial)-threadding = 6 Variants.
     Each one assigned with different priority values in alternatives system:
     + libopenblas0-{pthread,openmp,serial}    (priority = 100,95,90)
       * Provides: libopenblas.so.0, libblas.so.3, liblapack.so.3
     + libopenblas64-0-{pthread,openmp,serial} (priority = 100,95,90)
       * Provides: libopenblas64.so.0, libblas64.so.3, liblapack64.so.3
       - 64-bit-indexing versions are only available on 64-bit archs.
   * Let libopenblas0 and libopenblas64-0 be meta packages. They pull one of the
     three threadding variants. On resolving shlib dependencies, these meta
     packages, instead of specific variants used for building, should be used as
     the dependencies.
   * Turn libopenblas-base into a transitional dummy package.
   * Update/Create control files and maintscripts for all these variants.
   * Autopkgtest: test all the 6 variants.
 .
   [ Mo Zhou ]
   * Append myself to Uploaders.
   * Simplify architecture detection part of rules.
   * Bump B-D lapack to >= 3.8.0-5 (for liblapack64-dev).
   * rules: Deparallelize build targets to avoid messy buildlog
   * Update existing patches accordingly for the new feature.
   * Merge order-files.patch into shared-blas-lapack.patch
   * Create template postrm for libopenblas-dev to avoid leftover.
   * Remove the unnecessary overrides from rules.
   * Upload to experimental.


so, to fix the FTBFS I presume this change is enough

--- sdpa-7.3.11+dfsg/debian/changelog   2019-08-02 13:46:12.000000000 +0200
+++ sdpa-7.3.11+dfsg/debian/changelog   2019-11-06 10:11:47.000000000 +0100
@@ -1,3 +1,9 @@
+sdpa (7.3.11+dfsg-1.2) unstable; urgency=medium
+
+  * Adjust rules file to find blas in new blas-pthread directory (Closes: #-1)
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Wed, 06 Nov 2019 
10:11:47 +0100
+
 sdpa (7.3.11+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru sdpa-7.3.11+dfsg/debian/rules sdpa-7.3.11+dfsg/debian/rules
--- sdpa-7.3.11+dfsg/debian/rules       2017-12-05 15:46:32.000000000 +0100
+++ sdpa-7.3.11+dfsg/debian/rules       2019-11-06 10:11:44.000000000 +0100
@@ -26,7 +26,7 @@
 endif
 # For new libopenblas-dev
 ifeq ($(shell test -f /usr/lib/$(DEB_HOST_MULTIARCH)/libopenblas.a && echo 
1),1)
-       DEB_CONFIGURE_EXTRA_FLAGS = 
--with-lapack="/usr/lib/$(DEB_HOST_MULTIARCH)/openblas/liblapack.a" 
--with-blas="/usr/lib/$(DEB_HOST_MULTIARCH)/openblas/libblas.a"
+       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="/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"


I already uploaded in Ubuntu this change, and it seems to build fine now
https://launchpad.net/ubuntu/+source/sdpa/7.3.11+dfsg-1.1ubuntu1


compared with:
https://launchpad.net/ubuntu/+source/sdpa/7.3.11+dfsg-1.1build1

G.

Reply via email to