Bug#1062742: libzia: NMU diff for 64-bit time_t transition

2024-02-24 Thread Christoph Berg
Re: Daniele Forsi
> please don't put version numbers in the package descriptions:

For libzia, it's also questionable to put the version number into the
package - that "lib" is only used by a single rdep, tucnak. We should
rather move libzia into tucnak; the split has causes several problems
in the past, while adding no value.

Christoph



Bug#1062742: libzia: NMU diff for 64-bit time_t transition

2024-02-24 Thread Daniele Forsi
Hello Steve,

please don't put version numbers in the package descriptions:

> Description: sharable and platform-dependent library for Tucnak
>- libzia contains the platform abstraction layer for the tucnak package.
>+ libzia-4.36 contains the platform abstraction layer for the tucnak package.
>  Tucnak is a VHF/UHF/SHF logging program for hamradio contests.

In cases like this it adds work for translators with a loss for users,
who aren't supposed to look for version numbers like this in
*descriptions* anyway.
Currently this description is translated only to Danish, but as soon
as the package with this change gets uploaded, that description
reverts to the English version:
https://ddtp.debian.org/ddt.cgi?desc_id=229880

-- 
73 de IU5HKX Daniele



Bug#1062742: libzia: NMU diff for 64-bit time_t transition

2024-02-24 Thread Steve Langasek
Hello,

An oversight with regards to the provides: handling support in debhelper
means the package in experimental does not correctly declare compatibility
on 64-bit archs with the prior ABI.  Please find an updated patch attached.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developer   https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru libzia-4.52/debian/changelog libzia-4.52/debian/changelog
--- libzia-4.52/debian/changelog2023-11-25 14:26:34.0 +
+++ libzia-4.52/debian/changelog2024-02-24 08:59:14.0 +
@@ -1,3 +1,16 @@
+libzia (4.52-1.1~exp2) experimental; urgency=medium
+
+  * Declare X-Time64-Compat to get proper Provides:
+
+ -- Steve Langasek   Sat, 24 Feb 2024 08:59:14 +
+
+libzia (4.52-1.1~exp1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Fri, 02 Feb 2024 22:53:42 +
+
 libzia (4.52-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru libzia-4.52/debian/control libzia-4.52/debian/control
--- libzia-4.52/debian/control  2023-11-25 14:26:34.0 +
+++ libzia-4.52/debian/control  2024-02-24 08:59:09.0 +
@@ -19,7 +19,10 @@
 Vcs-Git: https://salsa.debian.org/debian-hamradio-team/libzia.git
 Rules-Requires-Root: no
 
-Package: libzia
+Package: libzia-4.36
+X-Time64-Compat: libzia
+Provides: ${t64:Provides}
+Replaces: libzia
 Architecture: any
 Multi-Arch: same
 Pre-Depends:
@@ -27,10 +30,10 @@
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
-Breaks:
+Breaks:libzia (<< ${source:Version}), 
  tucnak (<< 4.52~),
 Description: sharable and platform-dependent library for Tucnak
- libzia contains the platform abstraction layer for the tucnak package.
+ libzia-4.36 contains the platform abstraction layer for the tucnak package.
  Tucnak is a VHF/UHF/SHF logging program for hamradio contests.
  .
  It also contains common usable functions for other projects.
@@ -44,7 +47,7 @@
  libgtk-3-dev,
  libpng-dev,
  libsdl2-dev,
- libzia (= ${binary:Version}),
+ libzia-4.36 (= ${binary:Version}),
  ${misc:Depends},
 Description: sharable and platform-dependent dev library for Tucnak
  libzia-dev contains the development files for a platform abstraction
diff -Nru libzia-4.52/debian/libzia-4.36.install 
libzia-4.52/debian/libzia-4.36.install
--- libzia-4.52/debian/libzia-4.36.install  1970-01-01 00:00:00.0 
+
+++ libzia-4.52/debian/libzia-4.36.install  2024-02-02 22:53:41.0 
+
@@ -0,0 +1,3 @@
+usr/lib/*/libzia-*.so
+usr/lib/*/libzia/lib*.d
+usr/share/libzia/*/settings
diff -Nru libzia-4.52/debian/libzia-4.36.lintian-overrides 
libzia-4.52/debian/libzia-4.36.lintian-overrides
--- libzia-4.52/debian/libzia-4.36.lintian-overrides1970-01-01 
00:00:00.0 +
+++ libzia-4.52/debian/libzia-4.36.lintian-overrides2024-02-02 
22:53:41.0 +
@@ -0,0 +1 @@
+libzia-4.36: package-name-doesnt-match-sonames libzia
diff -Nru libzia-4.52/debian/libzia-4.36.symbols 
libzia-4.52/debian/libzia-4.36.symbols
--- libzia-4.52/debian/libzia-4.36.symbols  1970-01-01 00:00:00.0 
+
+++ libzia-4.52/debian/libzia-4.36.symbols  2024-02-02 22:53:41.0 
+
@@ -0,0 +1,528 @@
+libzia-4.36-4.36.so libzia-4.36 #MINVER#
+* Build-Depends-Package: libzia-dev
+ SDL_UpdateRect@Base 4.25
+ ST_START@Base 4.09
+ ST_STOP@Base 4.09
+ alarm_handler@Base 4.09
+ check_for_select_race@Base 4.09
+ compute_wwl4@Base 4.09
+ critical_section@Base 4.09
+ dashcnt@Base 4.09
+ dbg@Base 4.09
+ debug_msg_title@Base 4.21
+ error@Base 4.09
+ font13x24@Base 4.09
+ font18x32@Base 4.09
+ font8x13@Base 4.09
+ font9x16@Base 4.09
+ free_gpointer_item@Base 4.09
+ free_km_value@Base 4.36
+ gcor@Base 4.21
+ got_signal@Base 4.09
+ http_get_data@Base 4.09
+ http_get_header@Base 4.34
+ http_is_content_type@Base 4.34
+ http_response_buf_len@Base 4.25
+ hw2km@Base 4.21
+ hw2km_d@Base 4.21
+ hw2km_f@Base 4.21
+ hw2loc@Base 4.09
+ hw2qrbqtf@Base 4.09
+ iaru_round@Base 4.09
+ k2key@Base 4.21
+ km2qrbqtf@Base 4.21
+ kmarray_add@Base 4.21
+ kmarray_new@Base 4.21
+ mkwwl4@Base 4.09
+ pending_alarm@Base 4.09
+ qrb_qtf_int@Base 4.09
+ qrbqtf2hw@Base 4.09
+ qrbqtf@Base 4.09
+ qsopwr@Base 4.09
+ qth@Base 4.09
+ qthwr@Base 4.09
+ round@Base 4.21
+ signal_handlers@Base 4.09
+ signal_init@Base 4.09
+ signal_mask@Base 4.09
+ start@Base 4.09
+ trace@Base 4.09
+ uninstall_alarm@Base 4.09
+ x2gramin@Base 4.09
+ z_1250_to_8859_2@Base 4.09
+ z_alsa_error_handler@Base 4.09
+ z_app_crash_handler@Base 4.09
+ z_b@Base 4.09
+ z_backtrace@Base 4.09
+ z_base64dec@Base 4.09
+ z_binary_file_name@Base 4.09
+ z_browser@Base 4.09
+ z_call_is_rover@Base 4.09
+ z_can_be_call@Base 4.09
+ z_can_be_call_char@Base 4.23
+ z_circle@Base 4.09
+ z_clip_pixel@Base 4.09
+ 

Bug#1062742: libzia: NMU diff for 64-bit time_t transition

2024-02-02 Thread Steve Langasek
Source: libzia
Version: 4.52-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
libzia 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 libzia
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'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
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)