control: tags -1 patch the following works. diff -Nru sdpa-7.3.12+dfsg/debian/changelog sdpa-7.3.12+dfsg/debian/changelog --- sdpa-7.3.12+dfsg/debian/changelog 2019-12-06 08:00:00.000000000 +0100 +++ sdpa-7.3.12+dfsg/debian/changelog 2020-03-08 09:03:01.000000000 +0100 @@ -1,3 +1,10 @@ +sdpa (7.3.12+dfsg-1.1) unstable; urgency=medium + + * Fix rules to dynamically evaluate mumps version on binNMU + (Closes: #953158) + + -- Gianfranco Costamagna <locutusofb...@debian.org> Sun, 08 Mar 2020 09:03:01 +0100 + sdpa (7.3.12+dfsg-1) unstable; urgency=low * New upstream diff -Nru sdpa-7.3.12+dfsg/debian/control sdpa-7.3.12+dfsg/debian/control --- sdpa-7.3.12+dfsg/debian/control 2019-12-06 08:00:00.000000000 +0100 +++ sdpa-7.3.12+dfsg/debian/control 2020-03-08 08:32:37.000000000 +0100 @@ -11,7 +11,7 @@ Package: sdpa Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libopenblas-dev, libmumps-seq-5.1.2 + libopenblas-dev, libmumps-seq-${mumps-seq:Version} Description: High-performance package for SemiDefinite Programs The software SDPA (SemiDefinite Programming Algorithm) is one of the most efficient and stable software packages for solving SDPs based on the @@ -38,7 +38,7 @@ Package: sdpam Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, - libopenblas-pthread-dev, libmumps-seq-5.1.2, + libopenblas-pthread-dev, libmumps-seq-${mumps-seq:Version}, octave, libsdpa-dev Description: Matlab/Octave interface of SDPA This package provides SDPA-M, Matlab/Octave interface diff -Nru sdpa-7.3.12+dfsg/debian/rules sdpa-7.3.12+dfsg/debian/rules --- sdpa-7.3.12+dfsg/debian/rules 2019-12-06 08:00:00.000000000 +0100 +++ sdpa-7.3.12+dfsg/debian/rules 2020-03-08 09:02:45.000000000 +0100 @@ -37,6 +37,8 @@ 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" DEB_CONFIGURE_EXTRA_FLAGS += --with-mumps-libs=$(MUMPS_LIBS) +LIBMUMPS_VER := $(shell dpkg --status libmumps-seq-dev | awk '/^Version:/ {print $$2}' |cut -f 1 -d "-") +DEB_DH_GENCONTROL_ARGS_ALL = -- -Vmumps-seq:Version=$(LIBMUMPS_VER) SDPA_DIR=$(CURDIR)/debian/sdpa SDPAM_DIR=$(CURDIR)/debian/sdpam
Il domenica 8 marzo 2020, 02:15:22 CET, Nobuhiro Iwamatsu <iwama...@nigauri.org> ha scritto: Hi, I suggest assigning this bug to mumps package. Best regards, Nobuhiro On Fri, Mar 06, 2020 at 12:07:48AM +0900, Makoto Yamashita wrote: > Dear Gianfranco Costamagna, > > Thank you very much for checking our package. > Unfortunately, it is outside of this package, and we cannot do anything for > your comment, > so please close this bug. > > Thanks. > Makoto > > > > 2020年3月5日(木) 21:15 Gianfranco Costamagna <locutusofb...@debian.org>: > > > Source: sdpa > > Version: 7.3.12+dfsg-1 > > Severity: serious > > > > Hello, hardcoding the mumps library as runtime dependency breaks binNMUs, > > and it is actually keeping your package out from testing. > > > > Please let shlibs find the dependency if required, or if needed but not > > linked, ask mumps people to add a virtual provide for the runtime > > dependency, so it won't break on next binNMU. > > > > thanks > > > > Gianfranco > >
diff
Description: Binary data