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

Bug 706326

Summary: app-text/recode-3.6_p20-r1 : utf8 \xE7 does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 3716.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal CC: bert, M4rkusXXL, phobosk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 697606    
Attachments: emerge-info.txt
app-text:recode-3.6_p20-r1:20200125-122508.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
Replace Unicode character in recode.texi

Description Toralf Förster gentoo-dev 2020-01-25 16:09:19 UTC
fi; \
rm -rf $backupdir; exit $rc
utf8 "\xE7" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 3716.
Malformed UTF-8 character: \xe7\x6f\x69 (unexpected non-continuation byte 0x6f, immediately after start byte 0xe7; need 3 bytes, got 1) in pattern match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
mv: target './/var/tmp/portage/app-text/recode-3.6_p20-r1/work/recode-3.6/doc/' is not a directory

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-libressl_abi32+64-20200119-095418

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 25 Jan 2020 11:46:37 +0000

emerge -qpvO app-text/recode
[ebuild   R   ] app-text/recode-3.7_pre20140303  USE="nls -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-01-25 16:10:20 UTC
Created attachment 604324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-25 16:11:16 UTC
Created attachment 604326 [details]
app-text:recode-3.6_p20-r1:20200125-122508.log
Comment 3 Toralf Förster gentoo-dev 2020-01-25 16:12:12 UTC
Created attachment 604328 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-25 16:13:01 UTC
Created attachment 604330 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-25 16:13:55 UTC
Created attachment 604332 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-25 16:14:46 UTC
Created attachment 604334 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-25 16:15:34 UTC
Created attachment 604336 [details]
temp.tbz2
Comment 8 Anon Emuss 2020-06-20 21:27:03 UTC
Created attachment 645450 [details, diff]
Replace Unicode character in recode.texi

I have the same problem with recode-3.6.  This issue appears to be fixed for me in recode-3.7.  The commit that fixes it is available at https://github.com/rrthomas/recode/commit/a44f0ff9d8596e88eb81ff6c715655c5bda74ca1.  The attached patch is a stripped-down version of that commit with the one chunk that appears to fix the issue in recode-3.6.
Comment 9 Larry the Git Cow gentoo-dev 2020-06-23 07:47:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3178ee373b4f5ad410e2fc53b9f424a0f7b858

commit 1d3178ee373b4f5ad410e2fc53b9f424a0f7b858
Author:     Patrice Clement <monsieurp@gentoo.org>
AuthorDate: 2020-06-23 07:46:38 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2020-06-23 07:47:38 +0000

    app-text/recode: fix broken utf8 character.
    
    Patch courtesy of Anon Emuss <abuslbea@centurylink.net>.
    
    Closes: https://bugs.gentoo.org/706326
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 app-text/recode/files/recode-3.6-recode.texi.patch | 11 +++++++++++
 app-text/recode/recode-3.6_p20-r1.ebuild           |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)