[Debian-med-packaging] Bug#1062942: mmlib: NMU diff for 64-bit time_t transition

Benjamin Drung bdrung at debian.org
Wed Feb 28 20:11:57 GMT 2024


Source: mmlib
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
-------------- next part --------------
diff -Nru mmlib-1.4.2/debian/changelog mmlib-1.4.2/debian/changelog
--- mmlib-1.4.2/debian/changelog	2023-10-24 07:31:18.000000000 +0000
+++ mmlib-1.4.2/debian/changelog	2024-02-28 20:11:50.000000000 +0000
@@ -1,3 +1,10 @@
+mmlib (1.4.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.  Closes: #1062942
+
+ -- Benjamin Drung <bdrung at debian.org>  Wed, 28 Feb 2024 20:11:50 +0000
+
 mmlib (1.4.2-2) unstable; urgency=medium
 
   * Source-only upload
diff -Nru mmlib-1.4.2/debian/control mmlib-1.4.2/debian/control
--- mmlib-1.4.2/debian/control	2023-10-24 07:31:18.000000000 +0000
+++ mmlib-1.4.2/debian/control	2024-02-28 20:11:50.000000000 +0000
@@ -4,7 +4,7 @@
            Andreas Tille <tille at debian.org>
 Section: libs
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: dpkg-dev (>= 1.22.5), debhelper-compat (= 13),
                meson,
                gettext,
                check,
@@ -16,7 +16,10 @@
 Homepage: https://github.com/mmlabs-mindmaze/mmlib
 Rules-Requires-Root: no
 
-Package: libmmlib1
+Package: libmmlib1t64
+Provides: ${t64:Provides}
+Replaces: libmmlib1
+Breaks: libmmlib1 (<< ${source:Version})
 Architecture: any
 Multi-Arch: same
 Depends: ${shlibs:Depends},
@@ -34,7 +37,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libmmlib1 (= ${binary:Version}),
+Depends: libmmlib1t64 (= ${binary:Version}),
          ${misc:Depends}
 Recommends: mmlib-doc
 Breaks: libmmlib0 (<< 0.0.1)
diff -Nru mmlib-1.4.2/debian/libmmlib1.install mmlib-1.4.2/debian/libmmlib1.install
--- mmlib-1.4.2/debian/libmmlib1.install	2023-10-24 07:31:18.000000000 +0000
+++ mmlib-1.4.2/debian/libmmlib1.install	1970-01-01 00:00:00.000000000 +0000
@@ -1 +0,0 @@
-/usr/lib/*/libmmlib.so.*
diff -Nru mmlib-1.4.2/debian/libmmlib1.symbols mmlib-1.4.2/debian/libmmlib1.symbols
--- mmlib-1.4.2/debian/libmmlib1.symbols	2023-10-24 07:31:18.000000000 +0000
+++ mmlib-1.4.2/debian/libmmlib1.symbols	1970-01-01 00:00:00.000000000 +0000
@@ -1,136 +0,0 @@
-libmmlib.so.1 libmmlib1 #MINVER#
-* Build-Depends-Package: libmmlib-dev
- MMLIB_1.0 at MMLIB_1.0 1.2.0
- _mm_freea_on_heap at MMLIB_1.0 1.2.0
- _mm_malloca_on_heap at MMLIB_1.0 1.2.0
- mm_accept at MMLIB_1.0 1.2.0
- mm_aligned_alloc at MMLIB_1.0 1.2.0
- mm_aligned_free at MMLIB_1.0 1.2.0
- mm_anon_shm at MMLIB_1.0 1.2.0
- mm_arg_complete_path at MMLIB_1.0 1.2.0
- mm_arg_is_completing at MMLIB_1.0 1.2.0
- mm_arg_optv_parse at MMLIB_1.0 1.2.0
- mm_arg_parse at MMLIB_1.0 1.2.0
- mm_arg_parse_complete at MMLIB_1.0 1.2.0
- mm_basename at MMLIB_1.0 1.2.0
- mm_bind at MMLIB_1.0 1.2.0
- mm_chdir at MMLIB_1.0 1.2.0
- mm_check_access at MMLIB_1.0 1.2.0
- mm_close at MMLIB_1.0 1.2.0
- mm_closedir at MMLIB_1.0 1.2.0
- mm_connect at MMLIB_1.0 1.2.0
- mm_copy at MMLIB_1.0 1.3.0
- mm_create_sockclient at MMLIB_1.0 1.2.0
- mm_dirname at MMLIB_1.0 1.2.0
- mm_dl_fileext at MMLIB_1.0 1.2.0
- mm_dlclose at MMLIB_1.0 1.2.0
- mm_dlopen at MMLIB_1.0 1.2.0
- mm_dlsym at MMLIB_1.0 1.2.0
- mm_dup2 at MMLIB_1.0 1.2.0
- mm_dup at MMLIB_1.0 1.2.0
- mm_error_set_flags at MMLIB_1.0 1.2.0
- mm_execv at MMLIB_1.0 1.2.0
- mm_freeaddrinfo at MMLIB_1.0 1.2.0
- mm_fstat at MMLIB_1.0 1.2.0
- mm_fsync at MMLIB_1.0 1.2.0
- mm_ftruncate at MMLIB_1.0 1.2.0
- mm_futimens at MMLIB_1.0 1.4.2
- mm_get_basedir at MMLIB_1.0 1.2.0
- mm_get_environ at MMLIB_1.0 1.2.0
- mm_get_lasterror_desc at MMLIB_1.0 1.2.0
- mm_get_lasterror_extid at MMLIB_1.0 1.2.0
- mm_get_lasterror_location at MMLIB_1.0 1.2.0
- mm_get_lasterror_module at MMLIB_1.0 1.2.0
- mm_get_lasterror_number at MMLIB_1.0 1.2.0
- mm_getaddrinfo at MMLIB_1.0 1.2.0
- mm_getcwd at MMLIB_1.0 1.2.0
- mm_getenv at MMLIB_1.0 1.2.0
- mm_getnameinfo at MMLIB_1.0 1.2.0
- mm_getpeername at MMLIB_1.0 1.2.0
- mm_getres at MMLIB_1.0 1.2.0
- mm_getsockname at MMLIB_1.0 1.2.0
- mm_getsockopt at MMLIB_1.0 1.2.0
- mm_gettime at MMLIB_1.0 1.2.0
- mm_ipc_connect at MMLIB_1.0 1.2.0
- mm_ipc_connected_pair at MMLIB_1.0 1.2.0
- mm_ipc_recvmsg at MMLIB_1.0 1.2.0
- mm_ipc_sendmsg at MMLIB_1.0 1.2.0
- mm_ipc_srv_accept at MMLIB_1.0 1.2.0
- mm_ipc_srv_create at MMLIB_1.0 1.2.0
- mm_ipc_srv_destroy at MMLIB_1.0 1.2.0
- mm_isatty at MMLIB_1.0 1.2.0
- mm_link at MMLIB_1.0 1.2.0
- mm_listen at MMLIB_1.0 1.2.0
- mm_log at MMLIB_1.0 1.2.0
- mm_log_set_maxlvl at MMLIB_1.0 1.2.0
- mm_mapfile at MMLIB_1.0 1.2.0
- mm_mkdir at MMLIB_1.0 1.2.0
- mm_nanosleep at MMLIB_1.0 1.2.0
- mm_open at MMLIB_1.0 1.2.0
- mm_opendir at MMLIB_1.0 1.2.0
- mm_path_from_basedir at MMLIB_1.0 1.2.0
- mm_pipe at MMLIB_1.0 1.2.0
- mm_poll at MMLIB_1.0 1.2.0
- mm_print_lasterror at MMLIB_1.0 1.2.0
- mm_profile_get_data at MMLIB_1.0 1.2.0
- mm_profile_print at MMLIB_1.0 1.2.0
- mm_profile_reset at MMLIB_1.0 1.2.0
- mm_raise_error_full at MMLIB_1.0 1.2.0
- mm_raise_error_vfull at MMLIB_1.0 1.2.0
- mm_raise_from_errno_full at MMLIB_1.0 1.2.0
- mm_read at MMLIB_1.0 1.2.0
- mm_readdir at MMLIB_1.0 1.2.0
- mm_readlink at MMLIB_1.0 1.2.0
- mm_recv at MMLIB_1.0 1.2.0
- mm_recv_multimsg at MMLIB_1.0 1.2.0
- mm_recvmsg at MMLIB_1.0 1.2.0
- mm_relative_sleep_ms at MMLIB_1.0 1.2.0
- mm_relative_sleep_ns at MMLIB_1.0 1.2.0
- mm_relative_sleep_us at MMLIB_1.0 1.2.0
- mm_remove at MMLIB_1.0 1.2.0
- mm_rename at MMLIB_1.0 1.2.0
- mm_rewinddir at MMLIB_1.0 1.2.0
- mm_rmdir at MMLIB_1.0 1.2.0
- mm_save_errorstate at MMLIB_1.0 1.2.0
- mm_seek at MMLIB_1.0 1.2.0
- mm_send at MMLIB_1.0 1.2.0
- mm_send_multimsg at MMLIB_1.0 1.2.0
- mm_sendmsg at MMLIB_1.0 1.2.0
- mm_set_errorstate at MMLIB_1.0 1.2.0
- mm_setenv at MMLIB_1.0 1.2.0
- mm_setsockopt at MMLIB_1.0 1.2.0
- mm_shm_open at MMLIB_1.0 1.2.0
- mm_shm_unlink at MMLIB_1.0 1.2.0
- mm_shutdown at MMLIB_1.0 1.2.0
- mm_socket at MMLIB_1.0 1.2.0
- mm_spawn at MMLIB_1.0 1.2.0
- mm_stat at MMLIB_1.0 1.2.0
- mm_strerror at MMLIB_1.0 1.2.0
- mm_strerror_r at MMLIB_1.0 1.2.0
- mm_symlink at MMLIB_1.0 1.2.0
- mm_thr_cond_broadcast at MMLIB_1.0 1.2.0
- mm_thr_cond_deinit at MMLIB_1.0 1.2.0
- mm_thr_cond_init at MMLIB_1.0 1.2.0
- mm_thr_cond_signal at MMLIB_1.0 1.2.0
- mm_thr_cond_timedwait at MMLIB_1.0 1.2.0
- mm_thr_cond_wait at MMLIB_1.0 1.2.0
- mm_thr_create at MMLIB_1.0 1.2.0
- mm_thr_detach at MMLIB_1.0 1.2.0
- mm_thr_join at MMLIB_1.0 1.2.0
- mm_thr_mutex_consistent at MMLIB_1.0 1.2.0
- mm_thr_mutex_deinit at MMLIB_1.0 1.2.0
- mm_thr_mutex_init at MMLIB_1.0 1.2.0
- mm_thr_mutex_lock at MMLIB_1.0 1.2.0
- mm_thr_mutex_trylock at MMLIB_1.0 1.2.0
- mm_thr_mutex_unlock at MMLIB_1.0 1.2.0
- mm_thr_once at MMLIB_1.0 1.2.0
- mm_thr_self at MMLIB_1.0 1.2.0
- mm_tic at MMLIB_1.0 1.2.0
- mm_toc at MMLIB_1.0 1.2.0
- mm_toc_label at MMLIB_1.0 1.2.0
- mm_unlink at MMLIB_1.0 1.2.0
- mm_unmap at MMLIB_1.0 1.2.0
- mm_unsetenv at MMLIB_1.0 1.2.0
- mm_utimens at MMLIB_1.0 1.4.2
- mm_wait_process at MMLIB_1.0 1.2.0
- mm_write at MMLIB_1.0 1.2.0
diff -Nru mmlib-1.4.2/debian/libmmlib1t64.install mmlib-1.4.2/debian/libmmlib1t64.install
--- mmlib-1.4.2/debian/libmmlib1t64.install	1970-01-01 00:00:00.000000000 +0000
+++ mmlib-1.4.2/debian/libmmlib1t64.install	2023-10-24 07:31:18.000000000 +0000
@@ -0,0 +1 @@
+/usr/lib/*/libmmlib.so.*
diff -Nru mmlib-1.4.2/debian/libmmlib1t64.lintian-overrides mmlib-1.4.2/debian/libmmlib1t64.lintian-overrides
--- mmlib-1.4.2/debian/libmmlib1t64.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
+++ mmlib-1.4.2/debian/libmmlib1t64.lintian-overrides	2024-02-28 20:11:43.000000000 +0000
@@ -0,0 +1 @@
+libmmlib1t64: package-name-doesnt-match-sonames libmmlib1
diff -Nru mmlib-1.4.2/debian/libmmlib1t64.symbols mmlib-1.4.2/debian/libmmlib1t64.symbols
--- mmlib-1.4.2/debian/libmmlib1t64.symbols	1970-01-01 00:00:00.000000000 +0000
+++ mmlib-1.4.2/debian/libmmlib1t64.symbols	2024-02-28 20:11:43.000000000 +0000
@@ -0,0 +1,136 @@
+libmmlib.so.1 libmmlib1t64 #MINVER#
+* Build-Depends-Package: libmmlib-dev
+ MMLIB_1.0 at MMLIB_1.0 1.2.0
+ _mm_freea_on_heap at MMLIB_1.0 1.2.0
+ _mm_malloca_on_heap at MMLIB_1.0 1.2.0
+ mm_accept at MMLIB_1.0 1.2.0
+ mm_aligned_alloc at MMLIB_1.0 1.2.0
+ mm_aligned_free at MMLIB_1.0 1.2.0
+ mm_anon_shm at MMLIB_1.0 1.2.0
+ mm_arg_complete_path at MMLIB_1.0 1.2.0
+ mm_arg_is_completing at MMLIB_1.0 1.2.0
+ mm_arg_optv_parse at MMLIB_1.0 1.2.0
+ mm_arg_parse at MMLIB_1.0 1.2.0
+ mm_arg_parse_complete at MMLIB_1.0 1.2.0
+ mm_basename at MMLIB_1.0 1.2.0
+ mm_bind at MMLIB_1.0 1.2.0
+ mm_chdir at MMLIB_1.0 1.2.0
+ mm_check_access at MMLIB_1.0 1.2.0
+ mm_close at MMLIB_1.0 1.2.0
+ mm_closedir at MMLIB_1.0 1.2.0
+ mm_connect at MMLIB_1.0 1.2.0
+ mm_copy at MMLIB_1.0 1.3.0
+ mm_create_sockclient at MMLIB_1.0 1.2.0
+ mm_dirname at MMLIB_1.0 1.2.0
+ mm_dl_fileext at MMLIB_1.0 1.2.0
+ mm_dlclose at MMLIB_1.0 1.2.0
+ mm_dlopen at MMLIB_1.0 1.2.0
+ mm_dlsym at MMLIB_1.0 1.2.0
+ mm_dup2 at MMLIB_1.0 1.2.0
+ mm_dup at MMLIB_1.0 1.2.0
+ mm_error_set_flags at MMLIB_1.0 1.2.0
+ mm_execv at MMLIB_1.0 1.2.0
+ mm_freeaddrinfo at MMLIB_1.0 1.2.0
+ mm_fstat at MMLIB_1.0 1.2.0
+ mm_fsync at MMLIB_1.0 1.2.0
+ mm_ftruncate at MMLIB_1.0 1.2.0
+ mm_futimens at MMLIB_1.0 1.4.2
+ mm_get_basedir at MMLIB_1.0 1.2.0
+ mm_get_environ at MMLIB_1.0 1.2.0
+ mm_get_lasterror_desc at MMLIB_1.0 1.2.0
+ mm_get_lasterror_extid at MMLIB_1.0 1.2.0
+ mm_get_lasterror_location at MMLIB_1.0 1.2.0
+ mm_get_lasterror_module at MMLIB_1.0 1.2.0
+ mm_get_lasterror_number at MMLIB_1.0 1.2.0
+ mm_getaddrinfo at MMLIB_1.0 1.2.0
+ mm_getcwd at MMLIB_1.0 1.2.0
+ mm_getenv at MMLIB_1.0 1.2.0
+ mm_getnameinfo at MMLIB_1.0 1.2.0
+ mm_getpeername at MMLIB_1.0 1.2.0
+ mm_getres at MMLIB_1.0 1.2.0
+ mm_getsockname at MMLIB_1.0 1.2.0
+ mm_getsockopt at MMLIB_1.0 1.2.0
+ mm_gettime at MMLIB_1.0 1.2.0
+ mm_ipc_connect at MMLIB_1.0 1.2.0
+ mm_ipc_connected_pair at MMLIB_1.0 1.2.0
+ mm_ipc_recvmsg at MMLIB_1.0 1.2.0
+ mm_ipc_sendmsg at MMLIB_1.0 1.2.0
+ mm_ipc_srv_accept at MMLIB_1.0 1.2.0
+ mm_ipc_srv_create at MMLIB_1.0 1.2.0
+ mm_ipc_srv_destroy at MMLIB_1.0 1.2.0
+ mm_isatty at MMLIB_1.0 1.2.0
+ mm_link at MMLIB_1.0 1.2.0
+ mm_listen at MMLIB_1.0 1.2.0
+ mm_log at MMLIB_1.0 1.2.0
+ mm_log_set_maxlvl at MMLIB_1.0 1.2.0
+ mm_mapfile at MMLIB_1.0 1.2.0
+ mm_mkdir at MMLIB_1.0 1.2.0
+ mm_nanosleep at MMLIB_1.0 1.2.0
+ mm_open at MMLIB_1.0 1.2.0
+ mm_opendir at MMLIB_1.0 1.2.0
+ mm_path_from_basedir at MMLIB_1.0 1.2.0
+ mm_pipe at MMLIB_1.0 1.2.0
+ mm_poll at MMLIB_1.0 1.2.0
+ mm_print_lasterror at MMLIB_1.0 1.2.0
+ mm_profile_get_data at MMLIB_1.0 1.2.0
+ mm_profile_print at MMLIB_1.0 1.2.0
+ mm_profile_reset at MMLIB_1.0 1.2.0
+ mm_raise_error_full at MMLIB_1.0 1.2.0
+ mm_raise_error_vfull at MMLIB_1.0 1.2.0
+ mm_raise_from_errno_full at MMLIB_1.0 1.2.0
+ mm_read at MMLIB_1.0 1.2.0
+ mm_readdir at MMLIB_1.0 1.2.0
+ mm_readlink at MMLIB_1.0 1.2.0
+ mm_recv at MMLIB_1.0 1.2.0
+ mm_recv_multimsg at MMLIB_1.0 1.2.0
+ mm_recvmsg at MMLIB_1.0 1.2.0
+ mm_relative_sleep_ms at MMLIB_1.0 1.2.0
+ mm_relative_sleep_ns at MMLIB_1.0 1.2.0
+ mm_relative_sleep_us at MMLIB_1.0 1.2.0
+ mm_remove at MMLIB_1.0 1.2.0
+ mm_rename at MMLIB_1.0 1.2.0
+ mm_rewinddir at MMLIB_1.0 1.2.0
+ mm_rmdir at MMLIB_1.0 1.2.0
+ mm_save_errorstate at MMLIB_1.0 1.2.0
+ mm_seek at MMLIB_1.0 1.2.0
+ mm_send at MMLIB_1.0 1.2.0
+ mm_send_multimsg at MMLIB_1.0 1.2.0
+ mm_sendmsg at MMLIB_1.0 1.2.0
+ mm_set_errorstate at MMLIB_1.0 1.2.0
+ mm_setenv at MMLIB_1.0 1.2.0
+ mm_setsockopt at MMLIB_1.0 1.2.0
+ mm_shm_open at MMLIB_1.0 1.2.0
+ mm_shm_unlink at MMLIB_1.0 1.2.0
+ mm_shutdown at MMLIB_1.0 1.2.0
+ mm_socket at MMLIB_1.0 1.2.0
+ mm_spawn at MMLIB_1.0 1.2.0
+ mm_stat at MMLIB_1.0 1.2.0
+ mm_strerror at MMLIB_1.0 1.2.0
+ mm_strerror_r at MMLIB_1.0 1.2.0
+ mm_symlink at MMLIB_1.0 1.2.0
+ mm_thr_cond_broadcast at MMLIB_1.0 1.2.0
+ mm_thr_cond_deinit at MMLIB_1.0 1.2.0
+ mm_thr_cond_init at MMLIB_1.0 1.2.0
+ mm_thr_cond_signal at MMLIB_1.0 1.2.0
+ mm_thr_cond_timedwait at MMLIB_1.0 1.2.0
+ mm_thr_cond_wait at MMLIB_1.0 1.2.0
+ mm_thr_create at MMLIB_1.0 1.2.0
+ mm_thr_detach at MMLIB_1.0 1.2.0
+ mm_thr_join at MMLIB_1.0 1.2.0
+ mm_thr_mutex_consistent at MMLIB_1.0 1.2.0
+ mm_thr_mutex_deinit at MMLIB_1.0 1.2.0
+ mm_thr_mutex_init at MMLIB_1.0 1.2.0
+ mm_thr_mutex_lock at MMLIB_1.0 1.2.0
+ mm_thr_mutex_trylock at MMLIB_1.0 1.2.0
+ mm_thr_mutex_unlock at MMLIB_1.0 1.2.0
+ mm_thr_once at MMLIB_1.0 1.2.0
+ mm_thr_self at MMLIB_1.0 1.2.0
+ mm_tic at MMLIB_1.0 1.2.0
+ mm_toc at MMLIB_1.0 1.2.0
+ mm_toc_label at MMLIB_1.0 1.2.0
+ mm_unlink at MMLIB_1.0 1.2.0
+ mm_unmap at MMLIB_1.0 1.2.0
+ mm_unsetenv at MMLIB_1.0 1.2.0
+ mm_utimens at MMLIB_1.0 1.4.2
+ mm_wait_process at MMLIB_1.0 1.2.0
+ mm_write at MMLIB_1.0 1.2.0


More information about the Debian-med-packaging mailing list