Source: mrtdreader
Version: 0.1.6-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: [email protected]
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
mrtdreader 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 mrtdreader
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 mrtdreader-0.1.6/debian/changelog mrtdreader-0.1.6/debian/changelog
--- mrtdreader-0.1.6/debian/changelog   2018-11-03 12:54:55.000000000 +0000
+++ mrtdreader-0.1.6/debian/changelog   2024-02-04 07:45:32.000000000 +0000
@@ -1,3 +1,10 @@
+mrtdreader (0.1.6-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Graham Inggs <[email protected]>  Sun, 04 Feb 2024 07:45:32 +0000
+
 mrtdreader (0.1.6-3) unstable; urgency=medium
 
   * debian/control:
diff -Nru mrtdreader-0.1.6/debian/control mrtdreader-0.1.6/debian/control
--- mrtdreader-0.1.6/debian/control     2018-11-03 12:54:55.000000000 +0000
+++ mrtdreader-0.1.6/debian/control     2024-02-04 07:45:32.000000000 +0000
@@ -12,7 +12,10 @@
 Vcs-Git: https://salsa.debian.org/rubund/mrtdreader.git
 Homepage: https://github.com/rubund/mrtdreader
 
-Package: libmrtd0
+Package: libmrtd0t64
+Provides: ${t64:Provides}
+Replaces: libmrtd0
+Breaks: libmrtd0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends},
@@ -35,12 +38,12 @@
 Package: libmrtd-dev
 Architecture: any
 Section: libdevel
-Depends: libmrtd0 (= ${binary:Version}),
+Depends: libmrtd0t64 (= ${binary:Version}),
          libgcrypt20-dev,
          libnfc-dev,
          ${misc:Depends}
 Multi-Arch: same
-Description: Development files for libmrtd0
+Description: Development files for libmrtd0t64
  Machine-readable travel documents such as passports nowadays usually contain
  an RFID chip for storing various data. This library provides useful functions
  for reading out the data from these documents. This version of the library
@@ -58,7 +61,7 @@
 
 Package: mrtdreader
 Architecture: any
-Depends: libmrtd0 (= ${binary:Version}),
+Depends: libmrtd0t64 (= ${binary:Version}),
          ${shlibs:Depends},
          ${misc:Depends}
 Suggests: graphicsmagick
diff -Nru mrtdreader-0.1.6/debian/libmrtd0.docs 
mrtdreader-0.1.6/debian/libmrtd0.docs
--- mrtdreader-0.1.6/debian/libmrtd0.docs       2018-11-03 12:54:55.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0.docs       1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-README.md
diff -Nru mrtdreader-0.1.6/debian/libmrtd0.install 
mrtdreader-0.1.6/debian/libmrtd0.install
--- mrtdreader-0.1.6/debian/libmrtd0.install    2018-11-03 12:54:55.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0.install    1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/lib*.so.*
diff -Nru mrtdreader-0.1.6/debian/libmrtd0.symbols 
mrtdreader-0.1.6/debian/libmrtd0.symbols
--- mrtdreader-0.1.6/debian/libmrtd0.symbols    2018-11-03 12:54:55.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0.symbols    1970-01-01 00:00:00.000000000 
+0000
@@ -1,31 +0,0 @@
-libmrtd.so.0 libmrtd0 #MINVER#
- mrtd_bac_challenge_ok@Base 0.1.0
- mrtd_bac_check_digit@Base 0.1.0
- mrtd_bac_cmd_data@Base 0.1.0
- mrtd_bac_decrypt_response@Base 0.1.0
- mrtd_bac_eifd_mifd@Base 0.1.0
- mrtd_bac_get_kmrz@Base 0.1.0
- mrtd_bac_get_kmrz_from_mrz@Base 0.1.0
- mrtd_bac_get_ssc@Base 0.1.0
- mrtd_bac_kenc_kmac@Base 0.1.0
- mrtd_bac_keyhandshake@Base 0.1.0
- mrtd_bac_kmrz_to_kenc_kmac@Base 0.1.0
- mrtd_bac_protected_apdu@Base 0.1.0
- mrtd_bac_randomize_rndifd_kifd@Base 0.1.1
- mrtd_bac_set_rndifd_kifd@Base 0.1.1
- mrtd_crypto_crypt_3des@Base 0.1.0
- mrtd_crypto_crypt_des@Base 0.1.0
- mrtd_crypto_decrypt_3des@Base 0.1.0
- mrtd_crypto_decrypt_des@Base 0.1.0
- mrtd_crypto_encrypt_3des@Base 0.1.0
- mrtd_crypto_encrypt_des@Base 0.1.0
- mrtd_crypto_fix_parity@Base 0.1.0
- mrtd_crypto_mac@Base 0.1.0
- mrtd_crypto_mac_padding@Base 0.1.0
- mrtd_crypto_padding@Base 0.1.0
- mrtd_crypto_padding_remove@Base 0.1.0
- mrtd_crypto_sha1@Base 0.1.0
- mrtd_fileread_decode_ef_com@Base 0.1.1
- mrtd_fileread_get_datagroup_name@Base 0.1.1
- mrtd_fileread_read@Base 0.1.0
- mrtd_fileread_write_image_to_file@Base 0.1.0
diff -Nru mrtdreader-0.1.6/debian/libmrtd0t64.docs 
mrtdreader-0.1.6/debian/libmrtd0t64.docs
--- mrtdreader-0.1.6/debian/libmrtd0t64.docs    1970-01-01 00:00:00.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0t64.docs    2018-11-03 12:54:55.000000000 
+0000
@@ -0,0 +1 @@
+README.md
diff -Nru mrtdreader-0.1.6/debian/libmrtd0t64.install 
mrtdreader-0.1.6/debian/libmrtd0t64.install
--- mrtdreader-0.1.6/debian/libmrtd0t64.install 1970-01-01 00:00:00.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0t64.install 2018-11-03 12:54:55.000000000 
+0000
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff -Nru mrtdreader-0.1.6/debian/libmrtd0t64.lintian-overrides 
mrtdreader-0.1.6/debian/libmrtd0t64.lintian-overrides
--- mrtdreader-0.1.6/debian/libmrtd0t64.lintian-overrides       1970-01-01 
00:00:00.000000000 +0000
+++ mrtdreader-0.1.6/debian/libmrtd0t64.lintian-overrides       2024-02-04 
07:45:32.000000000 +0000
@@ -0,0 +1 @@
+libmrtd0t64: package-name-doesnt-match-sonames libmrtd0
diff -Nru mrtdreader-0.1.6/debian/libmrtd0t64.symbols 
mrtdreader-0.1.6/debian/libmrtd0t64.symbols
--- mrtdreader-0.1.6/debian/libmrtd0t64.symbols 1970-01-01 00:00:00.000000000 
+0000
+++ mrtdreader-0.1.6/debian/libmrtd0t64.symbols 2024-02-04 07:45:32.000000000 
+0000
@@ -0,0 +1,31 @@
+libmrtd.so.0 libmrtd0t64 #MINVER#
+ mrtd_bac_challenge_ok@Base 0.1.0
+ mrtd_bac_check_digit@Base 0.1.0
+ mrtd_bac_cmd_data@Base 0.1.0
+ mrtd_bac_decrypt_response@Base 0.1.0
+ mrtd_bac_eifd_mifd@Base 0.1.0
+ mrtd_bac_get_kmrz@Base 0.1.0
+ mrtd_bac_get_kmrz_from_mrz@Base 0.1.0
+ mrtd_bac_get_ssc@Base 0.1.0
+ mrtd_bac_kenc_kmac@Base 0.1.0
+ mrtd_bac_keyhandshake@Base 0.1.0
+ mrtd_bac_kmrz_to_kenc_kmac@Base 0.1.0
+ mrtd_bac_protected_apdu@Base 0.1.0
+ mrtd_bac_randomize_rndifd_kifd@Base 0.1.1
+ mrtd_bac_set_rndifd_kifd@Base 0.1.1
+ mrtd_crypto_crypt_3des@Base 0.1.0
+ mrtd_crypto_crypt_des@Base 0.1.0
+ mrtd_crypto_decrypt_3des@Base 0.1.0
+ mrtd_crypto_decrypt_des@Base 0.1.0
+ mrtd_crypto_encrypt_3des@Base 0.1.0
+ mrtd_crypto_encrypt_des@Base 0.1.0
+ mrtd_crypto_fix_parity@Base 0.1.0
+ mrtd_crypto_mac@Base 0.1.0
+ mrtd_crypto_mac_padding@Base 0.1.0
+ mrtd_crypto_padding@Base 0.1.0
+ mrtd_crypto_padding_remove@Base 0.1.0
+ mrtd_crypto_sha1@Base 0.1.0
+ mrtd_fileread_decode_ef_com@Base 0.1.1
+ mrtd_fileread_get_datagroup_name@Base 0.1.1
+ mrtd_fileread_read@Base 0.1.0
+ mrtd_fileread_write_image_to_file@Base 0.1.0

Reply via email to