Yes, I read bugs 263194 and 326527 (and 623126 and 623138 and 623140 and 675632). $ locate TeXLive /usr/share/tlpkg/TeXLive /usr/share/tlpkg/TeXLive/TLConfFile.pm /usr/share/tlpkg/TeXLive/TLConfig.pm /usr/share/tlpkg/TeXLive/TLCrypto.pm /usr/share/tlpkg/TeXLive/TLDownload.pm /usr/share/tlpkg/TeXLive/TLPDB.pm /usr/share/tlpkg/TeXLive/TLPOBJ.pm /usr/share/tlpkg/TeXLive/TLPSRC.pm /usr/share/tlpkg/TeXLive/TLPaper.pm /usr/share/tlpkg/TeXLive/TLTREE.pm /usr/share/tlpkg/TeXLive/TLUtils.pm /usr/share/tlpkg/TeXLive/TLWinGoo.pm /usr/share/tlpkg/TeXLive/TeXCatalogue.pm /usr/share/tlpkg/TeXLive/trans.pl $ locate tlmgr /usr/share/texmf-dist/scripts/texlive/tlmgr.pl /usr/share/texmf-dist/scripts/texlive/tlmgrgui.pl $ /usr/share/texmf-dist/scripts/texlive/tlmgr.pl --help Can't locate TeXLive/TLConfig.pm 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/tlmgr.pl line 102. BEGIN failed--compilation aborted at /usr/share/texmf-dist/scripts/texlive/tlmgr.pl line 102. The tlmgr utility installs additional packages not provided by Gentoo.
Hello! the answer is: ...and we will never enable it to avoid the mess.
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 TLConfig.pm, 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."
Indeed. I don't see why we should install files which we don't expect to work.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ae3d8df8310b26dad67c76714231e5aa37584b commit d6ae3d8df8310b26dad67c76714231e5aa37584b Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-03-05 17:36:11 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-03-05 18:07:24 +0000 app-text/texlive-core: overhaul ebuild, drop obsolete configure options, tlmgr, and log messages Closes: https://bugs.gentoo.org/832139 Closes: https://bugs.gentoo.org/829358 Closes: https://bugs.gentoo.org/828591 Bug: https://bugs.gentoo.org/882245 Signed-off-by: Florian Schmaus <flow@gentoo.org> app-text/texlive-core/texlive-core-2023-r2.ebuild | 455 ++++++++++++++++++++++ 1 file changed, 455 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3712dc9ee61c9127ef1d3a795efe96a8988bd565 commit 3712dc9ee61c9127ef1d3a795efe96a8988bd565 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-06-05 11:21:24 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-06-05 12:17:23 +0000 app-text/texlive-core: install tlmgr (forced in user mode) We now install tlmgr, but forced in user mode (similar to what Debian does). This means that we now can use commands like "tlmgr conf", which are helpful when debugging issues with the TeX Live installation. Bug: https://bugs.gentoo.org/263194 Bug: https://bugs.gentoo.org/326527 Bug: https://bugs.gentoo.org/832139 Signed-off-by: Florian Schmaus <flow@gentoo.org> app-text/texlive-core/Manifest | 2 +- .../{texlive-core-2023-r6.ebuild => texlive-core-2023-r7.ebuild} | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-)