--- Begin Message ---
Source: gpsd
Version: 3.25-2
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
gpsd 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 gpsd
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)
diff -Nru gpsd-3.25/debian/changelog gpsd-3.25/debian/changelog
--- gpsd-3.25/debian/changelog 2023-09-11 15:47:57.000000000 +0000
+++ gpsd-3.25/debian/changelog 2024-02-06 05:50:03.000000000 +0000
@@ -1,3 +1,10 @@
+gpsd (3.25-2.1) experimental; urgency=medium
+
+ * Non-maintainer upload.
+ * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <[email protected]> Tue, 06 Feb 2024 05:50:03 +0000
+
gpsd (3.25-2) unstable; urgency=medium
[ Boian Bonev ]
diff -Nru gpsd-3.25/debian/control gpsd-3.25/debian/control
--- gpsd-3.25/debian/control 2023-09-11 15:47:57.000000000 +0000
+++ gpsd-3.25/debian/control 2024-02-06 05:50:03.000000000 +0000
@@ -48,7 +48,7 @@
Architecture: any
Depends:
adduser (>= 3.34),
- libgps30 (= ${binary:Version}),
+ libgps30t64 (= ${binary:Version}),
netbase | systemd-sysv,
python3,
${misc:Depends},
@@ -89,7 +89,7 @@
Depends:
gir1.2-gtk-3.0,
gpsd-tools (= ${binary:Version}),
- libgps30 (= ${binary:Version}),
+ libgps30t64 (= ${binary:Version}),
python3,
python3-cairo,
python3-gi,
@@ -119,7 +119,7 @@
Package: gpsd-tools
Architecture: any
Depends:
- libgps30 (= ${binary:Version}),
+ libgps30t64 (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Suggests:
@@ -144,7 +144,7 @@
Section: libdevel
Multi-Arch: same
Depends:
- libgps30 (= ${binary:Version}),
+ libgps30t64 (= ${binary:Version}),
pkg-config,
${misc:Depends},
Description: Global Positioning System - development files
@@ -155,7 +155,10 @@
This package contains the header and development files needed to build
programs and packages using libgps.
-Package: libgps30
+Package: libgps30t64
+Provides: ${t64:Provides}
+Replaces: libgps30
+Breaks: libgps30 (<< ${source:Version})
Architecture: any
Section: libs
Multi-Arch: same
@@ -185,7 +188,7 @@
Multi-Arch: same
Depends:
libgps-dev (= ${binary:Version}),
- libqgpsmm30 (= ${binary:Version}),
+ libqgpsmm30t64 (= ${binary:Version}),
pkg-config,
${misc:Depends},
Description: Global Positioning System - Qt wrapper for libgps (development)
@@ -196,7 +199,10 @@
This package provides the development file for libQgpsmm, the Qt version of
libgpsmm. It contains pkgconfig and qmake bits to build with the library.
-Package: libqgpsmm30
+Package: libqgpsmm30t64
+Provides: ${t64:Provides}
+Replaces: libqgpsmm30
+Breaks: libqgpsmm30 (<< ${source:Version})
Architecture: any
Section: libs
Depends:
diff -Nru gpsd-3.25/debian/control.in gpsd-3.25/debian/control.in
--- gpsd-3.25/debian/control.in 2023-09-11 15:46:55.000000000 +0000
+++ gpsd-3.25/debian/control.in 2024-02-06 05:48:56.000000000 +0000
@@ -48,7 +48,7 @@
Architecture: any
Depends:
adduser (>= 3.34),
- libgpsLIBGPSSONAME (= ${binary:Version}),
+ libgpsLIBGPS_PKG_SUFFIX (= ${binary:Version}),
netbase | systemd-sysv,
python3,
${misc:Depends},
@@ -89,7 +89,7 @@
Depends:
gir1.2-gtk-3.0,
gpsd-tools (= ${binary:Version}),
- libgpsLIBGPSSONAME (= ${binary:Version}),
+ libgpsLIBGPS_PKG_SUFFIX (= ${binary:Version}),
python3,
python3-cairo,
python3-gi,
@@ -119,7 +119,7 @@
Package: gpsd-tools
Architecture: any
Depends:
- libgpsLIBGPSSONAME (= ${binary:Version}),
+ libgpsLIBGPS_PKG_SUFFIX (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Suggests:
@@ -144,7 +144,7 @@
Section: libdevel
Multi-Arch: same
Depends:
- libgpsLIBGPSSONAME (= ${binary:Version}),
+ libgpsLIBGPS_PKG_SUFFIX (= ${binary:Version}),
pkg-config,
${misc:Depends},
Description: Global Positioning System - development files
@@ -155,7 +155,10 @@
This package contains the header and development files needed to build
programs and packages using libgps.
-Package: libgpsLIBGPSSONAME
+Package: libgpsLIBGPS_PKG_SUFFIX
+Provides: ${t64:Provides}
+Replaces: libgps30
+Breaks: libgps30 (<< ${source:Version})
Architecture: any
Section: libs
Multi-Arch: same
@@ -185,7 +188,7 @@
Multi-Arch: same
Depends:
libgps-dev (= ${binary:Version}),
- libqgpsmmLIBGPSSONAME (= ${binary:Version}),
+ libqgpsmmLIBGPS_PKG_SUFFIX (= ${binary:Version}),
pkg-config,
${misc:Depends},
Description: Global Positioning System - Qt wrapper for libgps (development)
@@ -196,7 +199,10 @@
This package provides the development file for libQgpsmm, the Qt version of
libgpsmm. It contains pkgconfig and qmake bits to build with the library.
-Package: libqgpsmmLIBGPSSONAME
+Package: libqgpsmmLIBGPS_PKG_SUFFIX
+Provides: ${t64:Provides}
+Replaces: libqgpsmm30
+Breaks: libqgpsmm30 (<< ${source:Version})
Architecture: any
Section: libs
Depends:
diff -Nru gpsd-3.25/debian/libgps30t64.lintian-overrides
gpsd-3.25/debian/libgps30t64.lintian-overrides
--- gpsd-3.25/debian/libgps30t64.lintian-overrides 1970-01-01
00:00:00.000000000 +0000
+++ gpsd-3.25/debian/libgps30t64.lintian-overrides 2024-02-06
05:41:21.000000000 +0000
@@ -0,0 +1 @@
+libgps30t64: package-name-doesnt-match-sonames libgps30
diff -Nru gpsd-3.25/debian/libgpsLIBGPSSONAME.symbols
gpsd-3.25/debian/libgpsLIBGPSSONAME.symbols
--- gpsd-3.25/debian/libgpsLIBGPSSONAME.symbols 2023-06-24 00:05:21.000000000
+0000
+++ gpsd-3.25/debian/libgpsLIBGPSSONAME.symbols 2024-02-06 05:46:47.000000000
+0000
@@ -1,4 +1,4 @@
-libgps.so.LIBGPSSONAME libgpsLIBGPSSONAME #MINVER#
+libgps.so.LIBGPSSONAME libgpsLIBGPS_PKG_SUFFIX #MINVER#
* Build-Depends-Package: libgps-dev
(c++)"gpsmm::clear_fix()@Base" 3.3
(c++)"gpsmm::data()@Base" 3.3
diff -Nru gpsd-3.25/debian/libqgpsmm30t64.lintian-overrides
gpsd-3.25/debian/libqgpsmm30t64.lintian-overrides
--- gpsd-3.25/debian/libqgpsmm30t64.lintian-overrides 1970-01-01
00:00:00.000000000 +0000
+++ gpsd-3.25/debian/libqgpsmm30t64.lintian-overrides 2024-02-06
05:41:21.000000000 +0000
@@ -0,0 +1 @@
+libqgpsmm30t64: package-name-doesnt-match-sonames libqgpsmm30
diff -Nru gpsd-3.25/debian/libqgpsmmLIBGPSSONAME.symbols
gpsd-3.25/debian/libqgpsmmLIBGPSSONAME.symbols
--- gpsd-3.25/debian/libqgpsmmLIBGPSSONAME.symbols 2023-06-24
00:05:21.000000000 +0000
+++ gpsd-3.25/debian/libqgpsmmLIBGPSSONAME.symbols 2024-02-06
05:47:01.000000000 +0000
@@ -1,4 +1,4 @@
-libQgpsmm.so.LIBGPSSONAME libqgpsmmLIBGPSSONAME #MINVER#
+libQgpsmm.so.LIBGPSSONAME libqgpsmmLIBGPS_PKG_SUFFIX #MINVER#
* Build-Depends-Package: libqgpsmm-dev
#MISSING:" 3.12# (c++|optional)"gps_shm_close(gps_data_t*)@Base" 3.5
gps_shm_close@Base 3.12
diff -Nru gpsd-3.25/debian/rules gpsd-3.25/debian/rules
--- gpsd-3.25/debian/rules 2023-06-24 00:05:21.000000000 +0000
+++ gpsd-3.25/debian/rules 2024-02-06 05:49:35.000000000 +0000
@@ -7,6 +7,7 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
LIBGPS_SONAME := $(strip $(shell grep -E '^libgps_version_current' SConscript
| sed 's,.*=[^0-9]*\([0-9]*\).*,\1,'))
+LIBGPS_PKG_SUFFIX := $(LIBGPS_SONAME)t64
export QT_SELECT=qt5
@@ -17,7 +18,7 @@
endif
LIBGPS_DEBIAN_FILE_SOURCES := $(strip $(shell ls -1 debian/*LIBGPSSONAME* ))
-LIBGPS_DEBIAN_FILE_TARGETS := $(strip $(shell echo
$(LIBGPS_DEBIAN_FILE_SOURCES) | sed 's,LIBGPSSONAME,$(LIBGPS_SONAME),g'))
+LIBGPS_DEBIAN_FILE_TARGETS := $(strip $(shell echo
$(LIBGPS_DEBIAN_FILE_SOURCES) | sed 's,LIBGPSSONAME,$(LIBGPS_PKG_SUFFIX),g'))
#python versions
PYTHON3 := python3
@@ -90,13 +91,13 @@
$(LIBGPS_DEBIAN_FILE_TARGETS): $(LIBGPS_DEBIAN_FILE_SOURCES)
for source in $(LIBGPS_DEBIAN_FILE_SOURCES); do \
- target=$$(echo "$$source" | sed
's,LIBGPSSONAME,$(LIBGPS_SONAME),g') ;\
- sed 's,LIBGPSSONAME,$(LIBGPS_SONAME),g' "$$source" > "$$target"
;\
+ target=$$(echo "$$source" | sed
's,LIBGPSSONAME,$(LIBGPS_PKG_SUFFIX),g) ;\
+ sed 's,LIBGPSSONAME,$(LIBGPS_SONAME),g;
s,LIBGPS_PKG_SUFFIX,$(LIBGPS_PKG_SUFFIX),g' "$$source" > "$$target" ;\
done
debian/control: debian/control.in
rm -f $@
- sed 's,LIBGPSSONAME,$(LIBGPS_SONAME),g' $< > $@
+ sed 's,LIBGPS_PKG_SUFFIX,$(LIBGPS_PKG_SUFFIX),g' $< > $@
-if which git 1>/dev/null && [ -d .git ]; then \
git add debian/control ;\
git commit -m 'Updating debian/control from
debian/control.in' debian/control ;\
@@ -182,7 +183,7 @@
dh_install
# quirk to avoid issues by broken fakeroot misdetecting links as files
and
# then breaking dh_install -> cp -a fatally
- ln -s libgps.so.$(LIBGPS_SONAME).0.0
debian/libgps$(LIBGPS_SONAME)/usr/lib/$(DEB_HOST_MULTIARCH)/libgps.so.$(LIBGPS_SONAME)
+ ln -s libgps.so.$(LIBGPS_SONAME).0.0
debian/libgps$(LIBGPS_PKG_SUFFIX)/usr/lib/$(DEB_HOST_MULTIARCH)/libgps.so.$(LIBGPS_SONAME)
# these files do not need to be executable
chmod -x
debian/gpsd-clients/usr/share/doc/gpsd-clients/examples/skyview.php
chmod -x
debian/$(PACKAGE_PY3)/usr/lib/python3*/*-packages/gps/__init__.py
@@ -217,8 +218,8 @@
dh_fixperms -Xgpsd.hotplug
dh_lintian
ifeq (,$(DEB_BUILD_OPTIONS))
- dh_makeshlibs -Nlibqgpsmm$(LIBGPS_SONAME) -- -c4
- dh_makeshlibs -plibqgpsmm$(LIBGPS_SONAME) -- -c1
+ dh_makeshlibs -Nlibqgpsmm$(LIBGPS_PKG_SUFFIX) -- -c4
+ dh_makeshlibs -plibqgpsmm$(LIBGPS_PKG_SUFFIX) -- -c1
else
dh_makeshlibs
endif
--- End Message ---