Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141731 - [java] can't emerge xerces-2.7.1-r1
Summary: [java] can't emerge xerces-2.7.1-r1
Status: RESOLVED DUPLICATE of bug 134232
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-25 13:03 UTC by Laurent G.
Modified: 2006-07-25 13:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent G. 2006-07-25 13:03:44 UTC
I've read and followed the java upgrade guide and I still can't emerge xerces current ~ppc.
It seems a plain classpath problem but I don't know what is wrong on my machine.


  [copy] Copying 13 files to /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build/classes
   [xjavac] Compiling 657 source files to /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build/classes
   [xjavac] /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build/src/org/apache/xerces/dom/NodeImpl.java:22: cannot find symbol
   [xjavac] symbol  : class Hashtable
   [xjavac] location: package java.util
   [xjavac] import java.util.Hashtable;
   [xjavac]                  ^
   [xjavac] /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build/src/org/apache/xerces/dom/NodeImpl.java:80: cannot access java.lang.Object
   [xjavac] file java/lang/Object.class not found
   [xjavac] public abstract class NodeImpl
   [xjavac]                 ^
   [xjavac] /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build/src/org/apache/html/dom/HTMLAnchorElementImpl.java:33: cannot find symbol
   [xjavac] symbol  : class String
   [xjavac] location: class org.apache.html.dom.HTMLAnchorElementImpl
   [xjavac]     public String getAccessKey()
...
BUILD FAILED
/var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1/build.xml:217: Compile failed; see the compiler error output for details.

Total time: 48 seconds

!!! ERROR: dev-java/xerces-2.7.1-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  xerces-2.7.1-r1.ebuild, line 48:   Called eant 'jars'
  java-utils-2.eclass, line 1224:   Called die

!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.5  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.5.0"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
# emerge --info
Portage 2.1.1_pre3-r4 (default-linux/ppc/ppc32/2006.1, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.15-gentoo-r7-l2 ppc)
=================================================================
System uname: 2.6.15-gentoo-r7-l2 ppc 7447A, altivec supported
Gentoo Base System version 1.12.1
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X Xaw3d alsa altivec apache2 arts berkdb bitmap-fonts bonobo branding cdr cli crypt cscope cups dba dlloader dri dvd eds emboss encode esd fbcon firefox flac flash fortran gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml ipv6 isdnlog java jikes jpeg kde kdehiddenvisibility ldap libg++ libwww mad mikmod mng mozdevelop mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl pam pcre pdflib perl png povray ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdl session spell spl ssl svg tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xinerama xml xml2 xorg xosd xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_ati video_cards_fbdev video_cards_radeon video_cards_r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
~ # java-config-1 -L
[ibm-jdk-bin-1.4.2.5] "IBM JDK 1.4.2.5" (/etc/env.d/java/20ibm-jdk-bin-1.4.2.5) *
[ibm-jre-bin-1.4.2.5] "IBM JRE 1.4.2.5" (/etc/env.d/java/20ibm-jre-bin-1.4.2.5)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-25 13:23:21 UTC

*** This bug has been marked as a duplicate of 134232 ***