diff -Nru llvm-toolchain-12-12.0.1/debian/changelog llvm-toolchain-12-12.0.1/debian/changelog --- llvm-toolchain-12-12.0.1/debian/changelog 2022-02-03 19:30:03.000000000 +0000 +++ llvm-toolchain-12-12.0.1/debian/changelog 2022-02-04 17:19:26.000000000 +0000 @@ -1,3 +1,11 @@ +llvm-toolchain-12 (1:12.0.1-19ubuntu3) jammy; urgency=medium + + * d/rules: Adjust d/llvm-X.Y-dev.install accordingly when building on + i386 (i.e., don't install libRemoteIndex{ServiceProto,Proto}.a in such + case). + + -- Sergio Durigan Junior Fri, 04 Feb 2022 12:19:26 -0500 + llvm-toolchain-12 (1:12.0.1-19ubuntu2) jammy; urgency=medium * d/rules: Don't remove libRemoteIndex{ServiceProto,Proto}.a. These are diff -Nru llvm-toolchain-12-12.0.1/debian/control llvm-toolchain-12-12.0.1/debian/control --- llvm-toolchain-12-12.0.1/debian/control 2022-02-03 07:39:13.000000000 +0000 +++ llvm-toolchain-12-12.0.1/debian/control 2022-02-04 17:19:26.000000000 +0000 @@ -2,7 +2,8 @@ Section: devel Priority: optional Rules-Requires-Root: no -Maintainer: LLVM Packaging Team +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: LLVM Packaging Team Uploaders: Sylvestre Ledru , Gianfranco Costamagna Build-Depends: debhelper (>= 9.0), cmake, ninja-build, chrpath, texinfo, sharutils, diff -Nru llvm-toolchain-12-12.0.1/debian/rules llvm-toolchain-12-12.0.1/debian/rules --- llvm-toolchain-12-12.0.1/debian/rules 2022-02-03 19:29:38.000000000 +0000 +++ llvm-toolchain-12-12.0.1/debian/rules 2022-02-04 17:19:26.000000000 +0000 @@ -447,6 +447,11 @@ sed -i -e "s|#spv\ ||g" debian/libclc-$(LLVM_VERSION).install; \ fi +ifeq ($(VENDOR)-$(DEB_HOST_ARCH),Ubuntu-i386) + # Ubuntu doesn't build GRPC on i386. + sed -i '/^usr\/lib.*libRemoteIndex.*\.a$$/d' debian/llvm-$(LLVM_VERSION)-dev.install +endif + # Override this two targets. They are trying to manage the .in conversion for me override_dh_ocamlinit: override_dh_ocamlclean: