Bug#896006: eclipse: FTBFS on buster, unmappable character encoding errors
Daniel Drake
drake at endlessm.com
Wed Apr 18 17:12:01 BST 2018
Source: eclipse
Version: 3.8.1-11
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
Subject: eclipse: FTBFS on buster, unmappable character encoding error
Source: eclipse
Version: 3.8.1-11
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
I'm unable to rebuild eclipse from source on Debian Buster.
Reproducer:
debootstrap buster buster
systemd-nspawn -D buster
# add deb-src line to /etc/apt/sources.list
apt-get update
apt-get build-dep eclipse
apt-get source eclipse
cd eclipse-*
dpkg-buildpackage -us -uc .
It fails with these messages:
@dot:
[mkdir] Created dir: /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/@dot
[javac] Using javac -source 1.5 is no longer supported, switching to 1.7
[javac] Using javac -target 1.5 is no longer supported, switching to 1.7
[javac] Compiling 449 source files to /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/@dot
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:120: error: unmappable character (0xC3) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=US
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:120: error: unmappable character (0xA9) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=US
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:120: error: unmappable character (0xC3) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=US
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:120: error: unmappable character (0xA9) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=US
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:128: error: unmappable character (0xC3) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=FR
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:128: error: unmappable character (0xA9) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=FR
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:128: error: unmappable character (0xC3) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=FR
[javac] ^
[javac] /root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkUtil.java:128: error: unmappable character (0xA9) for encoding US-ASCII
[javac] * street = 9C\, Avenue St. Dr??z??ry, o=ACME, c=FR
[javac] ^
[javac] 8 errors
[javac] 1 warning
BUILD FAILED
/root/eclipse-3.8.1/build.xml:139: The following error occurred while executing this line:
/root/eclipse-3.8.1/pdebuild.xml:208: The following error occurred while executing this line:
/root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/build.xml:228: The following error occurred while executing this line:
/root/eclipse-3.8.1/build/eclipse-3.8.1-src/plugins/org.eclipse.osgi/build.xml:90: Compile failed; see the compiler error output for details.
Full log:
https://gist.github.com/dsd/bae6116da6c69778cc7809383ce982ae
This is with default locale settings:
LANG=
LANGUAGE=
LC_ALL=
I have also tried with LC_ALL values: C, C.UTF-8, en_US, en_US.UTF-8.
None of them succeed although changing the value does mean that it ends
up failing on different strings in different files.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-38-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-38-generic (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
More information about the pkg-java-maintainers
mailing list