Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 216265
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petteri Räty <betelgeuse@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 216265 depends on: Show dependency tree
Bug 216265 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-05 00:42 0000
*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 From Kenneth Prugh 2008-04-05 22:38:41 0000 -------
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 From Petteri Räty 2008-04-06 16:22:36 0000 -------
(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 From Markus Rothe 2008-04-07 15:49:53 0000 -------
ppc64 stable

------- Comment #4 From Markus Meier 2008-04-09 20:54:12 0000 -------
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 From Kenneth Prugh 2008-04-10 15:23:27 0000 -------
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 From Petteri Räty 2008-04-10 22:18:55 0000 -------
(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 From Tobias Scherbaum 2008-04-12 19:15:28 0000 -------
commons-beanutils-1.7.0-r3 stable for ppc, got the same error with
dev-java/commons-betwixt-0.7-r2 tests ...

------- Comment #8 From Tobias Scherbaum 2008-09-20 08:59:39 0000 -------
(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 From Thomas Anderson (tanderson) 2008-09-20 12:00:44 0000 -------
Please reCC us when the issues raised for our arch are fixed.

------- Comment #10 From Markus Meier 2008-10-19 13:26:09 0000 -------
please readd x86, when we can do something here.

------- Comment #11 From nixnut 2008-10-26 14:41:50 0000 -------
please readd ppc when we can do something here.

------- Comment #12 From Petteri Räty 2009-03-15 10:44:02 0000 -------
Let's go with later versions.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug