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/TLConfig.pm in @INC)
Summary: app-text/texlive-core: tlmgr not set up (Can't locate TeXLive/TLConfig.pm in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-27 04:23 UTC by ta2002
Modified: 2024-03-05 18:07 UTC (History)
4 users (show)

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


Attachments

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
/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.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2022-02-04 21:51:54 UTC
Hello!

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 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."
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.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-05 18:07:43 UTC
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(+)