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

Bug 690032

Summary: dev-java/commons-validator-1.4.1 - src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Java team <java>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Martin Mokrejš 2019-07-16 22:16:51 UTC
Usual java-1.8 incompatibility (complains about non-ascii chars in comments)

>>> Compiling source in /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src ...
 * Disabling all optional ANT_TASKS
Buildfile: /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/build.xml

init:
     [echo] -------- validator 1.4.0-SNAPSHOT --------

check-availability:
     [echo] doing check-availability...

download-dependencies:

prepare:
    [mkdir] Created dir: /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/target
    [mkdir] Created dir: /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/target/classes
    [mkdir] Created dir: /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/target/tests
    [mkdir] Created dir: /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/target/test-results

compile:
    [javac] Compiling 59 source files to /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/target/classes
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
    [javac]                           ^
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
    [javac]                            ^
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
    [javac]                             ^
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
    [javac]                              ^
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
    [javac]                               ^
    [javac] /scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/src/main/java/org/apache/commons/validator/routines/DomainValidator.java:731: error: unmappable character for encoding ASCII
    [javac]         "xn--1qqw23a", // ?????? Guangzhou YU Wei Information Technology Co., Ltd.
...

BUILD FAILED
/scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src/build.xml:187: Compile failed; see the compiler error output for details.

Total time: 2 seconds
 * ERROR: dev-java/commons-validator-1.4.1::gentoo failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3973:  Called java-pkg-2_src_compile
 *   environment, line 1833:  Called eant 'compile' '-f' 'build.xml' '-Dskip.download=true'
 *   environment, line  661:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/commons-validator-1.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/commons-validator-1.4.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.202"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"
and of course, the output of emerge --info =commons-validator-1.4.1
 * The complete build log is located at '/scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/temp/build.log'.
 * The ebuild environment file is located at '/scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/temp/environment'.
 * Working directory: '/scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src'
 * S: '/scratch/var/tmp/portage/dev-java/commons-validator-1.4.1/work/commons-validator-1.4.1-src'

# emerge --info '=dev-java/commons-validator-1.4.1::gentoo'
Portage 2.3.69 (python 2.7.16-final-0, default/linux/amd64/17.0, gcc-9.1.0, glibc-2.29-r2, 4.20.17-default-pciehp x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.17-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem:    16365372 total,   9468256 free
KiB Swap:   26853460 total,  26853460 free
Timestamp of repository gentoo: Tue, 16 Jul 2019 21:00:01 +0000
Head commit of repository gentoo: 8d1758de134cb01778109b4e297aa7766dc40bda
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.9999::gentoo
dev-lang/python:          2.7.16-r101::stefantalpalaru, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.14.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            5.5.0::gentoo, 6.5.0-r1::gentoo, 7.3.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /scratch/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

science
    location: /scratch/mmokrejs/proj/sci
    masters: gentoo
    priority: 0

layman
    location: /var/lib/layman
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    masters: gentoo science
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 Nero-EULA-US AdobeFlash-10.3 AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode Skype-TOS vmware linux-firmware fasta vienna-rna unafold GRL MSttfEULA hplip-plugin meme mRNAmarkup ApE ICS ipw3945 finchtv modeller gmap master-pdf-editor abyss swiss-prot Aladdin AVASYS truecrypt-3.0 pyvcf Non-profit-OSL-3.0 estscan bcca_2010 oncotator Adobe blat staden CeCILL-1.1 phrap STRIDE cctbx-2.0 bh-luxi ARIADNE unRAR all-rights-reserved trf annovar_personal_only stampy-academic BSD-BroadInstitute UPennState freedist free-noncomm blasr sun-jlfgr FLI-Jena PSTT netperf sun-jsr67 xv vim.org OSGi-Specification-2.0 colt mod_fastcgi googleearth ACE AFL churchill genscan"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
DISTDIR="/scratch/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_GB en cs"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/scratch/var/tmp"
USE="R X acpi alsa amd64 amr apache apache2 asm avx bcache berkdb bluetooth boost bzip2 cairo cgi cli coin connection-sharing consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran fuse gbm gcrypt gd gdbm geoip geolocation gimp glib glpk gmp gpm gps gtk hal hpijs hwdb iconv id3tag imaging innodb inotify iproute2 java javafx javascript jce jpeg jpg js jscript keymap kmod ladspa lame lapack laptop lcms libev libevent libnotify libtirpc lm_sensors mad matroska mmx modemmanager mp3 multicore multilib multimedia mysql ncurses netpbm networkmanager nfs nls nptl nptlonly nscd ntfs ntfsdecrypt ntfsprogs objc ocr ogg opengl openmp openssl opus pam parport pcre pcre16 pdf pdfimport pdl perl php pkcs11 plplot png policykit polkit postproc postscript ppds ppp pppd pptx python qt3support qt4 qt5 readline rendering resolvconf samba scanner sctp seccomp server session sha512 slideshow smartcard sna sndfile sparsehash sqlite sse sse2 sse3 sse4_1 sse4_2 ssh ssh-agent ssl sslv2 sslv3 ssse3 startup-notification suexec svg syslog tcl tcpd tevent threads tiff tk truetype twolame udev unicode upower usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xcomposite xft xinerama xml xorg xrandr xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox fury geostar nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US en en-GB cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2019-07-22 23:50:38 UTC
please *attach* log next time:
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 Martin Mokrejš 2019-07-23 00:06:56 UTC
Created attachment 584136 [details]
build.log