Source: xgks
Version: 2.6.1+dfsg.2-14
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
xgks 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 xgks
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 xgks-2.6.1+dfsg.2/debian/changelog xgks-2.6.1+dfsg.2/debian/changelog
--- xgks-2.6.1+dfsg.2/debian/changelog  2023-12-10 12:35:13.000000000 +0000
+++ xgks-2.6.1+dfsg.2/debian/changelog  2024-02-06 00:00:27.000000000 +0000
@@ -1,3 +1,10 @@
+xgks (2.6.1+dfsg.2-14.1) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek <vor...@debian.org>  Tue, 06 Feb 2024 00:00:27 +0000
+
 xgks (2.6.1+dfsg.2-14) unstable; urgency=medium
 
   * Limit flang-17 B-D to the archs available
diff -Nru xgks-2.6.1+dfsg.2/debian/control xgks-2.6.1+dfsg.2/debian/control
--- xgks-2.6.1+dfsg.2/debian/control    2023-12-10 12:35:13.000000000 +0000
+++ xgks-2.6.1+dfsg.2/debian/control    2024-02-06 00:00:27.000000000 +0000
@@ -12,10 +12,12 @@
 Vcs-Browser: https://salsa.debian.org:/science-team/xgks.git
 Vcs-Git: https://salsa.debian.org:/science-team/xkgs.git
 
-Package: libxgks2
+Package: libxgks2t64
+Provides: ${t64:Provides}
+Breaks: libxgks2 (<< ${source:Version})
 Section: libs
 Architecture: any
-Replaces: libxgks2
+Replaces: libxgks2, libxgks2t64
 Multi-Arch: same
 Depends: ${misc:Depends}, ${shlibs:Depends}, libxgks2-data
 Description: X11 Graphical Kernel Subsystem, library.
@@ -36,7 +38,7 @@
 Package: libxgks-dev
 Section: libdevel
 Architecture: any
-Depends: libxgks2 ( = ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
+Depends: libxgks2t64 ( = ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
 Recommends: pkg-config
 Description: X11 Graphical Kernel Subsystem, development files
  XGKS is a level 2C implementation of the ANSI Graphical Kernel System (GKS) 
@@ -57,7 +59,7 @@
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}
-Recommends: libxgks2 (= ${binary:Version})
+Recommends: libxgks2t64 (= ${binary:Version})
 Description: Font files for the X11 Graphical Kernel Subsystem
  XGKS is a level 2C implementation of the ANSI Graphical Kernel System (GKS)
  for use in a Unix environment with the X Window System. It supports the
diff -Nru xgks-2.6.1+dfsg.2/debian/libxgks2.shlibs 
xgks-2.6.1+dfsg.2/debian/libxgks2.shlibs
--- xgks-2.6.1+dfsg.2/debian/libxgks2.shlibs    2023-12-10 12:35:13.000000000 
+0000
+++ xgks-2.6.1+dfsg.2/debian/libxgks2.shlibs    1970-01-01 00:00:00.000000000 
+0000
@@ -1,3 +0,0 @@
-libxgks-gfortran 2     libxgks2
-libxgks-flang 2        libxgks2
-libudport 2    libxgks2
diff -Nru xgks-2.6.1+dfsg.2/debian/libxgks2t64.lintian-overrides 
xgks-2.6.1+dfsg.2/debian/libxgks2t64.lintian-overrides
--- xgks-2.6.1+dfsg.2/debian/libxgks2t64.lintian-overrides      1970-01-01 
00:00:00.000000000 +0000
+++ xgks-2.6.1+dfsg.2/debian/libxgks2t64.lintian-overrides      2024-02-06 
00:00:27.000000000 +0000
@@ -0,0 +1 @@
+libxgks2t64: package-name-doesnt-match-sonames libxgks2
diff -Nru xgks-2.6.1+dfsg.2/debian/libxgks2t64.shlibs 
xgks-2.6.1+dfsg.2/debian/libxgks2t64.shlibs
--- xgks-2.6.1+dfsg.2/debian/libxgks2t64.shlibs 1970-01-01 00:00:00.000000000 
+0000
+++ xgks-2.6.1+dfsg.2/debian/libxgks2t64.shlibs 2024-02-06 00:00:27.000000000 
+0000
@@ -0,0 +1,3 @@
+libxgks-gfortran 2     libxgks2t64
+libxgks-flang 2        libxgks2t64
+libudport 2    libxgks2t64
diff -Nru xgks-2.6.1+dfsg.2/debian/rules xgks-2.6.1+dfsg.2/debian/rules
--- xgks-2.6.1+dfsg.2/debian/rules      2023-12-10 12:35:13.000000000 +0000
+++ xgks-2.6.1+dfsg.2/debian/rules      2024-02-06 00:00:27.000000000 +0000
@@ -60,18 +60,18 @@
        $(MAKE) -j1 -C build-gfortran/port/misc install DESTDIR=$(DESTDIR)
        #dh_auto_install
        dh_install -p libxgks-dev debian/xgks.pc $(LIBDIR)/pkgconfig
-       dh_install -p libxgks2 ./build-gfortran/lib/c/libxgks-gfortran.so.2.6 
$(LIBDIR)
-       dh_install -p libxgks2 ./build-gfortran/libudport.so.2.6 $(LIBDIR)
+       dh_install -p libxgks2t64 
./build-gfortran/lib/c/libxgks-gfortran.so.2.6 $(LIBDIR)
+       dh_install -p libxgks2t64 ./build-gfortran/libudport.so.2.6 $(LIBDIR)
        dh_install -p libxgks-dev ./build-gfortran/lib/c/libxgks.a       
$(LIBDIR)/fortran/gfortran
        dh_install -p libxgks-dev ./build-gfortran/libudport.a $(LIBDIR)
-       dh_link -p libxgks2 $(LIBDIR)/libxgks-gfortran.so.2.6  
$(LIBDIR)/libxgks-gfortran.so.2
-       dh_link -p libxgks2 $(LIBDIR)/libudport.so.2.6 $(LIBDIR)/libudport.so.2
+       dh_link -p libxgks2t64 $(LIBDIR)/libxgks-gfortran.so.2.6  
$(LIBDIR)/libxgks-gfortran.so.2
+       dh_link -p libxgks2t64 $(LIBDIR)/libudport.so.2.6 
$(LIBDIR)/libudport.so.2
        dh_link -p libxgks-dev $(LIBDIR)/libxgks-gfortran.so.2.6 
$(LIBDIR)/libxgks-gfortran.so
        dh_link -p libxgks-dev $(LIBDIR)/libxgks-gfortran.so.2.6 
$(LIBDIR)/fortran/gfortran/libxgks.so
        dh_link -p libxgks-dev $(LIBDIR)/libudport.so.2.6 $(LIBDIR)/libudport.so
        $(DO_FLANG) && (  \
-               dh_install -p libxgks2 ./build-flang/lib/c/libxgks-flang.so.2.6 
$(LIBDIR) ; \
-               dh_link -p libxgks2 $(LIBDIR)/libxgks-flang.so.2.6  
$(LIBDIR)/libxgks-flang.so.2 ; \
+               dh_install -p libxgks2t64 
./build-flang/lib/c/libxgks-flang.so.2.6 $(LIBDIR) ; \
+               dh_link -p libxgks2t64 $(LIBDIR)/libxgks-flang.so.2.6  
$(LIBDIR)/libxgks-flang.so.2 ; \
                dh_link -p libxgks-dev $(LIBDIR)/libxgks-flang.so.2.6 
$(LIBDIR)/libxgks-flang.so  ; \
                dh_link -p libxgks-dev $(LIBDIR)/libxgks-flang.so.2.6 
$(LIBDIR)/fortran/flang/libxgks.so ; \
                dh_install -p libxgks-dev ./build-gfortran/lib/c/libxgks.a      
 $(LIBDIR)/fortran/flang ; \
diff -Nru xgks-2.6.1+dfsg.2/debian/xgks.pc xgks-2.6.1+dfsg.2/debian/xgks.pc
--- xgks-2.6.1+dfsg.2/debian/xgks.pc    1970-01-01 00:00:00.000000000 +0000
+++ xgks-2.6.1+dfsg.2/debian/xgks.pc    2024-02-06 00:00:27.000000000 +0000
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/lib/x86_64-linux-gnu
+includedir=/usr/include
+
+Name: xgks
+Description: X11 Graphical Kernel Subsystem
+Version: 2.6
+Libs: -L${libdir} -lxgks
+Libs.private: -lgfortran
+Cflags: -I${includedir} 

Reply via email to