Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122194

Summary: chktex-1.6.2: Fails to install
Product: Gentoo Linux Reporter: Jan Minar <jjminar+bgo>
Component: Current packagesAssignee: Text-Markup Team (OBSOLETE) <text-markup+disabled>
Status: RESOLVED NEEDINFO    
Severity: major CC: denilsonsa
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info, Makefile, proposed equild

Description Jan Minar 2006-02-08 17:38:59 UTC
$ 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.
Comment 1 Alexandre Buisse (RETIRED) gentoo-dev 2006-02-09 03:41:26 UTC
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.
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-04-11 05:06:08 UTC
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.
Comment 3 Fabio Correa 2007-12-29 11:51:47 UTC
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.