Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382815 - dev-java/xerces-2.9.1 failed on compile with jdk7
Summary: dev-java/xerces-2.9.1 failed on compile with jdk7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL: https://issues.apache.org/jira/browse...
Whiteboard:
Keywords:
: 387239 (view as bug list)
Depends on:
Blocks: jdk7-tracker
  Show dependency tree
 
Reported: 2011-09-13 11:11 UTC by tman
Modified: 2011-10-16 07:26 UTC (History)
1 user (show)

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 tman 2011-09-13 11:11:52 UTC
* Package:    dev-java/xerces-2.9.1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Using: icedtea7
 * Applying xerces-2.9.1-gentoo.patch ...
 [ ok ]
 * Applying xerces-2.9.1-no_dom3.patch ...
 [ ok ]
Adding gentoo.classpath to build.xml
Rewriting build.xml
 * Using following ANT_TASKS:  xjavac-1
     [echo] ---------------- Xerces-J 2.9.1 [1999-2007] ---------------
   [xjavac] /var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:28: error: HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLFrameElement
   [xjavac] public class HTMLFrameElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:28: error: HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLIFrameElement
   [xjavac] public class HTMLIFrameElementImpl
   [xjavac]        ^
   [xjavac] /var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:28: error: HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in HTMLObjectElement
   [xjavac] public class HTMLObjectElementImpl
   [xjavac]        ^
   [xjavac] 3 errors

BUILD FAILED
/var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1/build.xml:185: Compile failed; see the compiler error output for details.

Total time: 10 seconds
 * ERROR: dev-java/xerces-2.9.1 failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 4375:  Called java-pkg-2_src_compile
 *   environment, line 2410:  Called eant 'jar' '-f' 'build.xml'
 *   environment, line  936:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of 'emerge --info =dev-java/xerces-2.9.1',
 * the complete build log and the output of 'emerge -pqv =dev-java/xerces-2.9.1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea7  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/dev-java:xerces-2.9.1:20110913-110517.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/xerces-2.9.1/temp/environment'.
 * S: '/var/tmp/portage/dev-java/xerces-2.9.1/work/xerces-2_9_1'
~                                                                     

Reproducible: Always




Portage 2.2.0_alpha55_p39 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 13 Sep 2011 08:00:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1::poly-c
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
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.13-r4
Repositories: gentoo amielke-overlay gnome lorelei-overlay lxde mgorny nikai qting-edge roslin scarabeus science bleeding-edge wirelay kde poly-c webapp-experimental mpd luman emacs java-overlay Techwolf lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /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="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
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="/usr/portage/local/layman/amielke-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mgorny /usr/portage/local/layman/nikai /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/bleeding-edge /usr/portage/local/layman/wirelay /usr/portage/local/layman/kde /usr/portage/local/layman/poly-c /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/mpd /usr/portage/local/layman/luman /usr/portage/local/layman/emacs /usr/portage/local/layman/java-overlay /usr/portage/local/layman/techwolf /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2011-09-14 07:17:58 UTC
Upstream bug https://issues.apache.org/jira/browse/XERCESJ-1523

Fixed, but not yet in a release.
Comment 2 Serkan Kaba (RETIRED) gentoo-dev 2011-09-27 06:11:25 UTC
Please USE xjavac-20110814 for Java7 compatibility (will hit the mirrors in a few hours)
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2011-10-16 07:25:19 UTC
*** Bug 387241 has been marked as a duplicate of this bug. ***
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2011-10-16 07:26:28 UTC
*** Bug 387239 has been marked as a duplicate of this bug. ***