Bug#1062950: moosefs: NMU diff for 64-bit time_t transition

2024-02-28 Thread Benjamin Drung
Source: moosefs
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 moosefs-3.0.117/debian/changelog moosefs-3.0.117/debian/changelog
--- moosefs-3.0.117/debian/changelog2023-02-06 07:07:34.0 +
+++ moosefs-3.0.117/debian/changelog2024-02-28 20:22:52.0 +
@@ -1,3 +1,10 @@
+moosefs (3.0.117-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062950
+
+ -- Benjamin Drung   Wed, 28 Feb 2024 20:22:52 +
+
 moosefs (3.0.117-1) unstable; urgency=medium
 
   [ Dmitry Smirnov ]
diff -Nru moosefs-3.0.117/debian/control moosefs-3.0.117/debian/control
--- moosefs-3.0.117/debian/control  2023-02-06 07:03:28.0 +
+++ moosefs-3.0.117/debian/control  2024-02-28 20:22:51.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Standards-Version: 4.6.2
 Maintainer: Dmitry Smirnov 
-Build-Depends: debhelper-compat (= 13) ,dh-python ,python3
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13) ,dh-python 
,python3
 #, bash-completion
 ,libfuse3-dev
 ,libpcap0.8-dev
@@ -281,7 +281,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libmfsio1 (= ${binary:Version})
+Depends: libmfsio1t64 (= ${binary:Version})
 ,${misc:Depends}
 Description: MooseFS IO library - development files
  This package contains the development files used for building applications
@@ -308,7 +308,10 @@
 (a file system level "trash bin").
   * Coherent snapshots of files, even during I/O.
 
-Package: libmfsio1
+Package: libmfsio1t64
+Provides: ${t64:Provides}
+Replaces: libmfsio1
+Breaks: libmfsio1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru moosefs-3.0.117/debian/libmfsio1.install 
moosefs-3.0.117/debian/libmfsio1.install
--- moosefs-3.0.117/debian/libmfsio1.install2019-02-06 06:59:15.0 
+
+++ moosefs-3.0.117/debian/libmfsio1.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru moosefs-3.0.117/debian/libmfsio1.symbols 
moosefs-3.0.117/debian/libmfsio1.symbols
--- moosefs-3.0.117/debian/libmfsio1.symbols2021-08-26 06:56:02.0 
+
+++ moosefs-3.0.117/debian/libmfsio1.symbols1970-01-01 00:00:00.0 
+
@@ -1,306 +0,0 @@
-libmfsio.so.1 libmfsio1 #MINVER#
-* Build-Depends-Package: libmfsio-dev
- chunkrwlock_init@Base 3.0.103
- chunkrwlock_rlock@Base 3.0.103
- chunkrwlock_runlock@Base 3.0.103
- chunkrwlock_term@Base 3.0.103
- chunkrwlock_wlock@Base 3.0.103
- chunkrwlock_wunlock@Base 3.0.103
- chunksdatacache_change@Base 3.0.103
- chunksdatacache_check@Base 3.0.103
- chunksdatacache_cleanup@Base 3.0.103
- chunksdatacache_clear_inode@Base 3.0.103
- chunksdatacache_find@Base 3.0.103
- chunksdatacache_init@Base 3.0.103
- chunksdatacache_insert@Base 3.0.103
- chunksdatacache_invalidate@Base 3.0.103
- chunksdatacache_term@Base 3.0.103
- conncache_get@Base 3.0.103
- conncache_init@Base 3.0.103
- conncache_insert@Base 3.0.103
- conncache_keepalive_thread@Base 3.0.103
- conncache_term@Base 3.0.103
- crc_generate_main_tables@Base 3.0.103
- csdb_getopcnt@Base 3.0.103
- csdb_getreadcnt@Base 3.0.103
- csdb_getwritecnt@Base 3.0.103
- csdb_init@Base 3.0.103
- csdb_readdec@Base 3.0.103
- csdb_readinc@Base 3.0.103
- csdb_term@Base 3.0.103
- csdb_writedec@Base 3.0.103
- csdb_writeinc@Base 3.0.103
- csorder_calc@Base 3.0.103
- csorder_cmp@Base 3.0.103
- csorder_init@Base 3.0.103
- csorder_sort@Base 3.0.103
- delay_heap_sort_down@Base 3.0.103
- delay_heap_sort_up@Base 3.0.103
- delay_init@Base 3.0.103
- delay_run@Base 3.0.103
- delay_scheduler@Base 3.0.103
- delay_term@Base 3.0.103
- do_truncate@Base 3.0.113
- ep_chunk_has_changed@Base 3.0.103
- ep_fleng_has_changed@Base 3.0.103
- ep_init@Base 3.0.103
- ep_term@Base 3.0.103
- ep_thread@Base 3.0.103
- errtab@Base 3.0.103
- fs_access@Base 3.0.103
- fs_add_entry@Base 3.0.103
- fs_amtime_reference_clock@Base 3.0.103
- fs_atime@Base 3.0.103
- fs_close_session@Base 3.0.103
- fs_connect@Base 3.0.103
- fs_create@Base 3.0.103
- fs_createpacket@Base 3.0.103
- fs_custom@Base 3.0.103
- fs_dec_acnt@Base 3.0.103
- fs_fix_amtime@Base 3.0.103
- fs_flock@Base 3.0.103
- fs_forget_entry@Base 3.0.103
- fs_free_threc@Base 3.0.103
- fs_get_cfg@Base 3.0.103
- fs_get_my_threc@Base 3.0.103
- 

Bug#1062950: moosefs: NMU diff for 64-bit time_t transition

2024-02-03 Thread Graham Inggs
Source: moosefs
Version: 3.0.117-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
moosefs 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 moosefs
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'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-15-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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: unable to detect
diff -Nru moosefs-3.0.117/debian/changelog moosefs-3.0.117/debian/changelog
--- moosefs-3.0.117/debian/changelog2023-02-06 07:07:34.0 +
+++ moosefs-3.0.117/debian/changelog2024-02-04 06:13:36.0 +
@@ -1,3 +1,10 @@
+moosefs (3.0.117-1.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs   Sun, 04 Feb 2024 06:13:36 +
+
 moosefs (3.0.117-1) unstable; urgency=medium
 
   [ Dmitry Smirnov ]
diff -Nru moosefs-3.0.117/debian/control moosefs-3.0.117/debian/control
--- moosefs-3.0.117/debian/control  2023-02-06 07:03:28.0 +
+++ moosefs-3.0.117/debian/control  2024-02-04 06:13:36.0 +
@@ -281,7 +281,7 @@
 Architecture: any
 Multi-Arch: same
 Pre-Depends: ${misc:Pre-Depends}
-Depends: libmfsio1 (= ${binary:Version})
+Depends: libmfsio1t64 (= ${binary:Version})
 ,${misc:Depends}
 Description: MooseFS IO library - development files
  This package contains the development files used for building applications
@@ -308,7 +308,10 @@
 (a file system level "trash bin").
   * Coherent snapshots of files, even during I/O.
 
-Package: libmfsio1
+Package: libmfsio1t64
+Provides: ${t64:Provides}
+Replaces: libmfsio1
+Breaks: libmfsio1 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru moosefs-3.0.117/debian/libmfsio1.install 
moosefs-3.0.117/debian/libmfsio1.install
--- moosefs-3.0.117/debian/libmfsio1.install2019-02-06 06:59:15.0 
+
+++ moosefs-3.0.117/debian/libmfsio1.install1970-01-01 00:00:00.0 
+
@@ -1 +0,0 @@
-usr/lib/*/*.so.*
diff -Nru moosefs-3.0.117/debian/libmfsio1.symbols 
moosefs-3.0.117/debian/libmfsio1.symbols
--- moosefs-3.0.117/debian/libmfsio1.symbols2021-08-26 06:56:02.0 
+
+++ moosefs-3.0.117/debian/libmfsio1.symbols1970-01-01 00:00:00.0 
+
@@ -1,306 +0,0 @@
-libmfsio.so.1 libmfsio1 #MINVER#
-* Build-Depends-Package: libmfsio-dev
- chunkrwlock_init@Base 3.0.103
- chunkrwlock_rlock@Base 3.0.103
- chunkrwlock_runlock@Base 3.0.103
- chunkrwlock_term@Base 3.0.103
- chunkrwlock_wlock@Base 3.0.103
- chunkrwlock_wunlock@Base 3.0.103
- chunksdatacache_change@Base 3.0.103
- chunksdatacache_check@Base 3.0.103
- chunksdatacache_cleanup@Base 3.0.103
- chunksdatacache_clear_inode@Base 3.0.103
- chunksdatacache_find@Base 3.0.103
- chunksdatacache_init@Base 3.0.103
- chunksdatacache_insert@Base 3.0.103
- chunksdatacache_invalidate@Base 3.0.103
- chunksdatacache_term@Base 3.0.103
- conncache_get@Base 3.0.103
- conncache_init@Base 3.0.103
- conncache_insert@Base 3.0.103
- conncache_keepalive_thread@Base 3.0.103
- conncache_term@Base 3.0.103
- crc_generate_main_tables@Base 3.0.103
- csdb_getopcnt@Base 3.0.103
- csdb_getreadcnt@Base 3.0.103
- csdb_getwritecnt@Base 3.0.103
- csdb_init@Base 3.0.103
- csdb_readdec@Base 3.0.103
-