Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687402 - dev-tex/chktex-1.7.6 - ! Package inputenc Error: Invalid UTF-8 byte "B4.
Summary: dev-tex/chktex-1.7.6 - ! Package inputenc Error: Invalid UTF-8 byte "B4.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-05 00:07 UTC by Axel Fischer
Modified: 2019-06-05 16:57 UTC (History)
0 users

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


Attachments
build.log (build.log,11.27 KB, text/plain)
2019-06-05 00:07 UTC, Axel Fischer
Details
emerge --info (emerge_info,6.37 KB, text/plain)
2019-06-05 00:07 UTC, Axel Fischer
Details
ChkTex.tex.in.patch (ChkTex.tex.in.patch,445 bytes, patch)
2019-06-05 14:48 UTC, nvinson234
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Fischer 2019-06-05 00:07:05 UTC
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).
Comment 1 Axel Fischer 2019-06-05 00:07:43 UTC
Created attachment 578828 [details]
emerge --info
Comment 2 nvinson234 2019-06-05 14:48:40 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2019-06-05 16:57:17 UTC
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(-)