Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832139 - app-text/texlive-core: tlmgr not set up (Can't locate TeXLive/ in @INC)
Summary: app-text/texlive-core: tlmgr not set up (Can't locate TeXLive/ in ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Alexis Ballier
Depends on:
Reported: 2022-01-27 04:23 UTC by ta2002
Modified: 2022-02-07 02:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2022-01-27 04:23:57 UTC
Yes, I read bugs 263194 and 326527 (and 623126 and 623138 and 623140 and 675632).

$ locate TeXLive

$ locate tlmgr

$ /usr/share/texmf-dist/scripts/texlive/ --help
Can't locate TeXLive/ in @INC (you may need to install the TeXLive::TLConfig module) (@INC contains: /usr/share/texmf-dist/scripts/texlive/../../texmf-dist/scripts/texlive /usr/share/texmf-dist/scripts/texlive/../../tlpkg /etc/perl /usr/local/lib64/perl5/5.34/x86_64-linux /usr/local/lib64/perl5/5.34 /usr/lib64/perl5/vendor_perl/5.34/x86_64-linux /usr/lib64/perl5/vendor_perl/5.34 /usr/lib64/perl5/5.34/x86_64-linux /usr/lib64/perl5/5.34) at /usr/share/texmf-dist/scripts/texlive/ line 102.
BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/texlive/ line 102.

The tlmgr utility installs additional packages not provided by Gentoo.
Comment 1 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2022-02-04 21:51:54 UTC

the answer is:

...and we will never enable it to avoid the mess.
Comment 2 ta2002 2022-02-07 01:58:47 UTC
In that case, I would claim that you should completely remove the /usr/share/tlpkg directory before installation.

I had just discussed this in a forum post, and Hu (long-time moderator) noted that: "If Portage installed both tlmgr and, and the result did not work, then in my opinion, that is a Gentoo bug and should be reported as such. Portage makes no guarantees that custom upstream package managers will follow Gentoo's rules, but if you got all the pieces from Portage, then Portage should be responsible for making them work together."
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-07 02:06:28 UTC
Indeed. I don't see why we should install files which we don't expect to work.