Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250706 - dev-java/rhino-1.5.5-r4 and dev-java/rhino-1.5.5-r5 fail on build with icedtea:6[javascript] "Main.java:3430: cannot find symbol"
Summary: dev-java/rhino-1.5.5-r4 and dev-java/rhino-1.5.5-r5 fail on build with icedte...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL: http://icedtea.classpath.org/bugzilla...
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2008-12-12 14:42 UTC by Martin Walch
Modified: 2010-02-28 21:58 UTC (History)
7 users (show)

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


Attachments
build log (build.log,4.76 KB, text/plain)
2008-12-12 14:44 UTC, Martin Walch
Details
ebuild environment (environment,157.91 KB, text/plain)
2008-12-12 14:45 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2008-12-12 14:42:21 UTC
Emerging ~dev-java/rhino-1.5.5 fails with a compile error:

compile:
    [javac] Compiling 22 source files to /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/build/classes
    [javac] /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3430: cannot find symbol
    [javac] symbol  : method getThisObj()                                                                                                            
    [javac] location: class org.mozilla.javascript.NativeCall                                                                                        
    [javac]                 result = f.call(cx, scope, call.getThisObj(),                                                                            
    [javac]                                                ^                                                                                         
    [javac] /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1508: cannot find symbol
    [javac] symbol  : method getThisObj()                                                                                                            
    [javac] location: class org.mozilla.javascript.NativeCall                                                                                        
    [javac]                 obj = call.getThisObj();                                                                                                 
    [javac]                           ^                                                                                                              
    [javac] 2 errors                                                                                                                                 

BUILD FAILED
/var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/build.xml:45: The following error occurred while executing this line:
/var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/toolsrc/build.xml:56: Compile failed; see the compiler error output for details.

I am using icedtea6-1.3.1-r1

Reproducible: Always

Steps to Reproduce:




emerge --info                                                                     
Portage 2.2_rc17 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.26-gentoo-r3 x86_64)  
=================================================================                                        
System uname: Linux-2.6.26-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.2.5        
Timestamp of tree: Fri, 12 Dec 2008 13:45:01 +0000                                                       
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     3.2_p33                                                                             
dev-java/java-config: 1.3.7-r1, 2.1.6                                                                    
dev-lang/python:     2.5.2-r7                                                                            
dev-util/ccache:     2.4-r7                                                                              
dev-util/cmake:      2.4.7-r1                                                                            
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.3.0-r1                                                                            
sys-apps/sandbox:    1.2.18.1-r2                                                                         
sys-devel/autoconf:  2.13, 2.61-r2                                                                       
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                        
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fgcse-after-reload -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -fgcse-after-reload -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi agg akode alsa amarok amd64 apache2 bash-completion berkdb blender-game bluetooth branding bzip2 cairo captury cdaudio cdr cdromcjk cli clucene cracklib crypt cups curl cviewer daap dbus designer-plugin dga dirac djvu dri dvd dvdnav dvdr dvdread dxr3 eds emacs embedded emboss encode evo fam fbcon ffmpeg fftw firefox fits flac fortran gcj gdbm ggi gif glibc-omitfp glitz gopher gpg gpm gstreamer hal hdri htmlhandbook iceweasel iconv icu imagemagick insecure-savers ipv6 isdnlog jabber jack java java5 java6 javascript jingle jpeg kde kdebuild kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kontact ktts latex lcms ldap libcaca libnotify libwww lm_sensorslogitech-mouse lua mad matroska mdnsresponder-compat midi mikmod mmx mng mp3 mpeg mpeg2 mpi mudflap mule multilib musepack mysql ncurses nepomuk nls noamazon nova nptl nptlonly nsplugin offensive ogg ogg123 openal openexr opengl openmp oss pam pcre pdf perl plasma png posix povray ppds pppd python qt3support qt4 quicktime readline reflection reiser4 reiserfs schroedinger sdl sdl-image semantic-desktop sensord session sndfile solver songs sound speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tidy tiff tools truetype type1 unicode usb visualization vorbis wav wavpack xcomposite xemacs xine xml xorg xosd xprint xscreensaver xulrunner xv zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 intel nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Walch 2008-12-12 14:44:39 UTC
Created attachment 175099 [details]
build log
Comment 2 Martin Walch 2008-12-12 14:45:01 UTC
Created attachment 175101 [details]
ebuild environment
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2008-12-15 19:40:11 UTC
I can't reproduce it with sun-jdk, seems to be related to IcedTea only.
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2008-12-15 20:00:05 UTC
Adding upstream bug to URL as noted by Andrew John Hughes.
Comment 5 Travis Hansen 2009-07-23 06:20:56 UTC
Getting the same thing with icedtea.  Thanks for any help.
Comment 6 DarkNRG 2009-07-24 09:11:05 UTC
I got the same error messages with dev-java/icedtea6-1.5
>java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (Gentoo)
OpenJDK Client VM (build 14.0-b15, mixed mode)
Comment 7 Luca Wehrstedt 2009-08-02 15:56:19 UTC
Same error here too, with dev-java/icedtea6-1.5 and dev-java/rhino-1.5.5-r5
Comment 8 Alexey Shvetsov archtester gentoo-dev 2009-09-07 18:04:38 UTC
Same error with latests icedtea-1.5.2 here

compile:
    [javac] Compiling 22 source files to /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/build/classes
    [javac] /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:3430: cannot find symbol
    [javac] symbol  : method getThisObj()
    [javac] location: class org.mozilla.javascript.NativeCall
    [javac]                 result = f.call(cx, scope, call.getThisObj(),
    [javac]                                                ^
    [javac] /var/tmp/portage/dev-java/rhino-1.5.5-r5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1508: cannot find symbol
    [javac] symbol  : method getThisObj()
    [javac] location: class org.mozilla.javascript.NativeCall
    [javac]                 obj = call.getThisObj();
    [javac]                           ^
    [javac] 2 errors


Comment 10 Martin Walch 2010-02-28 21:26:03 UTC
Looks like this is finally fixed with icedtea-6.1.7.1.

Can anyone confirm this? (then this bug can be set to resolved/fixed)
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-28 21:58:42 UTC
(In reply to comment #10)
> Looks like this is finally fixed with icedtea-6.1.7.1.
> 
> Can anyone confirm this? (then this bug can be set to resolved/fixed)
 
Yes 1.7.1 now hides away its bundled rhino. Closing.