void-linux / void-linux/void-packages

llvm21--symlinks to nonexistent file /usr/lib/llvm/21/bin/prepare_builtins

Open
#61,051 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.18.35_1 x86_64-musl AuthenticAMD uptodate rrrrnDF

Package(s) Affected

llvm21

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

no such symlink is created (for llvm21 only)

Actual behaviour

xbps-alternatives/xbps-install outputs the following:
Creating 'llvm' alternatives group symlink: /usr/bin/prepare_builtins -> /usr/lib/llvm/21/bin/prepare_builtins
and acts accordingly. /usr/lib/llvm/21/bin/prepare_builtins is not provided by any package on Void Linux

Steps to reproduce

xbps-install -S llvm21 and/or xbps-install -S llvm21

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the llvm21 package metadata and the xbps-alternatives configuration responsible for /usr/bin/prepare_builtins. Reproduce the llvm21 installation, then trace why the nonexistent /usr/lib/llvm/21/bin/prepare_builtins enters the alternatives group. Done means installing llvm21 no longer creates that symlink.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.