Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392363 - sci-mathematics/scilab-5.3.3 - ./modules/types/src/java/org/scilab/modules/types/ScilabDouble.java:4: error: unmappable character for encoding ASCII
Summary: sci-mathematics/scilab-5.3.3 - ./modules/types/src/java/org/scilab/modules/ty...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 07:57 UTC by G Reitsma
Modified: 2012-05-25 21:57 UTC (History)
0 users

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


Attachments
Simple patches for this problem + modified ebuild (scilab-5.3.3-java-header-fix.tar.gz,2.21 KB, patch)
2011-11-29 08:03 UTC, G Reitsma
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description G Reitsma 2011-11-29 07:57:08 UTC
On US English installations of java, the java compiler fails on the headers of the following two files:

modules/types/src/java/org/scilab/modules/types/ScilabDouble.java
modules/types/src/java/org/scilab/modules/types/ScilabBoolean.java

This is due to the accent on the first "e" of the name "Clement DAVID". The character is not supported by my system java (oracle-jdk-bin-1.7 ), which supports only the US-english code page. 

I have uploaded two very simple patch files, that replace this name. That fixes the probelm.

Reproducible: Always

Steps to Reproduce:
1. emerge scilab
2. emerge fails, and the last part of the log file shows this:
enlib: Regenerate names and lib
-- Build localization (.mo from .po) --
        -- Building for fr_FR --
        Creating ./locale/fr_FR/LC_MESSAGES/
4296 translated messages, 439 untranslated messages.
        -- Building for zh_CN --
        Creating ./locale/zh_CN/LC_MESSAGES/
2534 translated messages, 1827 untranslated messages.
        -- Building for zh_TW --
        Creating ./locale/zh_TW/LC_MESSAGES/
2737 translated messages, 1 fuzzy translation, 1714 untranslated messages.
        -- Building for ru_RU --
        Creating ./locale/ru_RU/LC_MESSAGES/
3623 translated messages, 854 untranslated messages.
        -- Building for ca_ES --
        Creating ./locale/ca_ES/LC_MESSAGES/
3803 translated messages, 564 untranslated messages.
        -- Building for de_DE --
        Creating ./locale/de_DE/LC_MESSAGES/
3369 translated messages, 1046 untranslated messages.
        -- Building for es_ES --
        Creating ./locale/es_ES/LC_MESSAGES/
4023 translated messages, 1 fuzzy translation, 711 untranslated messages.
        -- Building for pt_BR --
        Creating ./locale/pt_BR/LC_MESSAGES/
3461 translated messages, 1011 untranslated messages.
        -- Building for ja_JP --
        Creating ./locale/ja_JP/LC_MESSAGES/
4256 translated messages, 2 fuzzy translations, 477 untranslated messages.
        -- Building for it_IT --
        Creating ./locale/it_IT/LC_MESSAGES/
3639 translated messages, 1052 untranslated messages.
        -- Building for uk_UA --
        Creating ./locale/uk_UA/LC_MESSAGES/
4259 translated messages, 476 untranslated messages.
        -- Building for pl_PL --
        Creating ./locale/pl_PL/LC_MESSAGES/
3782 translated messages, 617 untranslated messages.
make[1]: Leaving directory `/var/tmp/portage/sci-mathematics/scilab-5.3.3/work/scilab-5.3.3'
make -j8 doc 
/opt/oracle-jdk-bin-1.7.0.1/bin/javadoc -noindex -nohelp -nonavbar -notree \
-d ./modules/javasci/javadoc \
-sourcepath ./modules/javasci/src/java:./modules/types/src/java \
org.scilab.modules.javasci org.scilab.modules.types
Creating destination directory: "./modules/javasci/javadoc/"
Loading source files for package org.scilab.modules.javasci...
Loading source files for package org.scilab.modules.types...
./modules/types/src/java/org/scilab/modules/types/ScilabDouble.java:4: error: unmappable character for encoding ASCII
 *  Copyright (C) 2010-2010 - DIGITEO - Cl??ment DAVID
                                          ^
./modules/types/src/java/org/scilab/modules/types/ScilabDouble.java:4: error: unmappable character for encoding ASCII
 *  Copyright (C) 2010-2010 - DIGITEO - Cl??ment DAVID
                                           ^
./modules/types/src/java/org/scilab/modules/types/ScilabBoolean.java:4: error: unmappable character for encoding ASCII
 *  Copyright (C) 2010-2010 - DIGITEO - Cl??ment DAVID
                                          ^
./modules/types/src/java/org/scilab/modules/types/ScilabBoolean.java:4: error: unmappable character for encoding ASCII
 *  Copyright (C) 2010-2010 - DIGITEO - Cl??ment DAVID
                                           ^
4 errors
make: *** [javadoc] Error 1
emake failed
 * ERROR: sci-mathematics/scilab-5.3.3 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  84:  Called src_compile
 *   environment, line 5196:  Called die
 * The specific snippet of code:
 *           emake doc || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =sci-mathematics/scilab-5.3.3',
 * the complete build log and the output of 'emerge -pqv =sci-mathematics/scilab-5.3.3'.
 * This ebuild is from an overlay named 'science': '/var/lib/layman/science/'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.1"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/scilab-5.3.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/scilab-5.3.3/temp/environment'.
 * S: '/var/tmp/portage/sci-mathematics/scilab-5.3.3/work/scilab-5.3.3'


Note that I have the "doc" use flag enabled.
Actual Results:  
Fails to finish compilation phase.

Expected Results:  
Normal installation

mediapc ~ # emerge --info scilab
Portage 2.2.0_alpha79 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 29 Nov 2011 06:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3::sage-on-gentoo, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo kde sage-on-gentoo java-overlay science
Installed sets: @kde-4.7
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.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"
CXXFLAGS="-O2 -march=core2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.llarian.net/ http://gentoo.mirrors.hoobly.com/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/sage-on-gentoo /var/lib/layman/java-overlay /var/lib/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa also amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt css cups cvs cxx dbus declarative dri dts dvd dvdr emacs emboss encode evdev exif expat fam fastcgi ffmpeg fftw firefox flac fortran gdbm gdu gif gimp ginac glib gnuplot gphoto2 gpm gtk gtk+ gzip handbook hddtemp iconv icu imap ipv6 jack java javascript jce jpeg kde kde4 kipi kontact lapack latex lcms ldap libnotify libsamplerate mad mmx mmxext mng modules mono mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd threads tiff truetype udev unicode usb vcd vnc vorbis wavpack wmf wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita imagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam \ jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="lirc imon imonlcd" LINGUAS="nl en" LIRC_DEVICES="imon imon_knob imon_lcd imon_pad imon_rsc imon_24g" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-mathematics/scilab-5.3.3-r1 was built with the following:
USE="(consolekit) doc fftw gui hdf5 matio (multilib) nls (policykit) tk umfpack xcos"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed"
Comment 1 G Reitsma 2011-11-29 08:03:10 UTC
Created attachment 294135 [details, diff]
Simple patches for this problem + modified ebuild

Uploaded two simple patches, that fix this problem, and an ebuild that includes the patches.
Comment 2 Guillaume Horel 2011-12-23 01:04:18 UTC
Thanks for reporting this. I have pushed a fix to the science overlay.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-05-25 21:57:30 UTC
was fixed. thanks Guillaume.