Created attachment 578826 [details] build.log When emerging [ebuild N ] dev-tex/chktex-1.7.6 USE="pcre -debug -doc -test" the build fails with: ! Package inputenc Error: Invalid UTF-8 byte "B4. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.1158 ``There� s quotes and there�s quotes�� \\* % '' ? ! Emergency stop. ... l.1158 ``There� s quotes and there�s quotes�� \\* % '' Output written on ChkTeX.dvi (16 pages, 54244 bytes).
Created attachment 578828 [details] emerge --info
Created attachment 578854 [details, diff] ChkTex.tex.in.patch I think this patch fixes the problem. It forces the input encoding to be latin1 instead of utf-8 when processing ChkTex.tex.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8b6589837fe279d3dc1c6d55307cc76134f4a5 commit ec8b6589837fe279d3dc1c6d55307cc76134f4a5 Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2019-06-05 16:56:25 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2019-06-05 16:57:13 +0000 dev-tex/chktex: force latin1 as inputenc Closes: https://bugs.gentoo.org/687402 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-tex/chktex/chktex-1.7.1.ebuild | 5 +++-- dev-tex/chktex/chktex-1.7.6.ebuild | 5 +++-- dev-tex/chktex/files/tex-inputenc.patch | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-)