[Parted-maintainers] Bug#1063216: parted: NMU diff for 64-bit time_t transition

Lucas Kanashiro kanashiro at debian.org
Mon Feb 5 18:08:55 GMT 2024


Source: parted
Version: 3.6-3
Severity: serious
Tags: patch pending sid trixie
Justification: library ABI skew on upgrade
User: debian-arm at 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
parted 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 parted
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.2.0-39-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, 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)
-------------- next part --------------
diff -Nru parted-3.6/debian/.gitignore parted-3.6/debian/.gitignore
--- parted-3.6/debian/.gitignore	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/.gitignore	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-/files
diff -Nru parted-3.6/debian/changelog parted-3.6/debian/changelog
--- parted-3.6/debian/changelog	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/changelog	2024-02-05 14:58:17.000000000 -0300
@@ -1,3 +1,10 @@
+parted (3.6-3.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Lucas Kanashiro <kanashiro at debian.org>  Mon, 05 Feb 2024 14:58:17 -0300
+
 parted (3.6-3) unstable; urgency=medium
 
   * align-new-partitions-on-fresh-disks.patch:
diff -Nru parted-3.6/debian/control parted-3.6/debian/control
--- parted-3.6/debian/control	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/control	2024-02-05 14:58:17.000000000 -0300
@@ -26,7 +26,7 @@
 
 Package: parted
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libparted2 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libparted2t64 (= ${binary:Version})
 Suggests: parted-doc
 Conflicts: parted-doc (<< 3.5-2~)
 Multi-Arch: foreign
@@ -60,13 +60,15 @@
 Depends: ${shlibs:Depends}, libparted2-udeb (= ${binary:Version}), ${misc:Depends}
 Description: Manually partition a hard drive (parted)
 
-Package: libparted2
+Package: libparted2t64
+Replaces: libparted2
+Breaks: libparted2 (<< ${source:Version})
 Architecture: any
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}, dmidecode [amd64 i386]
 Suggests: parted, libparted-dev, libparted-i18n (= ${source:Version})
-Provides: libparted
+Provides: ${t64:Provides}, libparted
 Multi-Arch: same
 Description: disk partition manipulator - shared library
  GNU Parted is a program that allows you to create, destroy, resize,
@@ -76,11 +78,14 @@
  .
  This package contains the shared library.
 
-Package: libparted-fs-resize0
+Package: libparted-fs-resize0t64
+Provides: ${t64:Provides}
+Replaces: libparted-fs-resize0
+Breaks: libparted-fs-resize0 (<< ${source:Version})
 Architecture: any
 Section: libs
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}, libparted2 (= ${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, libparted2t64 (= ${binary:Version})
 Suggests: libparted-dev
 Multi-Arch: same
 Description: disk partition manipulator - shared FS resizing library
@@ -123,7 +128,7 @@
 Package: libparted-i18n
 Architecture: all
 Section: localization
-Depends: libparted2, ${misc:Depends}
+Depends: libparted2t64, ${misc:Depends}
 Description: disk partition manipulator - i18n support
  GNU Parted is a program that allows you to create, destroy, resize,
  move, and copy disk partitions. This is useful for creating space
@@ -135,7 +140,7 @@
 Package: libparted-dev
 Architecture: any
 Section: libdevel
-Depends: libc6-dev, libparted2 (= ${binary:Version}), libparted-fs-resize0 (= ${binary:Version}), libdevmapper-dev [linux-any], uuid-dev, libblkid-dev, ${misc:Depends}
+Depends: libc6-dev, libparted2t64 (= ${binary:Version}), libparted-fs-resize0t64 (= ${binary:Version}), libdevmapper-dev [linux-any], uuid-dev, libblkid-dev, ${misc:Depends}
 Suggests: parted (= ${binary:Version}), parted-doc
 Multi-Arch: same
 Description: disk partition manipulator - development files
diff -Nru parted-3.6/debian/libparted-fs-resize0.install parted-3.6/debian/libparted-fs-resize0.install
--- parted-3.6/debian/libparted-fs-resize0.install	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0.install	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-usr/lib/${DEB_HOST_MULTIARCH}/libparted-fs-resize.so.* lib/${DEB_HOST_MULTIARCH}
diff -Nru parted-3.6/debian/libparted-fs-resize0.maintscript parted-3.6/debian/libparted-fs-resize0.maintscript
--- parted-3.6/debian/libparted-fs-resize0.maintscript	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0.maintscript	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-dir_to_symlink /usr/share/doc/libparted-fs-resize0 libparted2 3.5-2~
diff -Nru parted-3.6/debian/libparted-fs-resize0.symbols parted-3.6/debian/libparted-fs-resize0.symbols
--- parted-3.6/debian/libparted-fs-resize0.symbols	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0.symbols	1969-12-31 21:00:00.000000000 -0300
@@ -1,7 +0,0 @@
-libparted-fs-resize.so.0 libparted-fs-resize0 #MINVER#
-* Build-Depends-Package: libparted-dev
- LIBPARTED_FS_RESIZE_0.0.0 at LIBPARTED_FS_RESIZE_0.0.0 3.1
- ped_file_system_close at LIBPARTED_FS_RESIZE_0.0.0 3.1
- ped_file_system_get_resize_constraint at LIBPARTED_FS_RESIZE_0.0.0 3.1
- ped_file_system_open at LIBPARTED_FS_RESIZE_0.0.0 3.1
- ped_file_system_resize at LIBPARTED_FS_RESIZE_0.0.0 3.1
diff -Nru parted-3.6/debian/libparted-fs-resize0t64.install parted-3.6/debian/libparted-fs-resize0t64.install
--- parted-3.6/debian/libparted-fs-resize0t64.install	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0t64.install	2023-06-26 19:34:57.000000000 -0300
@@ -0,0 +1 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libparted-fs-resize.so.* lib/${DEB_HOST_MULTIARCH}
diff -Nru parted-3.6/debian/libparted-fs-resize0t64.lintian-overrides parted-3.6/debian/libparted-fs-resize0t64.lintian-overrides
--- parted-3.6/debian/libparted-fs-resize0t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0t64.lintian-overrides	2024-02-05 14:58:17.000000000 -0300
@@ -0,0 +1 @@
+libparted-fs-resize0t64: package-name-doesnt-match-sonames libparted-fs-resize0
diff -Nru parted-3.6/debian/libparted-fs-resize0t64.maintscript parted-3.6/debian/libparted-fs-resize0t64.maintscript
--- parted-3.6/debian/libparted-fs-resize0t64.maintscript	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0t64.maintscript	2023-06-26 19:34:57.000000000 -0300
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libparted-fs-resize0 libparted2 3.5-2~
diff -Nru parted-3.6/debian/libparted-fs-resize0t64.symbols parted-3.6/debian/libparted-fs-resize0t64.symbols
--- parted-3.6/debian/libparted-fs-resize0t64.symbols	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted-fs-resize0t64.symbols	2024-02-05 14:58:17.000000000 -0300
@@ -0,0 +1,7 @@
+libparted-fs-resize.so.0 libparted-fs-resize0t64 #MINVER#
+* Build-Depends-Package: libparted-dev
+ LIBPARTED_FS_RESIZE_0.0.0 at LIBPARTED_FS_RESIZE_0.0.0 3.1
+ ped_file_system_close at LIBPARTED_FS_RESIZE_0.0.0 3.1
+ ped_file_system_get_resize_constraint at LIBPARTED_FS_RESIZE_0.0.0 3.1
+ ped_file_system_open at LIBPARTED_FS_RESIZE_0.0.0 3.1
+ ped_file_system_resize at LIBPARTED_FS_RESIZE_0.0.0 3.1
diff -Nru parted-3.6/debian/libparted2.docs parted-3.6/debian/libparted2.docs
--- parted-3.6/debian/libparted2.docs	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted2.docs	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-NEWS
diff -Nru parted-3.6/debian/libparted2.install parted-3.6/debian/libparted2.install
--- parted-3.6/debian/libparted2.install	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted2.install	1969-12-31 21:00:00.000000000 -0300
@@ -1 +0,0 @@
-usr/lib/${DEB_HOST_MULTIARCH}/libparted.so.* lib/${DEB_HOST_MULTIARCH}
diff -Nru parted-3.6/debian/libparted2.symbols parted-3.6/debian/libparted2.symbols
--- parted-3.6/debian/libparted2.symbols	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/libparted2.symbols	1969-12-31 21:00:00.000000000 -0300
@@ -1,244 +0,0 @@
-libparted.so.2 libparted2 #MINVER#
-* Build-Depends-Package: libparted-dev
- ped_alignment_align_down at Base 3.1
- ped_alignment_align_nearest at Base 3.1
- ped_alignment_align_up at Base 3.1
- ped_alignment_any at Base 3.1
- ped_alignment_destroy at Base 3.1
- ped_alignment_duplicate at Base 3.1
- ped_alignment_init at Base 3.1
- ped_alignment_intersect at Base 3.1
- ped_alignment_is_aligned at Base 3.1
- ped_alignment_new at Base 3.1
- ped_alignment_none at Base 3.1
- ped_architecture at Base 3.1
- ped_assert at Base 3.1
- ped_calloc at Base 3.1
- ped_constraint_any at Base 3.1
- ped_constraint_destroy at Base 3.1
- ped_constraint_done at Base 3.1
- ped_constraint_duplicate at Base 3.1
- ped_constraint_exact at Base 3.1
- ped_constraint_init at Base 3.1
- ped_constraint_intersect at Base 3.1
- ped_constraint_is_solution at Base 3.1
- ped_constraint_new at Base 3.1
- ped_constraint_new_from_max at Base 3.1
- ped_constraint_new_from_min at Base 3.1
- ped_constraint_new_from_min_max at Base 3.1
- ped_constraint_solve_max at Base 3.1
- ped_constraint_solve_nearest at Base 3.1
- ped_debug at Base 3.1
- ped_debug_set_handler at Base 3.1
- ped_device_begin_external_access at Base 3.1
- ped_device_cache_remove at Base 3.1
- ped_device_check at Base 3.1
- ped_device_close at Base 3.1
- ped_device_destroy at Base 3.1
- ped_device_end_external_access at Base 3.1
- ped_device_free_all at Base 3.1
- ped_device_get at Base 3.1
- ped_device_get_constraint at Base 3.1
- ped_device_get_minimal_aligned_constraint at Base 3.1
- ped_device_get_minimum_alignment at Base 3.1
- ped_device_get_next at Base 3.1
- ped_device_get_optimal_aligned_constraint at Base 3.1
- ped_device_get_optimum_alignment at Base 3.1
- ped_device_is_busy at Base 3.1
- (arch=hurd-any)ped_device_new_from_store at Base 3.1
- ped_device_open at Base 3.1
- ped_device_probe_all at Base 3.1
- ped_device_read at Base 3.1
- ped_device_sync at Base 3.1
- ped_device_sync_fast at Base 3.1
- ped_device_write at Base 3.1
- ped_disk_add_partition at Base 3.1
- ped_disk_aix_done at Base 3.1
- ped_disk_aix_init at Base 3.1
- ped_disk_amiga_done at Base 3.1
- ped_disk_amiga_init at Base 3.1
- ped_disk_atari_done at Base 3.2-17~
- ped_disk_atari_init at Base 3.2-17~
- ped_disk_bsd_done at Base 3.1
- ped_disk_bsd_init at Base 3.1
- ped_disk_check at Base 3.1
- ped_disk_clobber at Base 3.1
- ped_disk_commit at Base 3.1
- ped_disk_commit_to_dev at Base 3.1
- ped_disk_commit_to_os at Base 3.1
- (arch=s390 s390x)ped_disk_dasd_done at Base 3.1
- (arch=s390 s390x)ped_disk_dasd_init at Base 3.1
- ped_disk_delete_all at Base 3.1
- ped_disk_delete_partition at Base 3.1
- ped_disk_destroy at Base 3.1
- ped_disk_duplicate at Base 3.1
- ped_disk_dvh_done at Base 3.1
- ped_disk_dvh_init at Base 3.1
- ped_disk_extended_partition at Base 3.1
- ped_disk_flag_get_by_name at Base 3.1
- ped_disk_flag_get_name at Base 3.1
- ped_disk_flag_next at Base 3.1
- ped_disk_get_flag at Base 3.1
- ped_disk_get_last_partition_num at Base 3.1
- ped_disk_get_max_partition_geometry at Base 3.1
- ped_disk_get_max_primary_partition_count at Base 3.1
- ped_disk_get_max_supported_partition_count at Base 3.1
- ped_disk_get_partition at Base 3.1
- ped_disk_get_partition_alignment at Base 3.1
- ped_disk_get_partition_by_sector at Base 3.1
- ped_disk_get_primary_partition_count at Base 3.1
- ped_disk_get_uuid at Base 3.6
- ped_disk_gpt_done at Base 3.1
- ped_disk_gpt_init at Base 3.1
- ped_disk_is_flag_available at Base 3.1
- ped_disk_loop_done at Base 3.1
- ped_disk_loop_init at Base 3.1
- ped_disk_mac_done at Base 3.1
- ped_disk_mac_init at Base 3.1
- ped_disk_max_partition_length at Base 3.1
- ped_disk_max_partition_start_sector at Base 3.1
- ped_disk_maximize_partition at Base 3.1
- ped_disk_minimize_extended_partition at Base 3.1
- ped_disk_msdos_done at Base 3.1
- ped_disk_msdos_init at Base 3.1
- ped_disk_new at Base 3.1
- ped_disk_new_fresh at Base 3.1
- ped_disk_next_partition at Base 3.1
- ped_disk_pc98_done at Base 3.1
- ped_disk_pc98_init at Base 3.1
- ped_disk_print at Base 3.1
- ped_disk_probe at Base 3.1
- ped_disk_remove_partition at Base 3.1
- ped_disk_set_flag at Base 3.1
- ped_disk_set_partition_geom at Base 3.1
- ped_disk_sun_done at Base 3.1
- ped_disk_sun_init at Base 3.1
- ped_disk_type_check_feature at Base 3.1
- ped_disk_type_get at Base 3.1
- ped_disk_type_get_next at Base 3.1
- ped_disk_type_register at Base 3.1
- ped_disk_type_unregister at Base 3.1
- ped_exception at Base 3.1
- ped_exception_catch at Base 3.1
- ped_exception_fetch_all at Base 3.1
- ped_exception_get_handler at Base 3.1
- ped_exception_get_option_string at Base 3.1
- ped_exception_get_type_string at Base 3.1
- ped_exception_leave_all at Base 3.1
- ped_exception_rethrow at Base 3.1
- ped_exception_set_handler at Base 3.1
- ped_exception_throw at Base 3.1
- ped_file_system_alias_get_next at Base 3.1
- ped_file_system_alias_register at Base 3.1
- ped_file_system_alias_unregister at Base 3.1
- ped_file_system_amiga_done at Base 3.1
- ped_file_system_amiga_init at Base 3.1
- ped_file_system_ext2_done at Base 3.1
- ped_file_system_ext2_init at Base 3.1
- ped_file_system_f2fs_done at Base 3.4
- ped_file_system_f2fs_init at Base 3.4
- ped_file_system_fat_done at Base 3.1
- ped_file_system_fat_init at Base 3.1
- ped_file_system_hfs_done at Base 3.1
- ped_file_system_hfs_init at Base 3.1
- ped_file_system_jfs_done at Base 3.1
- ped_file_system_jfs_init at Base 3.1
- ped_file_system_linux_swap_done at Base 3.1
- ped_file_system_linux_swap_init at Base 3.1
- ped_file_system_nilfs2_done at Base 3.1
- ped_file_system_nilfs2_init at Base 3.1
- ped_file_system_ntfs_done at Base 3.1
- ped_file_system_ntfs_init at Base 3.1
- ped_file_system_probe at Base 3.1
- ped_file_system_probe_specific at Base 3.1
- ped_file_system_reiserfs_done at Base 3.1
- ped_file_system_reiserfs_init at Base 3.1
- ped_file_system_type_get at Base 3.1
- ped_file_system_type_get_next at Base 3.1
- ped_file_system_type_register at Base 3.1
- ped_file_system_type_unregister at Base 3.1
- ped_file_system_udf_done at Base 3.3
- ped_file_system_udf_init at Base 3.3
- ped_file_system_ufs_done at Base 3.1
- ped_file_system_ufs_init at Base 3.1
- ped_file_system_xfs_done at Base 3.1
- ped_file_system_xfs_init at Base 3.1
- (arch=kfreebsd-any)ped_freebsd_arch at Base 3.1
- ped_geometry_check at Base 3.1
- ped_geometry_destroy at Base 3.1
- ped_geometry_duplicate at Base 3.1
- ped_geometry_init at Base 3.1
- ped_geometry_intersect at Base 3.1
- ped_geometry_map at Base 3.1
- ped_geometry_new at Base 3.1
- ped_geometry_read at Base 3.1
- ped_geometry_read_alloc at Base 3.1
- ped_geometry_set at Base 3.1
- ped_geometry_set_end at Base 3.1
- ped_geometry_set_start at Base 3.1
- ped_geometry_sync at Base 3.1
- ped_geometry_sync_fast at Base 3.1
- ped_geometry_test_equal at Base 3.1
- ped_geometry_test_inside at Base 3.1
- ped_geometry_test_overlap at Base 3.1
- ped_geometry_test_sector_inside at Base 3.1
- ped_geometry_write at Base 3.1
- ped_get_version at Base 3.1
- (arch=hurd-any)ped_gnu_arch at Base 3.1
- ped_greatest_common_divisor at Base 3.1
- (arch=linux-any)ped_linux_arch at Base 3.1
- ped_malloc at Base 3.1
- ped_partition_destroy at Base 3.1
- ped_partition_flag_get_by_name at Base 3.1
- ped_partition_flag_get_name at Base 3.1
- ped_partition_flag_next at Base 3.1
- ped_partition_get_flag at Base 3.1
- ped_partition_get_name at Base 3.1
- ped_partition_get_path at Base 3.1
- ped_partition_get_type_id at Base 3.6
- ped_partition_get_type_uuid at Base 3.6
- ped_partition_get_uuid at Base 3.6
- ped_partition_is_active at Base 3.1
- ped_partition_is_busy at Base 3.1
- ped_partition_is_flag_available at Base 3.1
- ped_partition_new at Base 3.1
- ped_partition_set_flag at Base 3.1
- ped_partition_set_name at Base 3.1
- ped_partition_set_system at Base 3.1
- ped_partition_set_type_id at Base 3.6
- ped_partition_set_type_uuid at Base 3.6
- ped_partition_type_get_name at Base 3.1
- ped_round_down_to at Base 3.1
- ped_round_to_nearest at Base 3.1
- ped_round_up_to at Base 3.1
- ped_set_architecture at Base 3.1
- ped_timer_destroy at Base 3.1
- ped_timer_destroy_nested at Base 3.1
- ped_timer_new at Base 3.1
- ped_timer_new_nested at Base 3.1
- ped_timer_reset at Base 3.1
- ped_timer_set_state_name at Base 3.1
- ped_timer_touch at Base 3.1
- ped_timer_update at Base 3.1
- ped_unit_format at Base 3.1
- ped_unit_format_byte at Base 3.1
- ped_unit_format_custom at Base 3.1
- ped_unit_format_custom_byte at Base 3.1
- ped_unit_get_by_name at Base 3.1
- ped_unit_get_default at Base 3.1
- ped_unit_get_name at Base 3.1
- ped_unit_get_size at Base 3.1
- ped_unit_parse at Base 3.1
- ped_unit_parse_custom at Base 3.1
- ped_unit_set_default at Base 3.1
-# debian/patches/btrfs.patch
- ped_file_system_btrfs_done at Base 3.1-1~
- ped_file_system_btrfs_init at Base 3.1-1~
-# debian/patches/zfs.patch
- ped_file_system_zfs_done at Base 3.1-1~
- ped_file_system_zfs_init at Base 3.1-1~
-# Only symbols beginning with "ped_" are part of libparted's public ABI.
-# However, some internal symbols are used by the parted program, so it's
-# cumbersome to limit the exported symbols properly.  For now, we just
-# ignore them.
- (regex|optional)"^(?!ped_)" 3.1
diff -Nru parted-3.6/debian/libparted2t64.docs parted-3.6/debian/libparted2t64.docs
--- parted-3.6/debian/libparted2t64.docs	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted2t64.docs	2023-06-26 19:34:57.000000000 -0300
@@ -0,0 +1 @@
+NEWS
diff -Nru parted-3.6/debian/libparted2t64.install parted-3.6/debian/libparted2t64.install
--- parted-3.6/debian/libparted2t64.install	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted2t64.install	2023-06-26 19:34:57.000000000 -0300
@@ -0,0 +1 @@
+usr/lib/${DEB_HOST_MULTIARCH}/libparted.so.* lib/${DEB_HOST_MULTIARCH}
diff -Nru parted-3.6/debian/libparted2t64.lintian-overrides parted-3.6/debian/libparted2t64.lintian-overrides
--- parted-3.6/debian/libparted2t64.lintian-overrides	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted2t64.lintian-overrides	2024-02-05 14:58:17.000000000 -0300
@@ -0,0 +1 @@
+libparted2t64: package-name-doesnt-match-sonames libparted2
diff -Nru parted-3.6/debian/libparted2t64.symbols parted-3.6/debian/libparted2t64.symbols
--- parted-3.6/debian/libparted2t64.symbols	1969-12-31 21:00:00.000000000 -0300
+++ parted-3.6/debian/libparted2t64.symbols	2024-02-05 14:58:17.000000000 -0300
@@ -0,0 +1,244 @@
+libparted.so.2 libparted2t64 #MINVER#
+* Build-Depends-Package: libparted-dev
+ ped_alignment_align_down at Base 3.1
+ ped_alignment_align_nearest at Base 3.1
+ ped_alignment_align_up at Base 3.1
+ ped_alignment_any at Base 3.1
+ ped_alignment_destroy at Base 3.1
+ ped_alignment_duplicate at Base 3.1
+ ped_alignment_init at Base 3.1
+ ped_alignment_intersect at Base 3.1
+ ped_alignment_is_aligned at Base 3.1
+ ped_alignment_new at Base 3.1
+ ped_alignment_none at Base 3.1
+ ped_architecture at Base 3.1
+ ped_assert at Base 3.1
+ ped_calloc at Base 3.1
+ ped_constraint_any at Base 3.1
+ ped_constraint_destroy at Base 3.1
+ ped_constraint_done at Base 3.1
+ ped_constraint_duplicate at Base 3.1
+ ped_constraint_exact at Base 3.1
+ ped_constraint_init at Base 3.1
+ ped_constraint_intersect at Base 3.1
+ ped_constraint_is_solution at Base 3.1
+ ped_constraint_new at Base 3.1
+ ped_constraint_new_from_max at Base 3.1
+ ped_constraint_new_from_min at Base 3.1
+ ped_constraint_new_from_min_max at Base 3.1
+ ped_constraint_solve_max at Base 3.1
+ ped_constraint_solve_nearest at Base 3.1
+ ped_debug at Base 3.1
+ ped_debug_set_handler at Base 3.1
+ ped_device_begin_external_access at Base 3.1
+ ped_device_cache_remove at Base 3.1
+ ped_device_check at Base 3.1
+ ped_device_close at Base 3.1
+ ped_device_destroy at Base 3.1
+ ped_device_end_external_access at Base 3.1
+ ped_device_free_all at Base 3.1
+ ped_device_get at Base 3.1
+ ped_device_get_constraint at Base 3.1
+ ped_device_get_minimal_aligned_constraint at Base 3.1
+ ped_device_get_minimum_alignment at Base 3.1
+ ped_device_get_next at Base 3.1
+ ped_device_get_optimal_aligned_constraint at Base 3.1
+ ped_device_get_optimum_alignment at Base 3.1
+ ped_device_is_busy at Base 3.1
+ (arch=hurd-any)ped_device_new_from_store at Base 3.1
+ ped_device_open at Base 3.1
+ ped_device_probe_all at Base 3.1
+ ped_device_read at Base 3.1
+ ped_device_sync at Base 3.1
+ ped_device_sync_fast at Base 3.1
+ ped_device_write at Base 3.1
+ ped_disk_add_partition at Base 3.1
+ ped_disk_aix_done at Base 3.1
+ ped_disk_aix_init at Base 3.1
+ ped_disk_amiga_done at Base 3.1
+ ped_disk_amiga_init at Base 3.1
+ ped_disk_atari_done at Base 3.2-17~
+ ped_disk_atari_init at Base 3.2-17~
+ ped_disk_bsd_done at Base 3.1
+ ped_disk_bsd_init at Base 3.1
+ ped_disk_check at Base 3.1
+ ped_disk_clobber at Base 3.1
+ ped_disk_commit at Base 3.1
+ ped_disk_commit_to_dev at Base 3.1
+ ped_disk_commit_to_os at Base 3.1
+ (arch=s390 s390x)ped_disk_dasd_done at Base 3.1
+ (arch=s390 s390x)ped_disk_dasd_init at Base 3.1
+ ped_disk_delete_all at Base 3.1
+ ped_disk_delete_partition at Base 3.1
+ ped_disk_destroy at Base 3.1
+ ped_disk_duplicate at Base 3.1
+ ped_disk_dvh_done at Base 3.1
+ ped_disk_dvh_init at Base 3.1
+ ped_disk_extended_partition at Base 3.1
+ ped_disk_flag_get_by_name at Base 3.1
+ ped_disk_flag_get_name at Base 3.1
+ ped_disk_flag_next at Base 3.1
+ ped_disk_get_flag at Base 3.1
+ ped_disk_get_last_partition_num at Base 3.1
+ ped_disk_get_max_partition_geometry at Base 3.1
+ ped_disk_get_max_primary_partition_count at Base 3.1
+ ped_disk_get_max_supported_partition_count at Base 3.1
+ ped_disk_get_partition at Base 3.1
+ ped_disk_get_partition_alignment at Base 3.1
+ ped_disk_get_partition_by_sector at Base 3.1
+ ped_disk_get_primary_partition_count at Base 3.1
+ ped_disk_get_uuid at Base 3.6
+ ped_disk_gpt_done at Base 3.1
+ ped_disk_gpt_init at Base 3.1
+ ped_disk_is_flag_available at Base 3.1
+ ped_disk_loop_done at Base 3.1
+ ped_disk_loop_init at Base 3.1
+ ped_disk_mac_done at Base 3.1
+ ped_disk_mac_init at Base 3.1
+ ped_disk_max_partition_length at Base 3.1
+ ped_disk_max_partition_start_sector at Base 3.1
+ ped_disk_maximize_partition at Base 3.1
+ ped_disk_minimize_extended_partition at Base 3.1
+ ped_disk_msdos_done at Base 3.1
+ ped_disk_msdos_init at Base 3.1
+ ped_disk_new at Base 3.1
+ ped_disk_new_fresh at Base 3.1
+ ped_disk_next_partition at Base 3.1
+ ped_disk_pc98_done at Base 3.1
+ ped_disk_pc98_init at Base 3.1
+ ped_disk_print at Base 3.1
+ ped_disk_probe at Base 3.1
+ ped_disk_remove_partition at Base 3.1
+ ped_disk_set_flag at Base 3.1
+ ped_disk_set_partition_geom at Base 3.1
+ ped_disk_sun_done at Base 3.1
+ ped_disk_sun_init at Base 3.1
+ ped_disk_type_check_feature at Base 3.1
+ ped_disk_type_get at Base 3.1
+ ped_disk_type_get_next at Base 3.1
+ ped_disk_type_register at Base 3.1
+ ped_disk_type_unregister at Base 3.1
+ ped_exception at Base 3.1
+ ped_exception_catch at Base 3.1
+ ped_exception_fetch_all at Base 3.1
+ ped_exception_get_handler at Base 3.1
+ ped_exception_get_option_string at Base 3.1
+ ped_exception_get_type_string at Base 3.1
+ ped_exception_leave_all at Base 3.1
+ ped_exception_rethrow at Base 3.1
+ ped_exception_set_handler at Base 3.1
+ ped_exception_throw at Base 3.1
+ ped_file_system_alias_get_next at Base 3.1
+ ped_file_system_alias_register at Base 3.1
+ ped_file_system_alias_unregister at Base 3.1
+ ped_file_system_amiga_done at Base 3.1
+ ped_file_system_amiga_init at Base 3.1
+ ped_file_system_ext2_done at Base 3.1
+ ped_file_system_ext2_init at Base 3.1
+ ped_file_system_f2fs_done at Base 3.4
+ ped_file_system_f2fs_init at Base 3.4
+ ped_file_system_fat_done at Base 3.1
+ ped_file_system_fat_init at Base 3.1
+ ped_file_system_hfs_done at Base 3.1
+ ped_file_system_hfs_init at Base 3.1
+ ped_file_system_jfs_done at Base 3.1
+ ped_file_system_jfs_init at Base 3.1
+ ped_file_system_linux_swap_done at Base 3.1
+ ped_file_system_linux_swap_init at Base 3.1
+ ped_file_system_nilfs2_done at Base 3.1
+ ped_file_system_nilfs2_init at Base 3.1
+ ped_file_system_ntfs_done at Base 3.1
+ ped_file_system_ntfs_init at Base 3.1
+ ped_file_system_probe at Base 3.1
+ ped_file_system_probe_specific at Base 3.1
+ ped_file_system_reiserfs_done at Base 3.1
+ ped_file_system_reiserfs_init at Base 3.1
+ ped_file_system_type_get at Base 3.1
+ ped_file_system_type_get_next at Base 3.1
+ ped_file_system_type_register at Base 3.1
+ ped_file_system_type_unregister at Base 3.1
+ ped_file_system_udf_done at Base 3.3
+ ped_file_system_udf_init at Base 3.3
+ ped_file_system_ufs_done at Base 3.1
+ ped_file_system_ufs_init at Base 3.1
+ ped_file_system_xfs_done at Base 3.1
+ ped_file_system_xfs_init at Base 3.1
+ (arch=kfreebsd-any)ped_freebsd_arch at Base 3.1
+ ped_geometry_check at Base 3.1
+ ped_geometry_destroy at Base 3.1
+ ped_geometry_duplicate at Base 3.1
+ ped_geometry_init at Base 3.1
+ ped_geometry_intersect at Base 3.1
+ ped_geometry_map at Base 3.1
+ ped_geometry_new at Base 3.1
+ ped_geometry_read at Base 3.1
+ ped_geometry_read_alloc at Base 3.1
+ ped_geometry_set at Base 3.1
+ ped_geometry_set_end at Base 3.1
+ ped_geometry_set_start at Base 3.1
+ ped_geometry_sync at Base 3.1
+ ped_geometry_sync_fast at Base 3.1
+ ped_geometry_test_equal at Base 3.1
+ ped_geometry_test_inside at Base 3.1
+ ped_geometry_test_overlap at Base 3.1
+ ped_geometry_test_sector_inside at Base 3.1
+ ped_geometry_write at Base 3.1
+ ped_get_version at Base 3.1
+ (arch=hurd-any)ped_gnu_arch at Base 3.1
+ ped_greatest_common_divisor at Base 3.1
+ (arch=linux-any)ped_linux_arch at Base 3.1
+ ped_malloc at Base 3.1
+ ped_partition_destroy at Base 3.1
+ ped_partition_flag_get_by_name at Base 3.1
+ ped_partition_flag_get_name at Base 3.1
+ ped_partition_flag_next at Base 3.1
+ ped_partition_get_flag at Base 3.1
+ ped_partition_get_name at Base 3.1
+ ped_partition_get_path at Base 3.1
+ ped_partition_get_type_id at Base 3.6
+ ped_partition_get_type_uuid at Base 3.6
+ ped_partition_get_uuid at Base 3.6
+ ped_partition_is_active at Base 3.1
+ ped_partition_is_busy at Base 3.1
+ ped_partition_is_flag_available at Base 3.1
+ ped_partition_new at Base 3.1
+ ped_partition_set_flag at Base 3.1
+ ped_partition_set_name at Base 3.1
+ ped_partition_set_system at Base 3.1
+ ped_partition_set_type_id at Base 3.6
+ ped_partition_set_type_uuid at Base 3.6
+ ped_partition_type_get_name at Base 3.1
+ ped_round_down_to at Base 3.1
+ ped_round_to_nearest at Base 3.1
+ ped_round_up_to at Base 3.1
+ ped_set_architecture at Base 3.1
+ ped_timer_destroy at Base 3.1
+ ped_timer_destroy_nested at Base 3.1
+ ped_timer_new at Base 3.1
+ ped_timer_new_nested at Base 3.1
+ ped_timer_reset at Base 3.1
+ ped_timer_set_state_name at Base 3.1
+ ped_timer_touch at Base 3.1
+ ped_timer_update at Base 3.1
+ ped_unit_format at Base 3.1
+ ped_unit_format_byte at Base 3.1
+ ped_unit_format_custom at Base 3.1
+ ped_unit_format_custom_byte at Base 3.1
+ ped_unit_get_by_name at Base 3.1
+ ped_unit_get_default at Base 3.1
+ ped_unit_get_name at Base 3.1
+ ped_unit_get_size at Base 3.1
+ ped_unit_parse at Base 3.1
+ ped_unit_parse_custom at Base 3.1
+ ped_unit_set_default at Base 3.1
+# debian/patches/btrfs.patch
+ ped_file_system_btrfs_done at Base 3.1-1~
+ ped_file_system_btrfs_init at Base 3.1-1~
+# debian/patches/zfs.patch
+ ped_file_system_zfs_done at Base 3.1-1~
+ ped_file_system_zfs_init at Base 3.1-1~
+# Only symbols beginning with "ped_" are part of libparted's public ABI.
+# However, some internal symbols are used by the parted program, so it's
+# cumbersome to limit the exported symbols properly.  For now, we just
+# ignore them.
+ (regex|optional)"^(?!ped_)" 3.1
diff -Nru parted-3.6/debian/rules parted-3.6/debian/rules
--- parted-3.6/debian/rules	2023-06-26 19:34:57.000000000 -0300
+++ parted-3.6/debian/rules	2024-02-05 14:58:17.000000000 -0300
@@ -69,18 +69,18 @@
 	dh_install -pparted-udeb -plibparted2-udeb -plibparted-fs-resize0-udeb --sourcedir=debian/tmp-udeb
 
 override_dh_installdocs-arch:
-	dh_installdocs --link-doc=libparted2
+	dh_installdocs --link-doc=libparted2t64
 
 override_dh_installdocs-indep:
-	dh_installdocs -pparted-doc --doc-main-package=libparted2
+	dh_installdocs -pparted-doc --doc-main-package=libparted2t64
 	dh_installdocs --remaining-packages
 
 override_dh_strip:
-	dh_strip -plibparted2 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
-	dh_strip -plibparted-fs-resize0 \
+	dh_strip -plibparted2t64 --ddeb-migration='libparted2-dbg (<< 3.2-11~)'
+	dh_strip -plibparted-fs-resize0t64 \
 		--ddeb-migration='libparted-fs-resize0-dbg (<< 3.2-11~)'
-	dh_strip -Nlibparted2 -Nlibparted-fs-resize0
+	dh_strip -Nlibparted2t64 -Nlibparted-fs-resize0t64
 
 override_dh_makeshlibs:
-	dh_makeshlibs -plibparted2 --add-udeb=libparted2-udeb -- -c4
-	dh_makeshlibs -plibparted-fs-resize0 --add-udeb=libparted-fs-resize0-udeb -- -c4
+	dh_makeshlibs -plibparted2t64 --add-udeb=libparted2-udeb -- -c4
+	dh_makeshlibs -plibparted-fs-resize0t64 --add-udeb=libparted-fs-resize0-udeb -- -c4


More information about the Parted-maintainers mailing list