[From nobody Fri Nov 13 20:39:06 2026
Received: (at submit) by bugs.debian.org; 25 Feb 2026 13:02:50 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FOURLA,
 FREEMAIL_FROM,GMAIL,HAS_PACKAGE,NML_ADSP_CUSTOM_MED,NO_RELAYS,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 47; hammy, 150; neutral, 87; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--python3, 0.000-+--forky,
 0.000-+--HTo:N*Debian
Return-path: &lt;joubert.sy@gmail.com&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;joubert.sy@gmail.com&gt;) id 1vvEXR-003PO4-1b
 for submit@bugs.debian.org; Wed, 25 Feb 2026 13:02:50 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Sylvain Joubert &lt;joubert.sy@gmail.com&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: clang-tools-21: Missing/misplaced clang-doc assets in the clang-tools
 package
Message-ID: &lt;177202456334.106543.7647052444606320816.reportbug@L2102-00499.cosmo&gt;
X-Mailer: reportbug 13.2.0
Date: Wed, 25 Feb 2026 14:02:43 +0100
Delivered-To: submit@bugs.debian.org

Package: clang-tools-21
Version: 1:21.1.8-3+b1
Severity: normal
X-Debbugs-Cc: joubert.sy@gmail.com

Dear Maintainer,

Trying to run clang-doc-21 with the HTML output I get the following error:

Emiting docs in html format.
clang-doc error: default index.js file missing at
/usr/lib/llvm-21/bin/../share/clang-doc/index.js

It seems that the clang-doc tool assets are provided by the clang-21-doc, with
the documentation of clang, instead of the clang-tools-21 package which is the
actual home of the clang-doc tool.
Quickly looking at the debian packaging I think that removing
debian/clang-X.Y-doc.install.in and merging its content in debian/clang-
tools-X.Y.install.in should do the trick.

Sylvain


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'stable-updates'), (800, 'stable'), (700, 'unstable'), (90, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.18.12+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clang-tools-21 depends on:
ii  clang-21        1:21.1.8-3+b1
ii  libc6           2.42-13
ii  libclang-cpp21  1:21.1.8-3+b1
ii  libclang1-21    1:21.1.8-3+b1
ii  libgcc-s1       15.2.0-13
ii  libllvm21       1:21.1.8-3+b1
ii  libstdc++6      15.2.0-13
ii  libxml2-16      2.15.1+dfsg-2+b1
ii  libz3-4         4.13.3-1+b1
ii  libzstd1        1.5.7+dfsg-3+b1
ii  python3         3.13.9-3
ii  zlib1g          1:1.3.dfsg+really1.3.1-3

clang-tools-21 recommends no packages.

clang-tools-21 suggests no packages.

-- no debconf information
]