Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216265 - Stable request for dev-java/commons-beanutils-1.7.0-r3 and dev-java/commons-betwixt-0.7-r2
Summary: Stable request for dev-java/commons-beanutils-1.7.0-r3 and dev-java/commons-b...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://www.gentoo.org/proj/en/java/ge...
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2008-04-05 00:42 UTC by Petteri Räty (RETIRED)
Modified: 2009-03-15 10:44 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 Petteri Räty (RETIRED) gentoo-dev 2008-04-05 00:42:26 UTC
*commons-beanutils-1.7.0-r3 (13 Feb 2008)

  13 Feb 2008; Petteri Räty <betelgeuse@gentoo.org>
  +commons-beanutils-1.7.0-r3.ebuild:
  Don't use bundled commons-collections classes. Compile to 1.4 bytecode
  instead of 1.3. Fixes bug #205999.
Comment 1 Kenneth Prugh (RETIRED) gentoo-dev 2008-04-05 22:38:41 UTC
This breaks reverse dependency commons-betwixt compile-time here:

    [javac] /var/tmp/portage/dev-java/commons-betwixt-0.7-r1/work/commons-betwixt-0.7-src/src/java/org/apache/commons/betwixt/expression/Context.java:26: package org.apache.commons.collections does not exist
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-04-06 16:22:36 UTC
(In reply to comment #1)
> This breaks reverse dependency commons-betwixt compile-time here:
> 
>     [javac]
> /var/tmp/portage/dev-java/commons-betwixt-0.7-r1/work/commons-betwixt-0.7-src/src/java/org/apache/commons/betwixt/expression/Context.java:26:
> package org.apache.commons.collections does not exist
> 

+*commons-betwixt-0.7-r2 (06 Apr 2008)
+
+  06 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
+  +commons-betwixt-0.7-r2.ebuild:
+  Update not to rely on commons-collections classes being bundled in
+  commons-beanutils and cleanup ebuild. Reported in bug #216265.
+
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2008-04-07 15:49:53 UTC
ppc64 stable
Comment 4 Markus Meier gentoo-dev 2008-04-09 20:54:12 UTC
internal-test:
    [mkdir] Created dir: /var/tmp/portage/dev-java/commons-betwixt-0.7-r2/work/commons-betwixt-0.7-src/target/test-reports
    [junit] Running org.apache.commons.betwixt.TestArrayMaps
    [junit] Testsuite: org.apache.commons.betwixt.TestArrayMaps
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 10.639 sec
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 10.639 sec
    [junit] 
    [junit] Testcase: testIntrospection took 0.017 sec
    [junit] 	Caused an ERROR
    [junit] org/apache/commons/logging/LogFactory
    [junit] java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    [junit] 	at org.apache.commons.betwixt.IntrospectionConfiguration.<init>(IntrospectionConfiguration.java:78)
    [junit] 	at org.apache.commons.betwixt.XMLIntrospector.<init>(XMLIntrospector.java:107)
    [junit] 	at org.apache.commons.betwixt.TestArrayMaps.testIntrospection(TestArrayMaps.java:34)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [junit] 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    [junit] 

BUILD FAILED
/var/tmp/portage/dev-java/commons-betwixt-0.7-r2/work/commons-betwixt-0.7-src/build.xml:92: Test org.apache.commons.betwixt.TestArrayMaps failed

Total time: 16 seconds
 * 
 * ERROR: dev-java/commons-betwixt-0.7-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 3999:  Called eant 'src_test' 'src_test'
 *             environment, line  975:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-java:commons-betwixt-0.7-r2:20080409-204947.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/commons-betwixt-0.7-r2/temp/environment'.
 * 
!!! 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.05"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"


I get this on x86 and amd64.
Comment 5 Kenneth Prugh (RETIRED) gentoo-dev 2008-04-10 15:23:27 UTC
Changing the line in src_test() to this lets the tests run:

java-pkg_jar-from --into target/lib xerces-2,junit,commons-logging,commons-collections,commons-beanutils-1.7,commons-digester

(although it spews out a bunch of crap that I wouldn't call "passing")
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-04-10 22:18:55 UTC
(In reply to comment #5)
> Changing the line in src_test() to this lets the tests run:
> 
> java-pkg_jar-from --into target/lib
> xerces-2,junit,commons-logging,commons-collections,commons-beanutils-1.7,commons-digester
> 
> (although it spews out a bunch of crap that I wouldn't call "passing")
> 

Or this can wait for my new rewriter to hit the tree.
Comment 7 Tobias Scherbaum (RETIRED) gentoo-dev 2008-04-12 19:15:28 UTC
commons-beanutils-1.7.0-r3 stable for ppc, got the same error with dev-java/commons-betwixt-0.7-r2 tests ...
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2008-09-20 08:59:39 UTC
(In reply to comment #7)
> commons-beanutils-1.7.0-r3 stable for ppc, got the same error with
> dev-java/commons-betwixt-0.7-r2 tests ...
> 

ping?
Comment 9 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-09-20 12:00:44 UTC
Please reCC us when the issues raised for our arch are fixed.
Comment 10 Markus Meier gentoo-dev 2008-10-19 13:26:09 UTC
please readd x86, when we can do something here.
Comment 11 nixnut (RETIRED) gentoo-dev 2008-10-26 14:41:50 UTC
please readd ppc when we can do something here.
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2009-03-15 10:44:02 UTC
Let's go with later versions.