Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: dev-java/aspectwerkz-2.0_rc2-r3 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 307

PostPosted: Wed Sep 05, 2012 4:49 am    Post subject: [SOLVED] ERROR: dev-java/aspectwerkz-2.0_rc2-r3 failed Reply with quote

Code:
Total time: 53 seconds
 * ERROR: dev-java/aspectwerkz-2.0_rc2-r3 failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4026:  Called eant 'dist'
 *   environment, line  593:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of `emerge --info '=dev-java/aspectwerkz-2.0_rc2-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/aspectwerkz-2.0_rc2-r3'`.
!!! 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.33"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info


build log: http://pastebin.com/ietU71Ud
ebuild environment: http://pastebin.com/YN62F15T

Code:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.6  system-vm


Why is this not emerging successfully?
_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.


Last edited by mizery de aria on Thu Sep 06, 2012 3:26 am; edited 1 time in total
Back to top
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 307

PostPosted: Thu Sep 06, 2012 2:56 am    Post subject: Reply with quote

After unpacking aspectwerkz and specifically during the pause after line:
Code:
removed './src/compiler-extensions/aspectj/target/test-classes/test/aj/aspect/TestAspect.class'


I ^Zed and executed

Code:
cd /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" *.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" */*/*/*/*/*/*/*/*/*/*.*
LC_CTYPE="C" sed -i "s/Jonas Bon.\+r/Jonas/" ./bin/*
cp /usr/share/trove-3/lib/trove.jar ./lib/
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/intercept/AdvisableImpl.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/reflect/ClassInfoRepository.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/reflect/impl/java/JavaClassInfoRepository.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/reflect/impl/java/JavaClassInfo.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/reflect/impl/asm/AsmClassInfo.java
sed -i "s/gnu.trove.TIntArrayList/gnu.trove.list.array.TIntArrayList/" ./src/main/org/codehaus/aspectwerkz/reflect/impl/asm/AsmClassInfo.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/reflect/impl/asm/AsmClassInfoRepository.java
sed -i "s/gnu.trove.TLongObjectHashMap/gnu.trove.map.hash.TLongObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/transform/inlining/weaver/ConstructorCallVisitor.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/transform/inlining/weaver/ConstructorCallVisitor.java
sed -i "s/gnu.trove.TLongObjectHashMap/gnu.trove.map.hash.TLongObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/transform/inlining/InliningWeavingStrategy.java
sed -i "s/gnu.trove.TIntIntHashMap/gnu.trove.map.hash.TIntIntHashMap/" ./src/main/org/codehaus/aspectwerkz/transform/inlining/InliningWeavingStrategy.java
sed -i "s/gnu.trove.TIntIntHashMap/gnu.trove.map.hash.TIntIntHashMap/" ./src/main/org/codehaus/aspectwerkz/expression/ExpressionContext.java
sed -i "s/gnu.trove.TObjectIntHashMap/gnu.trove.map.hash.TObjectIntHashMap/" ./src/main/org/codehaus/aspectwerkz/expression/ExpressionContext.java
sed -i "s/gnu.trove.TIntIntHashMap/gnu.trove.map.hash.TIntIntHashMap/" ./src/main/org/codehaus/aspectwerkz/expression/ArgsIndexVisitor.java
sed -i "s/gnu.trove.TObjectIntHashMap/gnu.trove.map.hash.TObjectIntHashMap/" ./src/main/org/codehaus/aspectwerkz/expression/ArgsIndexVisitor.java
sed -i "s/gnu.trove.TIntObjectHashMap/gnu.trove.map.hash.TIntObjectHashMap/" ./src/main/org/codehaus/aspectwerkz/joinpoint/management/SignatureFactory.java


and then resumed emerge, however, thre are still some errors that I am not able to resolve as of yet. Any ideas?

Code:
emerge -1O aspectwerkz  (wd: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/lib)
>>> Source unpacked in /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work
>>> Compiling source in /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2 ...
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/build.xml

init:

clean:
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/classes
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/jdk15
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/jdk14
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/test-classes
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/samples-classes
    [mkdir] Created dir: /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/extensions-classes

compile:
    [javac] Compiling 10 source files to /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/jdk14
    [javac] Compiling 300 source files to /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/target/classes
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/hook/impl/WeavingClassLoader.java:10: warning: sun.misc.Resource is Sun proprietary API and may be removed in a future release
    [javac] import sun.misc.Resource;
    [javac]                ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/hook/impl/WeavingClassLoader.java:11: warning: sun.misc.URLClassPath is Sun proprietary API and may be removed in a future release
    [javac] import sun.misc.URLClassPath;
    [javac]                ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/hook/impl/WeavingClassLoader.java:39: warning: sun.misc.Resource is Sun proprietary API and may be removed in a future release
    [javac]         Resource res = new URLClassPath(getURLs()).getResource(path, false);
    [javac]         ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/hook/impl/WeavingClassLoader.java:39: warning: sun.misc.URLClassPath is Sun proprietary API and may be removed in a future release
    [javac]         Resource res = new URLClassPath(getURLs()).getResource(path, false);
    [javac]                            ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/expression/ArgsIndexVisitor.java:93: clone() has protected access in java.lang.Object
    [javac]         TObjectIntHashMap exprIndexToTargetIndexSoFar = (TObjectIntHashMap) context.m_exprIndexToTargetIndex.clone();
    [javac]                                                                                                             ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/expression/ArgsIndexVisitor.java:192: clone() has protected access in java.lang.Object
    [javac]         TObjectIntHashMap exprIndexToTargetIndexSoFar = (TObjectIntHashMap) context.m_exprIndexToTargetIndex.clone();
    [javac]                                                                                                             ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/reflect/impl/java/JavaClassInfo.java:248: cannot find symbol
    [javac] symbol  : method getValues()
    [javac] location: class gnu.trove.map.hash.TIntObjectHashMap
    [javac]         Object[] values = m_constructors.getValues();
    [javac]                                         ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/reflect/impl/java/JavaClassInfo.java:284: cannot find symbol
    [javac] symbol  : method getValues()
    [javac] location: class gnu.trove.map.hash.TIntObjectHashMap
    [javac]         Object[] values = m_methods.getValues();
    [javac]                                    ^
    [javac] /var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/src/main/org/codehaus/aspectwerkz/reflect/impl/java/JavaClassInfo.java:312: cannot find symbol
    [javac] symbol  : method getValues()
    [javac] location: class gnu.trove.map.hash.TIntObjectHashMap
    [javac]         Object[] values = m_fields.getValues();
    [javac]                                   ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 5 errors
    [javac] 4 warnings

BUILD FAILED
/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2/build.xml:131: Compile failed; see the compiler error output for details.

Total time: 1 minute 18 seconds
 * ERROR: dev-java/aspectwerkz-2.0_rc2-r3 failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4028:  Called eant 'dist'
 *   environment, line  595:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of `emerge --info '=dev-java/aspectwerkz-2.0_rc2-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/aspectwerkz-2.0_rc2-r3'`.
!!! 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.33"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2'
 * S: '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2'
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

>>> Failed to emerge dev-java/aspectwerkz-2.0_rc2-r3, Log file:

>>>  '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/temp/build.log'

 * Messages for package dev-java/aspectwerkz-2.0_rc2-r3:

 * ERROR: dev-java/aspectwerkz-2.0_rc2-r3 failed (compile phase):
 *   eant failed
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4028:  Called eant 'dist'
 *   environment, line  595:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *
 * If you need support, post the output of `emerge --info '=dev-java/aspectwerkz-2.0_rc2-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/aspectwerkz-2.0_rc2-r3'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2'
 * S: '/var/tmp/portage/dev-java/aspectwerkz-2.0_rc2-r3/work/aw_2_0_2'

_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
mizery de aria
Guru
Guru


Joined: 07 Dec 2003
Posts: 307

PostPosted: Thu Sep 06, 2012 3:25 am    Post subject: solved Reply with quote

Solved by unmasking aspectwerkz-2.0 for ~amd64
_________________
Do not repIy to or othErwise communicate with me if you use religious, spiritual or similar terminologies or references in your typings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum