Bug#1064166: ldc: NMU diff for 64-bit time_t transition

2024-02-23 Thread Steve Langasek
On Sat, Feb 24, 2024 at 08:12:09AM +0100, Matthias Klumpp wrote:
> Am Sa., 24. Feb. 2024 um 08:00 Uhr schrieb Steve Langasek :

> > Hi Matthias,
> >
> > I see you've implemented this as:
> >
> > ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
> > export DEB_BUILD_MAINT_OPTIONS += abi=+time64,+lfs
> > endif
> >
> > Please note that armhf is not the only architecture affected by this ABI
> > change: armel is also a release architecture affected, and there are a
> > number of other 32-bit ports architectures which are affected (hppa,
> > powerpc, ...)
> 
> I know, but LDC does not exist on these architectures ;-)

Ah, fair enough!

-- 
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


signature.asc
Description: PGP signature


Bug#1064166: ldc: NMU diff for 64-bit time_t transition

2024-02-23 Thread Matthias Klumpp
Am Sa., 24. Feb. 2024 um 08:00 Uhr schrieb Steve Langasek :
>
> Hi Matthias,
>
> I see you've implemented this as:
>
> ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
> export DEB_BUILD_MAINT_OPTIONS += abi=+time64,+lfs
> endif
>
> Please note that armhf is not the only architecture affected by this ABI
> change: armel is also a release architecture affected, and there are a
> number of other 32-bit ports architectures which are affected (hppa,
> powerpc, ...)

I know, but LDC does not exist on these architectures ;-)

Cheers,
Matthias

-- 
I welcome VSRE emails. See http://vsre.info/



Bug#1064166: ldc: NMU diff for 64-bit time_t transition

2024-02-23 Thread Steve Langasek
Hi Matthias,

I see you've implemented this as:

ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
export DEB_BUILD_MAINT_OPTIONS += abi=+time64,+lfs
endif

Please note that armhf is not the only architecture affected by this ABI
change: armel is also a release architecture affected, and there are a
number of other 32-bit ports architectures which are affected (hppa,
powerpc, ...)

Thanks,
-- 
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


signature.asc
Description: PGP signature


Bug#1064166: ldc: NMU diff for 64-bit time_t transition

2024-02-17 Thread Steve Langasek
Source: ldc
Version: 1:1.35.0-1.2
Severity: important
Tags: patch pending sid trixie
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
ldc 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 ldc
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 ldc-1.35.0/debian/changelog ldc-1.35.0/debian/changelog
--- ldc-1.35.0/debian/changelog 2024-01-30 18:11:42.0 +
+++ ldc-1.35.0/debian/changelog 2024-02-17 22:28:30.0 +
@@ -1,3 +1,10 @@
+ldc (1:1.35.0-1.3) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Rename libraries for 64-bit time_t transition.
+
+ -- Steve Langasek   Sat, 17 Feb 2024 22:28:30 +
+
 ldc (1:1.35.0-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru ldc-1.35.0/debian/control ldc-1.35.0/debian/control
--- ldc-1.35.0/debian/control   2023-11-07 15:15:22.0 +
+++ ldc-1.35.0/debian/control   2024-02-17 22:28:30.0 +
@@ -40,7 +40,10 @@
  It uses the official DMD compiler frontend to support the latest version
  of D, and relies on the LLVM Core libraries for code generation.
 
-Package: libphobos2-ldc-shared105
+Package: libphobos2-ldc-shared105t64
+Provides: ${t64:Provides}
+Replaces: libphobos2-ldc-shared105
+Breaks: libphobos2-ldc-shared105 (<< ${source:Version})
 Section: libs
 Architecture: amd64 arm64 armhf i386
 Multi-Arch: same
@@ -58,7 +61,7 @@
 Package: libphobos2-ldc-shared-dev
 Section: libdevel
 Architecture: amd64 arm64 armhf i386
-Depends: libphobos2-ldc-shared105 (= ${binary:Version}),
+Depends: libphobos2-ldc-shared105t64 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends}
 Provides: libphobos2-ldc-dev
diff -Nru ldc-1.35.0/debian/libphobos2-ldc-shared105.install 
ldc-1.35.0/debian/libphobos2-ldc-shared105.install
--- ldc-1.35.0/debian/libphobos2-ldc-shared105.install  2023-11-04 
17:40:54.0 +
+++ ldc-1.35.0/debian/libphobos2-ldc-shared105.install  1970-01-01 
00:00:00.0 +
@@ -1,2 +0,0 @@
-#!/usr/bin/dh-exec
-usr/lib/*-ldc-shared.so.*  usr/lib/${DEB_HOST_MULTIARCH}/
diff -Nru ldc-1.35.0/debian/libphobos2-ldc-shared105t64.install 
ldc-1.35.0/debian/libphobos2-ldc-shared105t64.install
--- ldc-1.35.0/debian/libphobos2-ldc-shared105t64.install   1970-01-01 
00:00:00.0 +
+++ ldc-1.35.0/debian/libphobos2-ldc-shared105t64.install   2023-11-04 
17:40:54.0 +
@@ -0,0 +1,2 @@
+#!/usr/bin/dh-exec
+usr/lib/*-ldc-shared.so.*  usr/lib/${DEB_HOST_MULTIARCH}/
diff -Nru ldc-1.35.0/debian/libphobos2-ldc-shared105t64.lintian-overrides 
ldc-1.35.0/debian/libphobos2-ldc-shared105t64.lintian-overrides
--- ldc-1.35.0/debian/libphobos2-ldc-shared105t64.lintian-overrides 
1970-01-01 00:00:00.0 +
+++ ldc-1.35.0/debian/libphobos2-ldc-shared105t64.lintian-overrides 
2024-02-17 22:28:30.0 +
@@ -0,0 +1 @@
+libphobos2-ldc-shared105t64: package-name-doesnt-match-sonames 
libphobos2-ldc-shared105