void-linux / void-linux/void-packages
texlive has symlinks between subpkgs without dependency relationships
Nobody has claimed this yet.
- 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.1.21_1 x86_64 GenuineIntel uptodate rFFFFFFF
Package(s) Affected
texlive-20210325_5, texlive-Xdvi-20210325_5
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
I have texlive installed but I don't have texlive-Xdvi installed (because it isn't a dependency of texlive). texlive provides the /usr/bin/extractbb program which is actually a symlink to /usr/bin/xdvipdfmx. I expect extractbb to work.
Actual behaviour
/usr/bin/extractbb is a broken symlink because /usr/bin/xdvipdfmx doesn't exist because texlive-Xdvi isn't installed.
Normally I would have added texlive-Xdvi as a dependency of texlive myself but because texlive-Xdvi is a subpackage of texlive, the "correct" solution would (I think) be to merge these two packages and remove texlive-Xdvi which could be complex.
Steps to reproduce
-
xbps-install -S texlive -
extractbb
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the package definitions for texlive and texlive-Xdvi, then reproduce the broken extractbb symlink with xbps-install -S texlive followed by extractbb. Determine the package relationship needed so the provided extractbb command resolves its target without leaving a broken symlink; verify the result with the same installation steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100