$ sudo emerge lyx . . . >>> Source compiled. >>> Test phase [not enabled]: dev-tex/chktex-1.6.2 >>> Install chktex-1.6.2 into /var/tmp/portage/chktex-1.6.2/image/ category dev-tex no ChkTeX.tex make: no: Command not found make: *** [ChkTeX.dvi] Error 127 !!! ERROR: dev-tex/chktex-1.6.2 failed. !!! Function einstall, Line 528, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message.
It's possible that there was an error sooner in the emerge process. Could you please attach the whole emerge log? Which version of tetex are you using? Also remember to always include emerge --info in your bug reports.
The asked info has not been supplied for more then two months. Please feel free to reopen the bug when you can supply the needed info.
Created attachment 139560 [details] emerge --info, Makefile, proposed equild Hello there. This issue is caused by no LaTeX distribution being previously installed. Specifically, the chktex installation looks for the "latex" executable. Not being there, the line "LATEX=no" appears in Makefile:48. The proposed ebuild fakes the latex executable with a 'touch' when the former is not found, at chktex-1.6.2.ebuild:26.