[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108308: bookworm-pu: package llvm-toolchain-19/19.1.7-3~deb12u1



Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu

[ Reason ]
With trixie about to release with llvm-toolchain-19 19.1.7, it would be nice (but not critical) to include the additional bugfixes from the llvm 19 series in bookworm's backported llvm 19. We've currently got 19.1.4 in bookworm. Upstream changes can be found at the following URLs; note that some segfaults (ICEs) have been fixed since 19.1.4:
https://discourse.llvm.org/t/llvm-19-1-5-released/83455
https://discourse.llvm.org/t/llvm-19-1-6-released/83723
https://discourse.llvm.org/t/llvm-19-1-7-released/84062

[ Impact ]
Minimal, as (according to reverse-depends -b) chromium appears to be the only user of llvm-toolchain-19 in bookworm currently. This will change in the next few months as firefox-esr gets updated to 140 (which will depend upon a newer rustc-web), so I'd rather do this now instead of later.

[ Tests ]
Chromium 137 succeeded in building and running on clang-19 19.1.7-3~deb12u1 packages.

[ Risks ]
Low risk. Clang-19 is only used by chromium in bookworm.

[ Checklist ]
 [x] *all* changes are documented in the d/changelog
 [x] I reviewed all changes and I approve them
 [x] attach debdiff against the package in stable
 [x] the issue is verified as fixed in unstable

[ Changes ]
I've included two diffs; the first is the diff between 19.1.7 in sid/trixe and what I'm proposing for bookworm, and the second is the diff between 19.1.4-1 and 19.1.7-3.
diff -urN llvm-toolchain-19-19.1.7/debian/changelog ../llvm-toolchain-19-19.1.7/debian/changelog
--- llvm-toolchain-19-19.1.7/debian/changelog	2025-03-14 09:48:31.000000000 +0000
+++ ../llvm-toolchain-19-19.1.7/debian/changelog	2025-06-24 19:08:50.037324873 +0000
@@ -1,3 +1,12 @@
+llvm-toolchain-19 (1:19.1.7-3~deb12u1) bookworm; urgency=medium
+
+  * Non-maintainer upload.
+  * Rebuild for bookworm.
+  * Change build-dep from sid's llvm-spirv-19 to bookworm's llvm-spirv-14.
+  * Add python3-myst-parser build-dep.
+
+ -- Andres Salomon <dilinger@debian.org>  Tue, 24 Jun 2025 19:05:25 +0000
+
 llvm-toolchain-19 (1:19.1.7-3) unstable; urgency=medium
 
   * conditionalize the binutils-gold build-dep
diff -urN llvm-toolchain-19-19.1.7/debian/control ../llvm-toolchain-19-19.1.7/debian/control
--- llvm-toolchain-19-19.1.7/debian/control	2025-03-14 09:48:31.000000000 +0000
+++ ../llvm-toolchain-19-19.1.7/debian/control	2025-06-24 19:10:02.325693227 +0000
@@ -24,10 +24,11 @@
     libctypes-ocaml-dev [amd64 arm64 ppc64el riscv64 s390x],
     dh-exec, dh-ocaml [amd64 arm64 ppc64el riscv64 s390x],
     libpfm4-dev [linux-any], python3-setuptools, libz3-dev [!sh4],
+    python3-myst-parser,
 # "| hello" is for older buster/bionic distros without spirv support
 # We need to keep the constraints coherent between the two alternatives, otherwise
 # hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled
-    llvm-spirv-19 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1> | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>,
+    llvm-spirv-14 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1> | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>,
     spirv-tools [linux-any] <!stage1> | hello [linux-any] <!stage1>,
     wasi-libc | hello,
     libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>,
diff -urN llvm-toolchain-19-19.1.7/debian/control.in ../llvm-toolchain-19-19.1.7/debian/control.in
--- llvm-toolchain-19-19.1.7/debian/control.in	2025-03-14 09:48:31.000000000 +0000
+++ ../llvm-toolchain-19-19.1.7/debian/control.in	2025-06-24 19:06:39.680631660 +0000
@@ -24,10 +24,11 @@
     libctypes-ocaml-dev [@OCAML_ARCHS@],
     dh-exec, dh-ocaml [@OCAML_ARCHS@],
     libpfm4-dev [linux-any], python3-setuptools, @Z3_DEV_DEP@
+    python3-myst-parser,
 # "| hello" is for older buster/bionic distros without spirv support
 # We need to keep the constraints coherent between the two alternatives, otherwise
 # hello would get installed unexpectedly and prevent e.g. wasi-libc from getting pulled
-    llvm-spirv-19 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>@BEGIN_OPTIONAL_HELLO@ | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>@END_OPTIONAL_HELLO@,
+    llvm-spirv-14 [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>@BEGIN_OPTIONAL_HELLO@ | hello [amd64 arm64 armhf i386 ppc64 ppc64el riscv64 s390x] <!stage1>@END_OPTIONAL_HELLO@,
     spirv-tools [linux-any] <!stage1>@BEGIN_OPTIONAL_HELLO@ | hello [linux-any] <!stage1>@END_OPTIONAL_HELLO@,
     wasi-libc@BEGIN_OPTIONAL_HELLO@ | hello@END_OPTIONAL_HELLO@,
     libcurl4-openssl-dev <!stage1> | libcurl-dev <!stage1>,

Attachment: llvm-19.1.4-to-7.patch.gz
Description: application/gzip

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: