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

Bug 221207

Summary: app-accessibility/java-access-bridge-1.6.0-r1 fails to compile
Product: Gentoo Linux Reporter: Xavian-Anderson Macpherson <Shingoshi>
Component: Current packagesAssignee: Gnome Accessibility (OBSOLETE) <gnome-accessibility+disabled>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: flameeyes, java
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: java-access-bridge-1.6.0-r1-x86_64-buildlog_emergeinfo_environment

Description Xavian-Anderson Macpherson 2008-05-10 11:27:18 UTC
CLASSPATH=../../../../idlgen /opt/sun-jdk-1.6.0.06/bin/javac -source 1.4 -target 1.4 Desktop.java
../../../../idlgen/org/GNOME/Accessibility/_ContentStreamStub.java:51: cannot access org.GNOME.Accessibility.ContentStreamPackage.NotSupportedHelper
bad class file: ../../../../idlgen/org/GNOME/Accessibility/ContentStreamPackage/NotSupportedHelper.class
class file contains wrong class: org.GNOME.Accessibility.ContentStreamPackage.IOErrorHelper
Please remove or make sure it appears in the correct subdirectory of the classpath.
                    throw org.GNOME.Accessibility.ContentStreamPackage.NotSupportedHelper.read ($in);
                                                                      ^
1 error
CLASSPATH=../../../../idlgen /opt/sun-jdk-1.6.0.06/bin/javac -source 1.4 -target 1.4 DesktopHelper.java
make[3]: *** [ContentStreamHolder.class] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r1/work/java-access-bridge-1.6.0/idlgen/org/GNOME/Accessibility'
make[2]: *** [org/GNOME/Accessibility/Accessible.class] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r1/work/java-access-bridge-1.6.0/idlgen'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r1/work/java-access-bridge-1.6.0/idlgen'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-accessibility/java-access-bridge-1.6.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4385:  Called die
 * The specific snippet of code:
 *       emake JAVAC="${JAVAC} ${JAVACFLAGS}" || die "compile failure"
 *  The die message:
 *   compile failure

Shingoshi
Comment 1 Xavian-Anderson Macpherson 2008-05-10 11:28:52 UTC
Created attachment 152733 [details]
java-access-bridge-1.6.0-r1-x86_64-buildlog_emergeinfo_environment

All in one file.
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2009-01-03 22:16:39 UTC
(In reply to comment #1)
> Created an attachment (id=152733) [edit]
> java-access-bridge-1.6.0-r1-x86_64-buildlog_emergeinfo_environment
> 
> All in one file.
> 

Does the issue continue with newer Java versions? I can't reproduce the error myself.
Comment 3 nixnut (RETIRED) gentoo-dev 2009-02-19 19:48:00 UTC
same on ppc with ibm-jdk-bin-1.6.0.3

CLASSPATH=../../../../idlgen /opt/ibm-jdk-bin-1.6.0.3/bin/javac -source 1.4 -target 1.4 Document.java
../../../../idlgen/org/GNOME/Accessibility/DeviceEventControllerPOA.java:99: cannot access org.GNOME.Accessibility.DeviceEventListenerHelper
bad class file: ../../../../idlgen/org/GNOME/Accessibility/DeviceEventListenerHelper.class
class file contains wrong class: java.lang.Exception
Please remove or make sure it appears in the correct subdirectory of the classpath.
         org.GNOME.Accessibility.DeviceEventListener listener = org.GNOME.Accessibility.DeviceEventListenerHelper.read (in);
                                                                                       ^
1 error
make[3]: *** [DeviceEventControllerPOATie.class] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r2/work/java-access-bridge-1.6.0/idlgen/org/GNOME/Accessibility'
make[2]: *** [org/GNOME/Accessibility/Accessible.class] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r2/work/java-access-bridge-1.6.0/idlgen'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r2/work/java-access-bridge-1.6.0/idlgen'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-accessibility/java-access-bridge-1.6.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4540:  Called die
 * The specific snippet of code:
 *       emake JAVAC="${JAVAC} ${JAVACFLAGS}" || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/java-access-bridge-1.6.0-r2/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.6  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.3"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Portage 2.1.6.4 (default/linux/powerpc/ppc32/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.21-gentoo-r4 ppc64)
=================================================================
System uname: Linux-2.6.21-gentoo-r4-ppc64-POWER5+_-gs-with-glibc2.0
Timestamp of tree: Thu, 19 Feb 2009 15:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j8"
PKGDIR="/var/binpkg"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc pppd python readline reflection session spl ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Pacho Ramos gentoo-dev 2010-09-03 14:48:31 UTC
Are you still getting problems with this? Looks to compile ok for me with dev-java/sun-jdk:1.6
Comment 5 Pacho Ramos gentoo-dev 2011-01-26 12:17:48 UTC
app-accessibility/java-access-bridge-1.26.0 compiles fine for me, please retry with this version (that should go to stable soon)