Bug#1063141: netpbm-free: NMU diff for 64-bit time_t transition

2024-03-01 Thread Benjamin Drung
Source: netpbm-free
Dear maintainer,

Please find attached a final version of this patch for the time_t
transition.  This patch is being uploaded to unstable.

Note that this adds a versioned build-dependency on dpkg-dev, to guard
against accidental backports with a wrong ABI.

Thanks!


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-21-generic (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru netpbm-free-11.05.02/debian/changelog 
netpbm-free-11.05.02/debian/changelog
--- netpbm-free-11.05.02/debian/changelog   2024-01-29 17:10:45.0 
+
+++ netpbm-free-11.05.02/debian/changelog   2024-03-01 12:33:03.0 
+
@@ -1,3 +1,10 @@
+netpbm-free (2:11.05.02-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1063141
+
+ -- Benjamin Drung   Fri, 01 Mar 2024 12:33:03 +
+
 netpbm-free (2:11.05.02-1) unstable; urgency=medium
 
   * 21-clarify-tifftopnm-doc.diff Closes: #496156 (The 2nd issue described
diff -Nru netpbm-free-11.05.02/debian/control 
netpbm-free-11.05.02/debian/control
--- netpbm-free-11.05.02/debian/control 2024-01-07 05:46:44.0 +
+++ netpbm-free-11.05.02/debian/control 2024-03-01 12:33:03.0 +
@@ -6,8 +6,8 @@
  Andreas Metzler ,
  Steve McIntyre <93...@debian.org>,
 Standards-Version: 4.6.2
-Build-Depends:
- d-shlibs,
+Build-Depends: dpkg-dev (>= 1.22.5),
+ d-shlibs (>= 0.106),
  debhelper-compat (= 13),
  flex,
  ghostscript ,
@@ -28,7 +28,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends:
- libnetpbm11 (= ${binary:Version}),
+ libnetpbm11t64 (= ${binary:Version}),
  ${misc:Depends},
  ${perl:Depends},
  ${shlibs:Depends},
@@ -43,11 +43,13 @@
  are over 220 separate tools in the package including converters for
  more than 80 graphics formats.
 
-Package: libnetpbm11
+Package: libnetpbm11t64
+Replaces: libnetpbm11
+Conflicts: libnetpbm11 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
-Provides:
+Provides: ${t64:Provides},
  libnetpbm10-dev,
 Depends:
  ${misc:Depends},
@@ -64,7 +66,7 @@
 Section: libdevel
 Architecture: any
 Depends:
- libnetpbm11 (= ${binary:Version}),
+ libnetpbm11t64 (= ${binary:Version}),
  ${misc:Depends},
 Conflicts:
  libnetpbm11-dev,
diff -Nru netpbm-free-11.05.02/debian/libnetpbm11.symbols 
netpbm-free-11.05.02/debian/libnetpbm11.symbols
--- netpbm-free-11.05.02/debian/libnetpbm11.symbols 2024-01-06 
12:33:20.0 +
+++ netpbm-free-11.05.02/debian/libnetpbm11.symbols 1970-01-01 
00:00:00.0 +
@@ -1,518 +0,0 @@
-libnetpbm.so.11 libnetpbm11 #MINVER#
-* Build-Depends-Package: libnetpbm-dev
- __overflow2@Base 2:11.04.05
- canUnlinkOpen@Base 2:11.04.05
- malloc2@Base 2:11.04.05
- malloc3@Base 2:11.04.05
- overflow3@Base 2:11.04.05
- overflow_add@Base 2:11.04.05
- pam_colorname@Base 2:11.04.05
- pamd_circle@Base 2:11.04.05
- pamd_fill@Base 2:11.04.05
- pamd_fill_create@Base 2:11.04.05
- pamd_fill_destroy@Base 2:11.04.05
- pamd_fill_drawproc@Base 2:11.04.05
- pamd_filledrectangle@Base 2:11.04.05
- pamd_line@Base 2:11.04.05
- pamd_point_drawproc@Base 2:11.04.05
- pamd_polyspline@Base 2:11.04.05
- pamd_setlineclip@Base 2:11.04.05
- pamd_setlinetype@Base 2:11.04.05
- pamd_spline3@Base 2:11.04.05
- pamd_spline4@Base 2:11.04.05
- pamd_text@Base 2:11.04.05
- pamd_text_box@Base 2:11.04.05
- pamd_validateCoord@Base 2:11.04.05
- pamd_validatePoint@Base 2:11.04.05
- pbm_allocrow@Base 2:11.04.05
- pbm_backgroundbitrow@Base 2:11.04.05
- pbm_builtinFonts@Base 2:11.04.05
- pbm_check@Base 2:11.04.05
- pbm_cleanrowend_packed@Base 2:11.04.05
- pbm_createbdffont2_base@Base 2:11.04.05
- pbm_defaultBdffont2@Base 2:11.04.05
- pbm_defaultBdffont@Base 2:11.04.05
- pbm_defaultFixedfont2@Base 2:11.04.05
- pbm_defaultFixedfont@Base 2:11.04.05
- pbm_defaultfont2@Base 2:11.04.05
- pbm_defaultfont@Base 2:11.04.05
- pbm_destroybdffont2@Base 2:11.04.05
- pbm_destroybdffont2_base@Base 2:11.04.05
- pbm_destroybdffont@Base 2:11.04.05
- pbm_dissectfont@Base 2:11.04.05
- pbm_expandbdffont@Base 2:11.04.05
- pbm_init@Base 2:11.04.05
- pbm_loadbdffont2@Base 2:11.04.05
- pbm_loadbdffont2select@Base 2:11.04.05
- pbm_loadbdffont@Base 2:11.04.05
- pbm_loadfont2@Base 2:11.04.05
- pbm_loadfont2select@Base 2:11.04.05
- pbm_loadfont@Base 2:11.04.05
- pbm_loadpbmfont2@Base 2:11.04.05
- pbm_loadpbmfont@Base 2:11.04.05
- pbm_nextimage@Base 2:11.04.05
- pbm_readpbm@Base 2:11.04.05
- pbm_readpbminit@Base 2:11.04.05
- pbm_readpbminitrest@Base 2:11.04.05
- pbm_readpbmrow@Base 2:11.04.05
- pbm_readpbmrow_bitoffset@Base 2:11.04.05
- pbm_readpbmrow_packed@Base 2:11.04.05
- pbm_validateComputableSize@Base 2:11.05.01
- 

Bug#1063141: netpbm-free: NMU diff for 64-bit time_t transition

2024-02-05 Thread Steve Langasek
Source: netpbm-free
Version: 2:11.05.02-1
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-...@lists.debian.org
Usertags: time-t

NOTICE: these changes must not be uploaded to unstable yet!

Dear maintainer,

As part of the 64-bit time_t transition required to support 32-bit
architectures in 2038 and beyond
(https://wiki.debian.org/ReleaseGoals/64bit-time), we have identified
netpbm-free as a source package shipping runtime libraries whose ABI
either is affected by the change in size of time_t, or could not be
analyzed via abi-compliance-checker (and therefore to be on the safe
side we assume is affected).

To ensure that inconsistent combinations of libraries with their
reverse-dependencies are never installed together, it is necessary to
have a library transition, which is most easily done by renaming the
runtime library package.

Since turning on 64-bit time_t is being handled centrally through a change
to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
important that libraries affected by this ABI change all be uploaded close
together in time.  Therefore I have prepared a 0-day NMU for netpbm-free
which will initially be uploaded to experimental if possible, then to
unstable after packages have cleared binary NEW.

Please find the patch for this NMU attached.

If you have any concerns about this patch, please reach out ASAP.  Although
this package will be uploaded to experimental immediately, there will be a
period of several days before we begin uploads to unstable; so if information
becomes available that your package should not be included in the transition,
there is time for us to amend the planned uploads.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-14-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru netpbm-free-11.05.02/debian/changelog 
netpbm-free-11.05.02/debian/changelog
--- netpbm-free-11.05.02/debian/changelog   2024-01-29 17:10:45.0 
+
+++ netpbm-free-11.05.02/debian/changelog   2024-02-05 08:36:52.0 
+
@@ -1,3 +1,11 @@
+netpbm-free (2:11.05.02-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+  * Bump build-dependency on d-shlibs for --t64 support.
+
+ -- Steve Langasek   Mon, 05 Feb 2024 08:36:52 +
+
 netpbm-free (2:11.05.02-1) unstable; urgency=medium
 
   * 21-clarify-tifftopnm-doc.diff Closes: #496156 (The 2nd issue described
diff -Nru netpbm-free-11.05.02/debian/control 
netpbm-free-11.05.02/debian/control
--- netpbm-free-11.05.02/debian/control 2024-01-07 05:46:44.0 +
+++ netpbm-free-11.05.02/debian/control 2024-02-05 08:36:52.0 +
@@ -7,7 +7,7 @@
  Steve McIntyre <93...@debian.org>,
 Standards-Version: 4.6.2
 Build-Depends:
- d-shlibs,
+ d-shlibs (>= 0.106),
  debhelper-compat (= 13),
  flex,
  ghostscript ,
@@ -28,7 +28,7 @@
 Architecture: any
 Multi-Arch: foreign
 Depends:
- libnetpbm11 (= ${binary:Version}),
+ libnetpbm11t64 (= ${binary:Version}),
  ${misc:Depends},
  ${perl:Depends},
  ${shlibs:Depends},
@@ -43,11 +43,13 @@
  are over 220 separate tools in the package including converters for
  more than 80 graphics formats.
 
-Package: libnetpbm11
+Package: libnetpbm11t64
+Replaces: libnetpbm11
+Conflicts: libnetpbm11 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
-Provides:
+Provides: ${t64:Provides},
  libnetpbm10-dev,
 Depends:
  ${misc:Depends},
@@ -64,7 +66,7 @@
 Section: libdevel
 Architecture: any
 Depends:
- libnetpbm11 (= ${binary:Version}),
+ libnetpbm11t64 (= ${binary:Version}),
  ${misc:Depends},
 Conflicts:
  libnetpbm11-dev,
diff -Nru netpbm-free-11.05.02/debian/libnetpbm11.symbols 
netpbm-free-11.05.02/debian/libnetpbm11.symbols
--- netpbm-free-11.05.02/debian/libnetpbm11.symbols 2024-01-06 
12:33:20.0 +
+++ netpbm-free-11.05.02/debian/libnetpbm11.symbols 1970-01-01 
00:00:00.0 +
@@ -1,518 +0,0 @@
-libnetpbm.so.11 libnetpbm11 #MINVER#
-* Build-Depends-Package: libnetpbm-dev
- __overflow2@Base 2:11.04.05
- canUnlinkOpen@Base 2:11.04.05
- malloc2@Base 2:11.04.05
- malloc3@Base 2:11.04.05
- overflow3@Base 2:11.04.05
- overflow_add@Base 2:11.04.05
- pam_colorname@Base 2:11.04.05
- pamd_circle@Base 2:11.04.05
- pamd_fill@Base 2:11.04.05
- pamd_fill_create@Base 2:11.04.05
- pamd_fill_destroy@Base 2:11.04.05
- pamd_fill_drawproc@Base 2:11.04.05
- pamd_filledrectangle@Base 2:11.04.05
- pamd_line@Base 2:11.04.05
- pamd_point_drawproc@Base 2:11.04.05
- pamd_polyspline@Base 2:11.04.05
- pamd_setlineclip@Base 2:11.04.05
- pamd_setlinetype@Base 2:11.04.05
- pamd_spline3@Base 2:11.04.05
-