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

Bug#1032246: unblock: sg3-utils/1.46-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: sg3-utils@packages.debian.org
Control: affects -1 + src:sg3-utils
Control: block 1031927 by -1 

Please unblock package sg3-utils.

This is a prerequest, before uploading to unstable. The package has
already passed through NEW and is available in experimental.

[ Reason ]

The libsgutils2-2 package contains a library, libsgutils, which has
started embedding the package version in the library name since the
1.45 release upstream. This means that if we ship sg3-utils as is we'll
end up shipping libsgutils2-2 in bookworm containing a different soname
than libsgutils2-2 in bullseye.

Note this will require rebuilds of the rdepends of libsgutils2-2 which
appear to be:

  tableau-parm
  ledmon
  libgpod

I *think* the appropriate transition rule is:

title = "sg3-utils";
is_affected = .depends ~ "libsgutils2-2" | .depends ~ "libsgutils2-1.46-2";
is_good = .depends ~ "libsgutils2-1.46-2";
is_bad = .depends ~ "libsgutils2-2";


[ Impact ]

If not permitted then we'll end up with potential problems for the rdeps
of libsgutils2-2 during upgrades.


[ Tests ]

There is no functional code change here, just a package rename. It has
been confirmed that:

 * It will not co-exist with the libsgutils2-2 package in bookworm
   (thanks to the versioned breaks/replaces)
 * It will co-exist with the libsgutils2-2 package in bullseye
   (which is 1.45-1 and has no overlapping files)
 * Operation of the sg3-utils package with this new build is fine


[ Risks ]

If we don't update this in bookworm we run the risk of soname skew.


[ Checklist ] (TBD)

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

TBD:

unblock sg3-utils/1.46-3

diff --git a/debian/changelog b/debian/changelog
index 6aeaa17..9ba46b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+sg3-utils (1.46-3) unstable; urgency=medium
+
+  * Upload to unstable
+
+ -- Jonathan McDowell <noodles@earth.li>  Thu, 02 Mar 2023 09:13:12 +0000
+
+sg3-utils (1.46-2) experimental; urgency=medium
+
+  [ Debian Janitor ]
+  * Use secure URI in Homepage field.
+
+  [ Jonathan McDowell ]
+  * Rename libsgutils2-2 package to include package version (Closes: #994758)
+
+ -- Jonathan McDowell <noodles@earth.li>  Wed, 01 Mar 2023 09:24:47 +0000
+
 sg3-utils (1.46-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --git a/debian/control b/debian/control
index 71b7c6d..5ed0768 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Ritesh Raj Sarraf <rrs@debian.org>
 Uploaders: Jonathan McDowell <noodles@earth.li>
 Build-Depends: debhelper-compat (= 13), libtool, libcam-dev [kfreebsd-any], dpkg-dev (>= 1.16.1~)
 Standards-Version: 4.5.1
-Homepage: http://sg.danny.cz/sg/
+Homepage: https://sg.danny.cz/sg/
 Vcs-Git: https://salsa.debian.org/linux-blocks-team/sg3-utils.git
 Vcs-Browser: https://salsa.debian.org/linux-blocks-team/sg3-utils
 
@@ -24,12 +24,12 @@ Description: utilities for devices using the SCSI command set
  between supported SCSI and ATA commands and utility names in this package
  see the COVERAGE file.
 
-Package: libsgutils2-2
+Package: libsgutils2-1.46-2
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Architecture: any
-Conflicts: libsgutils2
-Replaces: libsgutils2
+Conflicts: libsgutils2-2 (= 1.46-1)
+Replaces: libsgutils2-2 (= 1.46-1)
 Suggests: sg3-utils
 Multi-Arch: same
 Description: utilities for devices using the SCSI command set (shared libraries)
@@ -47,7 +47,7 @@ Description: utilities for devices using the SCSI command set (shared libraries)
 Package: libsgutils2-dev
 Section: libdevel
 Architecture: any
-Depends: libsgutils2-2 (= ${binary:Version}), ${shlibs:Depends}, ${kfreebsd:Depends}, ${misc:Depends}
+Depends: libsgutils2-1.46-2 (= ${binary:Version}), ${shlibs:Depends}, ${kfreebsd:Depends}, ${misc:Depends}
 Conflicts: libsgutils1-dev
 Suggests: sg3-utils
 Multi-Arch: same
diff --git a/debian/libsgutils2-2.install b/debian/libsgutils2-1.46-2.install
similarity index 100%
rename from debian/libsgutils2-2.install
rename to debian/libsgutils2-1.46-2.install
diff --git a/debian/libsgutils2-2.symbols b/debian/libsgutils2-1.46-2.symbols
similarity index 99%
rename from debian/libsgutils2-2.symbols
rename to debian/libsgutils2-1.46-2.symbols
index f161c52..8d05b85 100644
--- a/debian/libsgutils2-2.symbols
+++ b/debian/libsgutils2-1.46-2.symbols
@@ -1,4 +1,4 @@
-libsgutils2-1.46.so.2 libsgutils2-2 #MINVER#
+libsgutils2-1.46.so.2 libsgutils2-1.46-2 #MINVER#
  check_pt_file_handle@Base 1.43
  clear_scsi_pt_obj@Base 1.27
  construct_scsi_pt_obj@Base 1.27
diff --git a/debian/libsgutils2-2.symbols.kfreebsd b/debian/libsgutils2-1.46-2.symbols.kfreebsd
similarity index 98%
rename from debian/libsgutils2-2.symbols.kfreebsd
rename to debian/libsgutils2-1.46-2.symbols.kfreebsd
index ef2c062..748424b 100644
--- a/debian/libsgutils2-2.symbols.kfreebsd
+++ b/debian/libsgutils2-1.46-2.symbols.kfreebsd
@@ -1,4 +1,4 @@
-libsgutils2-1.46.so.2 libsgutils2-2 #MINVER#
+libsgutils2-1.46.so.2 libsgutils2-1.46-2 #MINVER#
  clear_scsi_pt_obj@Base 1.27
  construct_scsi_pt_obj@Base 1.27
  dStrHex@Base 1.27

Attachment: signature.asc
Description: PGP signature


Reply to: