[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987966: marked as done (unblock: petsc/3.14.5+dfsg1-4)



Your message dated Thu, 6 May 2021 12:32:21 +0200
with message-id <CAM8zJQvRJ6YknPOhip6gRA8xB7rdr4anoLoiu4iz5C1mSA7zTw@mail.gmail.com>
and subject line Re: Bug#987966: unblock: petsc/3.14.5+dfsg1-4
has caused the Debian Bug report #987966,
regarding unblock: petsc/3.14.5+dfsg1-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
987966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987966
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: Andreas Beckmann <anbe@debian.org>

Please unblock package petsc

[ Reason ]

This patch closes RC Bug#987618, reported (and patch provided) by
Andreas Beckmann.

libpetsc-real3.14/libpetsc-complex3.14: Add Breaks against
lib{petsc,slepc}-{real,complex}3.10 and
libpetsc3.10-dev-{common,examples} for smoother upgrades from buster. 
    
The libraries are not co-installable due to the libhdf5-103 ->
libhdf5-103-1 and other package renames, the -dev-* packages are
affected by the removal of unversioned python.

Breaks have been added without package version since the version
(3.10) is embedded in the package names (libpetsc*3.10*).
Hence lintian overrides are added to ignore the lintian warning
breaks-without-version in libpetsc-real3.14 and libpetsc-complex3.14


[ Impact ]

Without this patch the upgrade from buster to bullseye will not be
smooth for systems with petsc installed. Likely the administrator will need to
manually force installation of the new version of petsc in bullseye,
or manually uninstall petsc temporarily and then reinstall after
upgrade.

[ Tests ]

debci tests are passing in testing both for petsc and dependent
packages (slepc, dolfin, etc). However armhf debci tests are currently
inactive.

Andreas Beckmann has run buster->bullseye upgrade tests to check
the patch works as intended.

[ Risks ]

No code changes, only dependency relationships (Breaks) with the older
3.10 versions of petsc has been added. Hence low risk with respect to
the libraries.

The only risk is if any specific system deliberately wants to retain
petsc 3.10 alongside petsc 3.14 (the petsc package structure in
principle enables this; conservative scientific computational
applications might desire it for particular projects; the libhdf5
problem raised in Bug#987618 is an unanticipated nuisance). In this
case those systems could rebuild petsc 3.10 against the bullseye
toolchain to fix the underlying libhdf5 problem, but will be impacted
by the Breaks introduced here.

An alternative fix is to use versioned Breaks here (<= 3.10.3+dfsg1-5,
allowing local bullseye rebuilds of petsc3.10 as -5.1). But this risk
is probably low probability, and therefore the implementation released
here does not use such versioned breaks in order to ease the
readability of debian/control.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock petsc/3.14.5+dfsg1-4
diff -Nru petsc-3.14.5+dfsg1/debian/changelog petsc-3.14.5+dfsg1/debian/changelog
--- petsc-3.14.5+dfsg1/debian/changelog	2021-04-09 13:28:02.000000000 +0200
+++ petsc-3.14.5+dfsg1/debian/changelog	2021-05-01 14:26:37.000000000 +0200
@@ -1,3 +1,21 @@
+petsc (3.14.5+dfsg1-4) unstable; urgency=medium
+
+  [ Andreas Beckmann ]
+  * libpetsc-real3.14/libpetsc-complex3.14: Add Breaks against
+    lib{petsc,slepc}-{real,complex}3.10 and libpetsc3.10-dev-{common,examples}
+    for smoother upgrades from buster. The libraries are not co-installable
+    due to the libhdf5-103 -> libhdf5-103-1 and other package renames, the
+    -dev-* packages are affected by the removal of unversioned python.
+    Closes: #987618.
+
+  [ Drew Parsons ]
+  * add lintian overrides to ignore breaks-without-version warning in
+    libpetsc-real3.14 and libpetsc-complex3.14 from Breaks: libpetsc*3.10*
+    and Breaks libslepc*3.10*. The version is embedded in the package
+    names.
+
+ -- Drew Parsons <dparsons@debian.org>  Sat, 01 May 2021 14:26:37 +0200
+
 petsc (3.14.5+dfsg1-3) unstable; urgency=medium
 
   * petsc3.14-doc Depends: sphinx-common.
diff -Nru petsc-3.14.5+dfsg1/debian/control petsc-3.14.5+dfsg1/debian/control
--- petsc-3.14.5+dfsg1/debian/control	2021-04-09 13:28:02.000000000 +0200
+++ petsc-3.14.5+dfsg1/debian/control	2021-05-01 14:26:37.000000000 +0200
@@ -113,6 +113,7 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libpetsc3.6 (<< 3.6.2.dfsg1-4)
+Breaks: libpetsc-real3.10, libslepc-real3.10, libpetsc3.10-dev-common, libpetsc3.10-dev-examples
 Replaces: libpetsc3.6 (<< 3.6.2.dfsg1-4)
 Description: Shared libraries for version 3.14 of PETSc
  PETSc is the "Portable Extensible Toolkit for Scientific
@@ -250,6 +251,7 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: libpetsc-complex-3.6 (<< 3.6.2.dfsg1-4)
+Breaks: libpetsc-complex3.10, libslepc-complex3.10, libpetsc3.10-dev-common, libpetsc3.10-dev-examples
 Replaces: libpetsc-complex-3.6 (<< 3.6.2.dfsg1-4)
 Description: Shared libraries for version 3.14 of PETSc with Complex Numbers
  PETSc is the "Portable Extensible Toolkit for Scientific
diff -Nru petsc-3.14.5+dfsg1/debian/libpetsc-complex3.14.lintian-overrides petsc-3.14.5+dfsg1/debian/libpetsc-complex3.14.lintian-overrides
--- petsc-3.14.5+dfsg1/debian/libpetsc-complex3.14.lintian-overrides	2021-04-09 13:28:02.000000000 +0200
+++ petsc-3.14.5+dfsg1/debian/libpetsc-complex3.14.lintian-overrides	2021-05-01 14:26:37.000000000 +0200
@@ -3,3 +3,7 @@
 
 # libpetsc_complex.so is handled by alternatives in libpetsc-complexX.Y-dev
 dev-pkg-without-shlib-symlink usr/lib/*/libpetsc_complex.so.* usr/lib/*/libpetsc_complex.so
+
+# the version of the broken packages is embedded in the package names
+breaks-without-version libpetsc*3.10*
+breaks-without-version libslepc*3.10*
diff -Nru petsc-3.14.5+dfsg1/debian/libpetsc-real3.14.lintian-overrides petsc-3.14.5+dfsg1/debian/libpetsc-real3.14.lintian-overrides
--- petsc-3.14.5+dfsg1/debian/libpetsc-real3.14.lintian-overrides	2021-04-09 13:28:02.000000000 +0200
+++ petsc-3.14.5+dfsg1/debian/libpetsc-real3.14.lintian-overrides	2021-05-01 14:26:37.000000000 +0200
@@ -3,3 +3,7 @@
 
 # libpetsc_real.so is handled by alternatives in libpetsc-realX.Y-dev
 dev-pkg-without-shlib-symlink usr/lib/*/libpetsc_real.so.* usr/lib/*/libpetsc_real.so
+
+# the version of the broken packages is embedded in the package names
+breaks-without-version libpetsc*3.10*
+breaks-without-version libslepc*3.10*

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: