Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382811 - dev-java/avalon-logkit-2.1-r4 failed on compile with jdk7
Summary: dev-java/avalon-logkit-2.1-r4 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:
Whiteboard:
Keywords:
Depends on:
Blocks: jdk7-tracker
  Show dependency tree
 
Reported: 2011-09-13 11:09 UTC by tman
Modified: 2011-09-28 11:00 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:09:05 UTC
1  * Package:    dev-java/avalon-logkit-2.1-r4
 2  * Repository: gentoo
 3  * Maintainer: java@gentoo.org
 4  * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 5  * FEATURES:   preserve-libs sandbox
 6  * Using: icedtea7
 7 tar: A lone zero block at 841
 8  * Applying avalon-logkit-1.2.2-java6.patch ...
 9  [ ok ]
10 Changing ignoresystemclasses to true for available tasks in build.xml
11 Rewriting build.xml
12 Rewriting build.xml
13  * Disabling all optional ANT_TASKS
14     [javac] /var/tmp/portage/dev-java/avalon-logkit-2.1-r4/work/avalon-logkit-2.1/src/java/org/apache/log/output/db/DefaultDataSource.java:31: error: DefaultDataSource is not abstract and does not override abstract method            |getParentLogger() in CommonDataSource
15     [javac] public class DefaultDataSource
16     [javac]        ^
17     [javac] 1 error
18 
19 BUILD FAILED
20 /var/tmp/portage/dev-java/avalon-logkit-2.1-r4/work/avalon-logkit-2.1/build.xml:42: Compile failed; see the compiler error output for details.
21 
22 Total time: 1 second
23  * ERROR: dev-java/avalon-logkit-2.1-r4 failed (compile phase):
24  *   eant failed
25  *
26  * Call stack:
27  *     ebuild.sh, line   91:  Called src_compile
28  *   environment, line 4395:  Called java-pkg-2_src_compile
29  *   environment, line 2417:  Called eant 'jar' '-f' 'build.xml'
30  *   environment, line  943:  Called die
31  * The specific snippet of code:
32  *       ant ${antflags} "${@}" || die "eant failed"
33  *
34  * If you need support, post the output of 'emerge --info =dev-java/avalon-logkit-2.1-r4',
35  * the complete build log and the output of 'emerge -pqv =dev-java/avalon-logkit-2.1-r4'.
36 !!! When you file a bug report, please include the following information:
37 GENTOO_VM=icedtea7  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea7"
38 JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
39 and of course, the output of emerge --info
40  * The complete build log is located at '/var/log/portage/dev-java:avalon-logkit-2.1-r4:20110913-110328.log'.
41  * The ebuild environment file is located at '/var/tmp/portage/dev-java/avalon-logkit-2.1-r4/temp/environment'.
42  * S: '/var/tmp/portage/dev-java/avalon-logkit-2.1-r4/work/avalon-logkit-2.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 Serkan Kaba (RETIRED) gentoo-dev 2011-09-27 05:33:40 UTC
Revbumped and fixed in CVS. Thanks for reporting.
Comment 2 Martin von Gagern 2011-09-28 11:00:12 UTC
The avalon-logkit-2.1-java7.patch Serkan committed breaks builds with 1.5 JDKs, as the class SQLFeatureNotSupportedException was introduced in Java 1.6. So you either should apply the patch conditionally, or adjust the dependency to reuire a 1.6 JDK. Given the fact that (almost?) all 1.5 JDKs have been removed from the main portage tree, and are only available to users of the java-overlay, I guess that simply increasing the dependency is the better solution.