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

Sylvain Joubert joubert.sy at gmail.com
Wed Feb 25 13:02:43 GMT 2026


Package: clang-tools-21
Version: 1:21.1.8-3+b1
Severity: normal
X-Debbugs-Cc: joubert.sy at 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



More information about the Pkg-llvm-team mailing list