Source: libpqtypes
Version: 1.5.1-9
Severity: serious
Tags: patch pending
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
libpqtypes 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 libpqtypes
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'), (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)
diff -Nru libpqtypes-1.5.1/debian/changelog libpqtypes-1.5.1/debian/changelog
--- libpqtypes-1.5.1/debian/changelog   2022-10-05 13:54:22.000000000 +0000
+++ libpqtypes-1.5.1/debian/changelog   2024-02-01 23:14:54.000000000 +0000
@@ -1,3 +1,10 @@
+libpqtypes (1.5.1-9.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Thu, 01 Feb 2024 23:14:54 +0000
+
 libpqtypes (1.5.1-9) unstable; urgency=medium
 
   * Disable "char" test, broken with PG15 (and probably not worth fixing).
diff -Nru libpqtypes-1.5.1/debian/control libpqtypes-1.5.1/debian/control
--- libpqtypes-1.5.1/debian/control     2022-10-05 13:54:22.000000000 +0000
+++ libpqtypes-1.5.1/debian/control     2024-02-01 23:14:54.000000000 +0000
@@ -13,7 +13,7 @@
 Section: libdevel
 Architecture: any
 Multi-Arch: same
-Depends: libpq-dev, libpqtypes0 (= ${binary:Version}),
+Depends: libpq-dev, libpqtypes0t64 (= ${binary:Version}),
  ${shlibs:Depends}, ${misc:Depends}
 Description: parameterized queries libpq extension - development
  libpqtypes is a libpq extension that offers a new way of handling
@@ -33,7 +33,10 @@
  .
  This package contains the headers and manpages.
 
-Package: libpqtypes0
+Package: libpqtypes0t64
+Provides: ${t64:Provides}
+Replaces: libpqtypes0
+Breaks: libpqtypes0 (<< ${source:Version})
 Section: libs
 Architecture: any
 Multi-Arch: same
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0.install 
libpqtypes-1.5.1/debian/libpqtypes0.install
--- libpqtypes-1.5.1/debian/libpqtypes0.install 2014-11-24 11:44:09.000000000 
+0000
+++ libpqtypes-1.5.1/debian/libpqtypes0.install 1970-01-01 00:00:00.000000000 
+0000
@@ -1 +0,0 @@
-usr/lib/*/libpqtypes.so.*
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0.symbols 
libpqtypes-1.5.1/debian/libpqtypes0.symbols
--- libpqtypes-1.5.1/debian/libpqtypes0.symbols 2014-11-24 11:44:09.000000000 
+0000
+++ libpqtypes-1.5.1/debian/libpqtypes0.symbols 1970-01-01 00:00:00.000000000 
+0000
@@ -1,120 +0,0 @@
-libpqtypes.so.0 libpqtypes0 #MINVER#
- PQclearSpecs@Base 0
- PQclearTypes@Base 0
- PQexecf@Base 0
- PQexecvf@Base 0
- PQgetErrorField@Base 0
- PQgeterror@Base 0
- PQgetf@Base 0
- PQgetvf@Base 0
- PQinitTypes@Base 0
- PQlocalTZInfo@Base 0
- PQparamClear@Base 0
- PQparamCount@Base 0
- PQparamCreate@Base 0
- PQparamDup@Base 0
- PQparamExec@Base 0
- PQparamExecPrepared@Base 0
- PQparamReset@Base 0
- PQparamSendQuery@Base 0
- PQparamSendQueryPrepared@Base 0
- PQputf@Base 0
- PQputvf@Base 0
- PQregisterComposites@Base 0
- PQregisterResult@Base 0
- PQregisterSubClasses@Base 0
- PQregisterTypes@Base 0
- PQregisterUserDefinedTypes@Base 0
- PQsendf@Base 0
- PQsendvf@Base 0
- PQseterror@Base 0
- PQspecPrepare@Base 0
- PQtypesRegister@Base 0
- pqt_allowsptr@Base 0
- pqt_argserrorf@Base 0
- pqt_argssuper@Base 0
- pqt_clearspec@Base 0
- pqt_cleartypes@Base 0
- pqt_copyresult@Base 0
- pqt_duphandlers@Base 0
- pqt_dupspecs@Base 0
- pqt_eventproc@Base 0
- pqt_fqtn@Base 0
- pqt_freehandlers@Base 0
- pqt_freespecs@Base 0
- pqt_get_array@Base 0
- pqt_get_bool@Base 0
- pqt_get_box@Base 0
- pqt_get_bytea@Base 0
- pqt_get_char@Base 0
- pqt_get_cidr@Base 0
- pqt_get_circle@Base 0
- pqt_get_date@Base 0
- pqt_get_float4@Base 0
- pqt_get_float8@Base 0
- pqt_get_inet@Base 0
- pqt_get_int2@Base 0
- pqt_get_int4@Base 0
- pqt_get_int8@Base 0
- pqt_get_interval@Base 0
- pqt_get_lseg@Base 0
- pqt_get_macaddr@Base 0
- pqt_get_money@Base 0
- pqt_get_numeric@Base 0
- pqt_get_path@Base 0
- pqt_get_point@Base 0
- pqt_get_polygon@Base 0
- pqt_get_record@Base 0
- pqt_get_text@Base 0
- pqt_get_time@Base 0
- pqt_get_timestamp@Base 0
- pqt_get_timestamptz@Base 0
- pqt_get_timetz@Base 0
- pqt_get_uuid@Base 0
- pqt_getfmtinfo@Base 0
- pqt_gethandler@Base 0
- pqt_gethandlerbyid@Base 0
- pqt_getspec@Base 0
- pqt_parse@Base 0
- pqt_parsetype@Base 0
- pqt_put_array@Base 0
- pqt_put_bool@Base 0
- pqt_put_box@Base 0
- pqt_put_bytea@Base 0
- pqt_put_char@Base 0
- pqt_put_circle@Base 0
- pqt_put_date@Base 0
- pqt_put_float4@Base 0
- pqt_put_float8@Base 0
- pqt_put_inet@Base 0
- pqt_put_int2@Base 0
- pqt_put_int4@Base 0
- pqt_put_int8@Base 0
- pqt_put_interval@Base 0
- pqt_put_lseg@Base 0
- pqt_put_macaddr@Base 0
- pqt_put_money@Base 0
- pqt_put_null@Base 0
- pqt_put_numeric@Base 0
- pqt_put_path@Base 0
- pqt_put_point@Base 0
- pqt_put_polygon@Base 0
- pqt_put_record@Base 0
- pqt_put_str@Base 0
- pqt_put_text@Base 0
- pqt_put_time@Base 0
- pqt_put_timestamp@Base 0
- pqt_put_timestamptz@Base 0
- pqt_put_timetz@Base 0
- pqt_put_uuid@Base 0
- pqt_putparam@Base 0
- pqt_setresultfields@Base 0
- pqt_snprintf@Base 0
- pqt_strcasecmp@Base 0
- pqt_strcpy@Base 0
- pqt_strncasecmp@Base 0
- pqt_swap8@Base 0
- pqt_text_to_float8@Base 0
- pqt_text_to_int8@Base 0
- pqt_tolower@Base 0
- pqt_vsnprintf@Base 0
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.install 
libpqtypes-1.5.1/debian/libpqtypes0t64.install
--- libpqtypes-1.5.1/debian/libpqtypes0t64.install      1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.install      2014-11-24 
11:44:09.000000000 +0000
@@ -0,0 +1 @@
+usr/lib/*/libpqtypes.so.*
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides 
libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides
--- libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides    1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.lintian-overrides    2024-02-01 
23:14:54.000000000 +0000
@@ -0,0 +1 @@
+libpqtypes0t64: package-name-doesnt-match-sonames libpqtypes0
diff -Nru libpqtypes-1.5.1/debian/libpqtypes0t64.symbols 
libpqtypes-1.5.1/debian/libpqtypes0t64.symbols
--- libpqtypes-1.5.1/debian/libpqtypes0t64.symbols      1970-01-01 
00:00:00.000000000 +0000
+++ libpqtypes-1.5.1/debian/libpqtypes0t64.symbols      2024-02-01 
23:14:54.000000000 +0000
@@ -0,0 +1,120 @@
+libpqtypes.so.0 libpqtypes0t64 #MINVER#
+ PQclearSpecs@Base 0
+ PQclearTypes@Base 0
+ PQexecf@Base 0
+ PQexecvf@Base 0
+ PQgetErrorField@Base 0
+ PQgeterror@Base 0
+ PQgetf@Base 0
+ PQgetvf@Base 0
+ PQinitTypes@Base 0
+ PQlocalTZInfo@Base 0
+ PQparamClear@Base 0
+ PQparamCount@Base 0
+ PQparamCreate@Base 0
+ PQparamDup@Base 0
+ PQparamExec@Base 0
+ PQparamExecPrepared@Base 0
+ PQparamReset@Base 0
+ PQparamSendQuery@Base 0
+ PQparamSendQueryPrepared@Base 0
+ PQputf@Base 0
+ PQputvf@Base 0
+ PQregisterComposites@Base 0
+ PQregisterResult@Base 0
+ PQregisterSubClasses@Base 0
+ PQregisterTypes@Base 0
+ PQregisterUserDefinedTypes@Base 0
+ PQsendf@Base 0
+ PQsendvf@Base 0
+ PQseterror@Base 0
+ PQspecPrepare@Base 0
+ PQtypesRegister@Base 0
+ pqt_allowsptr@Base 0
+ pqt_argserrorf@Base 0
+ pqt_argssuper@Base 0
+ pqt_clearspec@Base 0
+ pqt_cleartypes@Base 0
+ pqt_copyresult@Base 0
+ pqt_duphandlers@Base 0
+ pqt_dupspecs@Base 0
+ pqt_eventproc@Base 0
+ pqt_fqtn@Base 0
+ pqt_freehandlers@Base 0
+ pqt_freespecs@Base 0
+ pqt_get_array@Base 0
+ pqt_get_bool@Base 0
+ pqt_get_box@Base 0
+ pqt_get_bytea@Base 0
+ pqt_get_char@Base 0
+ pqt_get_cidr@Base 0
+ pqt_get_circle@Base 0
+ pqt_get_date@Base 0
+ pqt_get_float4@Base 0
+ pqt_get_float8@Base 0
+ pqt_get_inet@Base 0
+ pqt_get_int2@Base 0
+ pqt_get_int4@Base 0
+ pqt_get_int8@Base 0
+ pqt_get_interval@Base 0
+ pqt_get_lseg@Base 0
+ pqt_get_macaddr@Base 0
+ pqt_get_money@Base 0
+ pqt_get_numeric@Base 0
+ pqt_get_path@Base 0
+ pqt_get_point@Base 0
+ pqt_get_polygon@Base 0
+ pqt_get_record@Base 0
+ pqt_get_text@Base 0
+ pqt_get_time@Base 0
+ pqt_get_timestamp@Base 0
+ pqt_get_timestamptz@Base 0
+ pqt_get_timetz@Base 0
+ pqt_get_uuid@Base 0
+ pqt_getfmtinfo@Base 0
+ pqt_gethandler@Base 0
+ pqt_gethandlerbyid@Base 0
+ pqt_getspec@Base 0
+ pqt_parse@Base 0
+ pqt_parsetype@Base 0
+ pqt_put_array@Base 0
+ pqt_put_bool@Base 0
+ pqt_put_box@Base 0
+ pqt_put_bytea@Base 0
+ pqt_put_char@Base 0
+ pqt_put_circle@Base 0
+ pqt_put_date@Base 0
+ pqt_put_float4@Base 0
+ pqt_put_float8@Base 0
+ pqt_put_inet@Base 0
+ pqt_put_int2@Base 0
+ pqt_put_int4@Base 0
+ pqt_put_int8@Base 0
+ pqt_put_interval@Base 0
+ pqt_put_lseg@Base 0
+ pqt_put_macaddr@Base 0
+ pqt_put_money@Base 0
+ pqt_put_null@Base 0
+ pqt_put_numeric@Base 0
+ pqt_put_path@Base 0
+ pqt_put_point@Base 0
+ pqt_put_polygon@Base 0
+ pqt_put_record@Base 0
+ pqt_put_str@Base 0
+ pqt_put_text@Base 0
+ pqt_put_time@Base 0
+ pqt_put_timestamp@Base 0
+ pqt_put_timestamptz@Base 0
+ pqt_put_timetz@Base 0
+ pqt_put_uuid@Base 0
+ pqt_putparam@Base 0
+ pqt_setresultfields@Base 0
+ pqt_snprintf@Base 0
+ pqt_strcasecmp@Base 0
+ pqt_strcpy@Base 0
+ pqt_strncasecmp@Base 0
+ pqt_swap8@Base 0
+ pqt_text_to_float8@Base 0
+ pqt_text_to_int8@Base 0
+ pqt_tolower@Base 0
+ pqt_vsnprintf@Base 0

Reply via email to