Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175570 - dev-java/aspectj-1.2-r2 - multiple problems
Summary: dev-java/aspectj-1.2-r2 - multiple problems
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard: Pending removal 2010-02-02
Keywords: PMASKED
Depends on: 184749
Blocks: 189320
  Show dependency tree
 
Reported: 2007-04-22 14:07 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2012-02-26 15:50 UTC (History)
0 users

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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-04-22 14:07:49 UTC
Bombs like this:

[ajbuild-javac] Compiling 141 source files to /tmp/Builder25984tmp/classes-1177250557384
[ajbuild-javac] /var/tmp/portage/dev-java/aspectj-1.2-r2/work/org.aspectj/modules/weaver/src/org/aspectj/weaver/bcel/Utility.java:324: unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
[ajbuild-javac]                 && ((ReferenceType)fromType).isAssignmentCompatibleWith(toType)) {
[ajbuild-javac]                                                                        ^
[ajbuild-javac] Note: Some input files use or override a deprecated API.
[ajbuild-javac] Note: Recompile with -deprecation for details.
[ajbuild-javac] 1 error
error building ajbrowser for /var/tmp/portage/dev-java/aspectj-1.2-r2/work/org.aspectj/modules/build/products/tools: BuildException compiling Module [name=weaver, srcDirs=[/var/tmp/portage/dev-java/aspectj-1.2-r2/work/org.aspectj/modules/weaver/src], required=[runtime, util, bridge, asm], moduleJar=/var/tmp/portage/dev-java/aspectj-1.2-r2/work/org.aspectj/modules/aj-build/jars/weaver.jar, libJars=[/var/tmp/portage/dev-java/aspectj-1.2-r2/work/org.aspectj/modules/lib/bcel/bcel.jar]][]: Compile failed; see the compiler error output for details.
Compile failed; see the compiler error output for details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:999)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:820)
        at org.aspectj.internal.tools.ant.taskdefs.AntBuilder.executeTask(AntBuilder.java:490)
        at org.aspectj.internal.tools.ant.taskdefs.AntBuilder.compile(AntBuilder.java:273)
        at org.aspectj.internal.tools.build.Builder.buildOnly(Builder.java:295)
        at org.aspectj.internal.tools.build.Builder.buildAll(Builder.java:263)
        at org.aspectj.internal.tools.build.Builder.buildProductModule(Builder.java:425)
        at org.aspectj.internal.tools.ant.taskdefs.ProductBuilder.buildProduct(AntBuilder.java:625)
        at org.aspectj.internal.tools.build.Builder.build(Builder.java:179)
        at org.aspectj.internal.tools.ant.taskdefs.BuildModule.build(BuildModule.java:142)
        at org.aspectj.internal.tools.ant.taskdefs.BuildModule.execute(BuildModule.java:116)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Narrowed down to bcel-3.2 which probably adds a "throws" somewhere; with 5.1 it's fine, but then there's another problem - missing com.sun.javadoc.* Should be pointed to tools.jar somehow; not using JAVA_PKG_STRICT masks this.

And finally, this version is kinda old, it's 1.5.3 already. No time to fix atm so I just report this. After all it's eclipse thing, no fun to build :(
Comment 1 Steve Brudenell 2009-03-15 02:07:09 UTC
This is similarly broken with bcel-5.2, which is the only version available in portage today.

It seems that either we need to restore some version of bcel for which this actually worked or get a bumped version of aspectj (bug 184749). The latter seems a lot easier.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2010-02-17 15:31:30 UTC
Treelceaned.