Bug#1133678: mold: Please don't build-depend on clang on arches where it's not available
John Paul Adrian Glaubitz <[email protected]> Mon, 13 Apr 2026 17:42:48 +0200
| Newsgroups | gmane.linux.debian.ports.superh |
|---|---|
| Message-ID | <177609496858.995335.12531101696585829674.reportbug__37946.7251290166$1776095138$gmane$org@login1.physik.fu-berlin.de> |
This is a multi-part MIME message sent by reportbug. --===============2328377730826820932== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Source: mold Version: 2.40.4+dfsg-2.1 Severity: important Tags: patch X-Debbugs-Cc: [email protected],[email protected],[email protected],[email protected] User: [email protected] Usertags: alpha hppa m68k sh4 Hi, this previous change [1] to mold made it BD-Uninstallable on architectures where clang is not available. Since those build dependencies are optional according to the commit message, clang should be added to Build-Depends on only on architectures where its available. The attached patch fixes this. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 --===============2328377730826820932== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mold-disable-clang-on-unsupported-archs.diff" --- debian/control.orig 2025-11-22 18:25:50.000000000 +0100 +++ debian/control 2026-04-13 17:37:17.996915777 +0200 @@ -10,7 +10,7 @@ libtbb-dev (>= 2021.9.0), libzstd-dev, zlib1g-dev, - clang, + clang [amd64 arm64 armhf i386 loong64 ppc64el risc64 s390x powerpc ppc64 sparc64 x32], gcc-multilib [amd64 i386 powerpc ppc64 s390x sparc64 x32], gdb, zstd, --===============2328377730826820932==--