#1128986 clang-tools-21: Missing/misplaced clang-doc assets in the clang-tools package

Package:
clang-tools-21
Source:
clang-tools-21
Description:
clang-based tools for C/C++ developments
Submitter:
Sylvain Joubert
Date:
2026-02-25 13:05:02 UTC
Severity:
normal
#1128986#5
Date:
2026-02-25 13:02:43 UTC
From:
To:
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