void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.5k stars 2.11k forks source link

texlive has symlinks between subpkgs without dependency relationships #43674

Open meator opened 1 year ago

meator commented 1 year ago

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

  1. xbps-install -S texlive
  2. extractbb
classabbyamp commented 1 year ago

cc @fosslinux

fosslinux commented 1 year ago

/usr/bin/extractbb should be vmoved into texlive-Xdvi. I'll do this in my upcoming TeXLive 2023 PR.

classabbyamp commented 1 year ago

there are a few other symlinks to xdvipdfmx that should probably be vmoved differently too:

texlive-20210325_5       /usr/bin/ebb -> /usr/bin/xdvipdfmx
texlive-20210325_5       /usr/bin/extractbb -> /usr/bin/xdvipdfmx
texlive-Xdvi-20210325_5  /usr/bin/xdvipdfmx
texlive-dvi-20210325_5   /usr/bin/dvipdfm -> /usr/bin/xdvipdfmx
texlive-dvi-20210325_5   /usr/bin/dvipdfmx -> /usr/bin/xdvipdfmx
meator commented 1 year ago

I found another one.

texlive-20210325_5          /usr/bin/epstopdf -> ../share/texmf-dist/scripts/epstopdf/epstopdf.pl

/usr/share/texmf-dist/scripts/epstopdf/epstopdf.pl is in texlive-ConTeXt.