[From nobody Sun Nov 15 15:11:11 2026
Received: (at submit) by bugs.debian.org; 27 Mar 2020 10:12:39 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-21.1 required=4.0 tests=BAYES_00,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,TXREP,XMAILER_REPORTBUG,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 16; hammy, 150; neutral, 79; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug,
 0.000-+--H*UA:reportbug, 0.000-+--exp1
Return-path: &lt;iain@orangesquash.org.uk&gt;
Received: from cripps.orangesquash.org.uk ([2001:ba8:1f1:d00::1]:45834)
 by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;iain@orangesquash.org.uk&gt;)
 id 1jHlyh-0001Ey-5r
 for submit@bugs.debian.org; Fri, 27 Mar 2020 10:12:39 +0000
Received: by cripps.orangesquash.org.uk (Postfix, from userid 65534)
 id 023ED206CD; Fri, 27 Mar 2020 10:12:31 +0000 (GMT)
Received: from raleigh.internal (44.8.187.81.in-addr.arpa [81.187.8.44])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by cripps.orangesquash.org.uk (Postfix) with ESMTPSA id D30C2200A8
 for &lt;submit@bugs.debian.org&gt;; Fri, 27 Mar 2020 10:12:30 +0000 (GMT)
Received: by raleigh.internal (Postfix, from userid 1000)
 id 02D46CC0D35; Fri, 27 Mar 2020 10:12:29 +0000 (GMT)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Iain Lane &lt;iain@orangesquash.org.uk&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: llvm-dev doesn't ensure that the corresponding clang is installed
Message-ID: &lt;158530394998.263021.18077869871121118825.reportbug@raleigh&gt;
X-Mailer: reportbug 7.6.0ubuntu1
Date: Fri, 27 Mar 2020 10:12:29 +0000
X-Debbugs-Cc: laney@debian.org
Delivered-To: submit@bugs.debian.org

Package: llvm-dev
Version: 1:10.0-50~exp1
Severity: normal

Hi there,

Please see the attached build log. It's from mozjs68 which has
Build-Depends: llvm-dev, clang.

  Get: 73 https://mirrors.wikimedia.org/debian unstable/main s390x clang-10 s390x 1:10.0.0-1 [104 kB]
  Get: 74 https://mirrors.wikimedia.org/debian experimental/main s390x clang s390x 1:10.0-50~exp1 [8132 B]
  ...
  Get: 97 https://mirrors.wikimedia.org/debian experimental/main s390x libclang-dev s390x 1:10.0-50~exp1 [7756 B]
  ...
  Get: 116 https://mirrors.wikimedia.org/debian unstable/main s390x llvm-9-tools s390x 1:9.0.1-10 [322 kB]
  Get: 117 https://mirrors.wikimedia.org/debian unstable/main s390x llvm-9-dev s390x 1:9.0.1-10 [25.2 MB]
  Get: 118 https://mirrors.wikimedia.org/debian unstable/main s390x llvm-dev s390x 1:9.0-49.1 [8052 B

and then later on the build failed with:

  ERROR: The file /usr/lib/llvm-9/bin/clang returned by `llvm-config --bindir` does not exist.

It ultimately happened because of #954826 meaning clang-9 is
uninstallable ATM. But it would be good if the packaging of llvm could
somehow ensure that the matching clang is always installed - in this
case, it would have required installing llvm-10-dev. I don't actually
see how to achieve this in consuming packages.

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
]