Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148410 - dev-java/jakarta-jstl-1.1.2-r1 build fails when using sun-jdk-1.6
Summary: dev-java/jakarta-jstl-1.1.2-r1 build fails when using sun-jdk-1.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 12:20 UTC by Miroslav Šulc
Modified: 2006-09-26 21:14 UTC (History)
0 users

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


Attachments
patch for jakarta-jstl-1.1.2-r1.ebuild (patch,504 bytes, patch)
2006-09-20 12:45 UTC, Miroslav Šulc
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2006-09-20 12:20:02 UTC
The build fails apparently because the library doesn't override method from sun-jdk-1.6. The ebuild should be limited to build with jdk version lower than 1.6.

library-build:
    [javac] Compiling 236 source files to /var/tmp/portage/jakarta-jstl-1.1.2-r1/work/jakarta-taglibs-standard-1.1.2-src/build/standard/standard/classes
    [javac] /var/tmp/portage/jakarta-jstl-1.1.2-r1/work/jakarta-taglibs-standard-1.1.2-src/standard/src/org/apache/taglibs/standard/tag/common/sql/DataSourceWrapper.java:35: org.apache.taglibs.standard.tag.common.sql.DataSourceWrapper is not abstract and does not override abstract method createQueryObject(java.lang.Class,javax.sql.DataSource) in javax.sql.DataSource
    [javac] public class DataSourceWrapper implements DataSource {
    [javac]        ^
    [javac] Note: /var/tmp/portage/jakarta-jstl-1.1.2-r1/work/jakarta-taglibs-standard-1.1.2-src/standard/src/org/apache/taglibs/standard/extra/spath/SPathFilter.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED
/var/tmp/portage/jakarta-jstl-1.1.2-r1/work/jakarta-taglibs-standard-1.1.2-src/standard/build.xml:171: Compile failed; see the compiler error output for details.

Total time: 5 seconds

!!! ERROR: dev-java/jakarta-jstl-1.1.2-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  jakarta-jstl-1.1.2-r1.ebuild, line 44:   Called eant 'build'
  java-utils-2.eclass, line 1320:   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=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.0_beta99"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
Comment 1 Miroslav Šulc gentoo-dev 2006-09-20 12:45:58 UTC
Created attachment 97573 [details, diff]
patch for jakarta-jstl-1.1.2-r1.ebuild

patch for jakarta-jstl-1.1.2-r1.ebuild
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-09-26 21:14:27 UTC
Fixed in CVS. Thanks for reporting!