Bug#1014860: buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u1

2022-07-28 Thread Emilio Pozuelo Monfort

On 19/07/2022 14:06, Emilio Pozuelo Monfort wrote:

On 15/07/2022 14:24, Emilio Pozuelo Monfort wrote:

Control: retitle -1 buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u2

On 13/07/2022 12:55, Emilio Pozuelo Monfort wrote:

Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-llvm-t...@lists.alioth.debian.org

This backports LLVM 13 to buster, for Firefox/Thunderbird ESR 102.

The changes from the bullseye backport are minimal, debdiff attached.

I have already uploaded the package, but let me know if you have any
comments.


I have noticed a couple of problems:

- there's a build-dep that worked for me because of the alternative, but 
didn't in the buildds. I have addressed that here.

- I brought back mips support


The mips changes were incomplete. I have uploaded deb10u3 with an additional fix 
for mips. Unlikely that there's anyone still using firefox in mips, specially as 
it hasn't been built in a long time, but the fix is easy so let's go ahead with it.


Brown paper bag release, this adds mips in one extra place. Uploaded.

Thanks,
Emiliodiff -Nru llvm-toolchain-13-13.0.1/debian/changelog 
llvm-toolchain-13-13.0.1/debian/changelog
--- llvm-toolchain-13-13.0.1/debian/changelog   2022-07-19 11:37:05.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/changelog   2022-07-21 09:14:44.0 
+0200
@@ -1,3 +1,9 @@
+llvm-toolchain-13 (1:13.0.1-6~deb10u4) buster; urgency=medium
+
+  * Disable libunwind on mips.
+
+ -- Emilio Pozuelo Monfort   Thu, 21 Jul 2022 09:14:44 +0200
+
 llvm-toolchain-13 (1:13.0.1-6~deb10u3) buster; urgency=medium
 
   * Disable lldb on mips.
diff -Nru llvm-toolchain-13-13.0.1/debian/rules 
llvm-toolchain-13-13.0.1/debian/rules
--- llvm-toolchain-13-13.0.1/debian/rules   2022-07-18 10:16:39.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/rules   2022-07-21 09:14:36.0 
+0200
@@ -255,7 +255,7 @@
 
 # Enable libunwind (or not)
 LIBUNWIND_ENABLE=yes
-ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mipsel hurd-i386 powerpc 
sparc sparc64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), s390x armel m68k mips mipsel hurd-i386 
powerpc sparc sparc64 x32))
   LIBUNWIND_ENABLE=no
 # do not use compiler-rt builtins for libcxx (libcxxabi) when libunwind is
 # disabled since the gnu implementation in libgcc_s will then be required


Bug#1014860: buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u1

2022-07-19 Thread Emilio Pozuelo Monfort

On 15/07/2022 14:24, Emilio Pozuelo Monfort wrote:

Control: retitle -1 buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u2

On 13/07/2022 12:55, Emilio Pozuelo Monfort wrote:

Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-llvm-t...@lists.alioth.debian.org

This backports LLVM 13 to buster, for Firefox/Thunderbird ESR 102.

The changes from the bullseye backport are minimal, debdiff attached.

I have already uploaded the package, but let me know if you have any
comments.


I have noticed a couple of problems:

- there's a build-dep that worked for me because of the alternative, but didn't 
in the buildds. I have addressed that here.

- I brought back mips support


The mips changes were incomplete. I have uploaded deb10u3 with an additional fix 
for mips. Unlikely that there's anyone still using firefox in mips, specially as 
it hasn't been built in a long time, but the fix is easy so let's go ahead with it.


Cheers,
Emiliodiff -Nru llvm-toolchain-13-13.0.1/debian/changelog 
llvm-toolchain-13-13.0.1/debian/changelog
--- llvm-toolchain-13-13.0.1/debian/changelog   2022-07-15 11:10:37.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/changelog   2022-07-19 11:37:05.0 
+0200
@@ -1,3 +1,9 @@
+llvm-toolchain-13 (1:13.0.1-6~deb10u3) buster; urgency=medium
+
+  * Disable lldb on mips.
+
+ -- Emilio Pozuelo Monfort   Tue, 19 Jul 2022 11:37:05 +0200
+
 llvm-toolchain-13 (1:13.0.1-6~deb10u2) buster; urgency=medium
 
   * Don't build-dep on llvm-spirv, it's not available in buster
diff -Nru llvm-toolchain-13-13.0.1/debian/rules 
llvm-toolchain-13-13.0.1/debian/rules
--- llvm-toolchain-13-13.0.1/debian/rules   2022-07-15 11:10:37.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/rules   2022-07-18 10:16:39.0 
+0200
@@ -328,7 +328,7 @@
 endif
 
 LLDB_ENABLE=yes
-LLDB_DISABLE_ARCHS := hurd-i386 ia64 powerpc powerpcspe ppc64 riscv64 sparc64 
mips64el mipsel
+LLDB_DISABLE_ARCHS := hurd-i386 ia64 powerpc powerpcspe ppc64 riscv64 sparc64 
mips mips64el mipsel
 # hurd has threading issues
 ifeq (,$(filter-out $(LLDB_DISABLE_ARCHS), $(DEB_HOST_ARCH)))
 # Disable LLDB for this arch.


Bug#1014860: buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u1

2022-07-15 Thread Emilio Pozuelo Monfort

Control: retitle -1 buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u2

On 13/07/2022 12:55, Emilio Pozuelo Monfort wrote:

Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-llvm-t...@lists.alioth.debian.org

This backports LLVM 13 to buster, for Firefox/Thunderbird ESR 102.

The changes from the bullseye backport are minimal, debdiff attached.

I have already uploaded the package, but let me know if you have any
comments.


I have noticed a couple of problems:

- there's a build-dep that worked for me because of the alternative, but didn't 
in the buildds. I have addressed that here.

- I brought back mips support

I have uploaded deb10u2, debdiff attached. Let's see if that works better.

Cheers,
Emiliodiff -Nru llvm-toolchain-13-13.0.1/debian/changelog 
llvm-toolchain-13-13.0.1/debian/changelog
--- llvm-toolchain-13-13.0.1/debian/changelog   2022-07-06 16:28:45.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/changelog   2022-07-15 11:10:37.0 
+0200
@@ -1,3 +1,11 @@
+llvm-toolchain-13 (1:13.0.1-6~deb10u2) buster; urgency=medium
+
+  * Don't build-dep on llvm-spirv, it's not available in buster
+and having an alternative doesn't work on the buildds.
+  * Add support for mips in various places.
+
+ -- Emilio Pozuelo Monfort   Fri, 15 Jul 2022 11:10:37 +0200
+
 llvm-toolchain-13 (1:13.0.1-6~deb10u1) buster; urgency=medium
 
   * Non-maintainer upload.
diff -Nru llvm-toolchain-13-13.0.1/debian/clang-tools-X.Y.install.in 
llvm-toolchain-13-13.0.1/debian/clang-tools-X.Y.install.in
--- llvm-toolchain-13-13.0.1/debian/clang-tools-X.Y.install.in  2022-06-04 
15:29:01.0 +0200
+++ llvm-toolchain-13-13.0.1/debian/clang-tools-X.Y.install.in  2022-07-15 
11:10:37.0 +0200
@@ -55,7 +55,7 @@
 usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-c++
 usr/lib/llvm-@LLVM_VERSION@/libexec/intercept-cc
 
-[!armel !armhf !ppc64el !hurd-any !s390x !powerpc !ppc64 !mipsel !mips64el 
!sparc64 !riscv64] 
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/bin/hwasan_symbolize
+[!armel !armhf !ppc64el !hurd-any !s390x !powerpc !ppc64 !mips !mipsel 
!mips64el !sparc64 !riscv64] 
usr/lib/llvm-@LLVM_VERSION@/lib/clang/@LLVM_VERSION_FULL@/bin/hwasan_symbolize
 
 clang/tools/scan-build-@LLVM_VERSION@  usr/share/clang/
 clang/tools/scan-view-@LLVM_VERSION@   usr/share/clang/
diff -Nru llvm-toolchain-13-13.0.1/debian/control 
llvm-toolchain-13-13.0.1/debian/control
--- llvm-toolchain-13-13.0.1/debian/control 2022-06-04 15:30:01.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/control 2022-07-15 11:10:37.0 
+0200
@@ -14,7 +14,7 @@
 libxml2-dev,
 libjsoncpp-dev, pkg-config,
 lcov, procps, help2man, zlib1g-dev,
-g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc 
ppc64 s390 s390x sparc sparc64 x32],
+g++-multilib [amd64 i386 kfreebsd-amd64 mips mips64 mips64el mipsel 
powerpc ppc64 s390 s390x sparc sparc64 x32],
 libjs-mathjax, python3-recommonmark,
 doxygen, gfortran,
 ocaml-base [amd64 arm64 armhf ppc64el riscv64 s390x] | ocaml-nox [amd64 
arm64 armhf ppc64el riscv64 s390x],
@@ -22,12 +22,12 @@
 libctypes-ocaml-dev [amd64 arm64 armhf ppc64el riscv64 s390x],
 dh-exec, dh-ocaml [amd64 arm64 armhf ppc64el riscv64 s390x],
 libpfm4-dev [linux-any], python3-setuptools, libz3-dev,
-llvm-spirv [ amd64 arm64 armel armhf mips64el mipsel ppc64el s390x ] 
 | hello [!i386],
+#llvm-spirv [ amd64 arm64 armel armhf mips mips64el mipsel ppc64el s390x ] 
 | hello [!i386],
 spirv-tools [ linux-any ] | hello [ !i386],
-libgrpc++-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el 
powerpc riscv64 s390x],
-protobuf-compiler-grpc [amd64 arm64 armel armhf mips64el mipsel ppc64 
ppc64el powerpc riscv64 s390x],
-libprotobuf-dev [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el 
powerpc riscv64 s390x],
-protobuf-compiler [amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el 
powerpc riscv64 s390x]
+libgrpc++-dev [amd64 arm64 armel armhf mips mips64el mipsel ppc64 ppc64el 
powerpc riscv64 s390x],
+protobuf-compiler-grpc [amd64 arm64 armel armhf mips mips64el mipsel ppc64 
ppc64el powerpc riscv64 s390x],
+libprotobuf-dev [amd64 arm64 armel armhf mips mips64el mipsel ppc64 
ppc64el powerpc riscv64 s390x],
+protobuf-compiler [amd64 arm64 armel armhf mips mips64el mipsel ppc64 
ppc64el powerpc riscv64 s390x]
 # "| hello" is for older buster/bionic distros without spirv support
 Build-Conflicts: oprofile
 Standards-Version: 4.2.1
@@ -465,7 +465,7 @@
 # - lld -
 
 Package: lld-13
-Architecture: amd64 arm64 armel armhf i386 mipsel mips64el ppc64el 
kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa m68k powerpcspe ppc64 
sh4 sparc64 x32 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el 
kfreebsd-amd64 kfreebsd-i386 s390 s390x sparc alpha hppa 

Bug#1014860: buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u1

2022-07-13 Thread Emilio Pozuelo Monfort

On 13/07/2022 12:55, Emilio Pozuelo Monfort wrote:

debdiff attached.


Now for real (thanks Paul).

Cheers,
Emiliodiff -Nru llvm-toolchain-13-13.0.1/debian/changelog 
llvm-toolchain-13-13.0.1/debian/changelog
--- llvm-toolchain-13-13.0.1/debian/changelog   2022-06-16 12:00:08.0 
+0200
+++ llvm-toolchain-13-13.0.1/debian/changelog   2022-07-06 16:28:45.0 
+0200
@@ -1,3 +1,11 @@
+llvm-toolchain-13 (1:13.0.1-6~deb10u1) buster; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport to buster.
+  * Don't install libclang grpc proto libs, they are not built in buster.
+
+ -- Emilio Pozuelo Monfort   Wed, 06 Jul 2022 16:28:45 +0200
+
 llvm-toolchain-13 (1:13.0.1-6~deb11u1) bullseye; urgency=medium
 
   * Non-maintainer upload.
diff -Nru llvm-toolchain-13-13.0.1/debian/libclang-X.Y-dev.install.in 
llvm-toolchain-13-13.0.1/debian/libclang-X.Y-dev.install.in
--- llvm-toolchain-13-13.0.1/debian/libclang-X.Y-dev.install.in 2022-06-04 
15:29:01.0 +0200
+++ llvm-toolchain-13-13.0.1/debian/libclang-X.Y-dev.install.in 2022-07-06 
16:28:17.0 +0200
@@ -7,8 +7,3 @@
 usr/lib/llvm-@LLVM_VERSION@/lib/libclang.so
 usr/lib/llvm-@LLVM_VERSION@/lib/libclang-@LLVM_VERSION@*.so
 usr/lib/llvm-@LLVM_VERSION@/lib/libfindAllSymbols.a
-
-# clangd grpc architectures
-[amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x] 
usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexProto.a
-[amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x] 
usr/lib/llvm-@LLVM_VERSION@/lib/libRemoteIndexServiceProto.a
-[amd64 arm64 armel armhf mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x] 
usr/lib/llvm-@LLVM_VERSION@/lib/libMonitoringServiceProto.a


Bug#1014860: buster-pu: package llvm-toolchain-13/1:13.0.1-6~deb10u1

2022-07-13 Thread Emilio Pozuelo Monfort
Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian@packages.debian.org
Usertags: pu
X-Debbugs-Cc: pkg-llvm-t...@lists.alioth.debian.org

This backports LLVM 13 to buster, for Firefox/Thunderbird ESR 102.

The changes from the bullseye backport are minimal, debdiff attached.

I have already uploaded the package, but let me know if you have any
comments.

Cheers,
Emilio