<div dir="ltr">Hi List,<div><br></div><div>I have a gentoo Linux system onto which I'm trying to install the distro-provided texlive packages. The installation is failing on the texlive-basic package with the following error:</div><div><br></div><div>---------------------</div><div>* Building format texmf-dist/fmtutil/format.texlive-basic.cnf<br>Can't locate <a href="http://mktexlsr.pl">mktexlsr.pl</a> in @INC (@INC contains: //tlpkg //texmf-dist/scripts/texlive /etc/perl /usr/local/lib64/perl5/5.30.0/x86_64-linux /usr/local/lib64/perl5/5.30.0 /usr/lib64/perl5/vendor_perl/5.30.0/x86_64-linux /usr/lib64/perl5/vendor_perl/5.30.0 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl/5.12.4 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.30.0/x86_64-linux /usr/lib64/perl5/5.30.0) at /usr/bin/fmtutil line 23.<br>BEGIN failed--compilation aborted at /usr/bin/fmtutil line 25.<br> * ERROR: dev-texlive/texlive-basic-2019-r1::gentoo failed (compile phase):<br></div><div>------------------------</div><div>when I search for <a href="http://mktexlsr.pl">mktexlsr.pl</a>, I get the following results:</div><div><br></div><div>------------------------</div><div># locate <a href="http://mktexlsr.pl">mktexlsr.pl</a><br>/home/[$TEXLOCAL]/tex-local/texlive/2017/texmf-dist/scripts/texlive/<a href="http://mktexlsr.pl">mktexlsr.pl</a><br>/usr/share/texmf-dist/scripts/texlive/<a href="http://mktexlsr.pl">mktexlsr.pl</a><br></div><div>-------------------------</div><div>which is correct: I have a "local" full install of texlive in that subdirectory of ~, and I have a system install of the texlive packages provided by my distro. </div><div><br></div><div>The gentoo dev I asked said that my local kpathsea config was wrong, but I'm unable to find where I might have a .cfg file that's incorrect. I have the file /etc/texmf/texmf.d/05searchpaths.cnf, which gives the following for TEXMFROOT:</div><div>--------------------------</div><div>TEXMFROOT = $SELFAUTODIR/share<br></div><div>--------------------------</div><div><br></div><div>Can you help me sort out what might be misconfigured here?</div><div><br></div><div>Thanks for the help,</div><div><br></div><div>A</div></div>