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

Bug 550264

Summary: net-p2p/i2p-0.9.18 build failure (28 "unmappable character for encoding ASCII" errors in GroupElement.java)
Product: Gentoo Linux Reporter: Megas of Vecanti <emegas>
Component: [OLD] UnspecifiedAssignee: tharvik
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: java, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of `emerge --info '=net-p2p/i2p-0.9.18::gentoo'`
build.log
environment

Description Megas of Vecanti 2015-05-23 22:17:37 UTC
Created attachment 403844 [details]
Output of `emerge --info '=net-p2p/i2p-0.9.18::gentoo'`

Building net-p2p/i2p-0.9.18 reports 28 "unmappable character for encoding ASCII" errors in core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java, resulting in a compile failure.

Also attempted the build with USE="-nls" with no change in result.

All of them seem to involve "??" characters in the code. No locale environment variable that I know of is set on my system, so I suppose this is occurring as the default?

Build was attempted with three different Java VMs: icedtea-bin-6, icedtea-bin-7 and 
oracle-jdk-bin-1.8 (the last of which is source of all of the debug data I'm about to include).

Base Variables:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER="javac"

Output of `emerge -pqv '=net-p2p/i2p-0.9.18::gentoo'`:
[ebuild     U ] net-p2p/i2p-0.9.18 [0.9.4] USE="nls%* (-initscript%*)"

Attaching the output of `emerge --info '=net-p2p/i2p-0.9.18::gentoo'` here.
Comment 1 Megas of Vecanti 2015-05-23 22:19:00 UTC
Created attachment 403846 [details]
build.log
Comment 2 Megas of Vecanti 2015-05-23 22:19:29 UTC
Created attachment 403848 [details]
environment
Comment 3 James Le Cuirot gentoo-dev 2015-05-26 08:44:54 UTC
I haven't seen this but I'm doing some other fixes on this package already and I know how to fix this problem when I do see it so I'll take this one.
Comment 4 Ivan S. Titov 2016-01-03 21:08:48 UTC
I had this particular problem on armv6j.
It happened when locale was set to "POSIX" (LC_CTYPE and others),
if I set the locale to "en_US.UTF-8" the build was successful.
Comment 5 Patrice Clement (RETIRED) gentoo-dev 2016-01-07 08:04:47 UTC
https://github.com/gentoo/gentoo/pull/619 introduced the latest version available (0.9.23) and should solve this issue, courtesy of tharvik the new maintainer. Give it a go and report back. Thank you.