Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Icedtea with javascript fails to emerge with ant-owanttask
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1169
Location: PB, Germany

PostPosted: Wed Aug 21, 2013 7:31 am    Post subject: Icedtea with javascript fails to emerge with ant-owanttask Reply with quote

I need Icedtea with USE="javascript". But emerge fails at dev-java/ant-owanttask-1.1-r12 with [javac] An exception has occurred in the compiler (1.7.0_40) on ~amd64.

emerge -auNDv icedtea:
Calculating dependencies... done!
[ebuild   R   ~] dev-java/icedtea-7.2.4.1:7  USE="X alsa cups javascript* jbootstrap nsplugin nss source webstart -cjk -debug -doc -examples -pax_kernel -pulseaudio -systemtap {-test}" 0 kB
[ebuild   R   ~] dev-java/icedtea-6.1.12.6:6  USE="X alsa cups javascript* jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -pax_kernel -pulseaudio -systemtap {-test}" 0 kB
[ebuild  N     ]  dev-java/rhino-1.7.2-r2:1.6  USE="-doc -examples -source" 2,946 kB
[ebuild  N     ]   dev-java/xml-xmlbeans-1.0.4_pre20041217:1  USE="-doc -source" 2,380 kB
[nomerge       ] dev-java/xml-xmlbeans-1.0.4_pre20041217:1  USE="-doc -source"
[nomerge       ]  dev-java/jaxen-1.1.1:1.1  USE="-doc -examples -source {-test}"
[nomerge       ]   dev-java/jdom-1.0-r4:1.0  USE="-doc -examples -source"
[ebuild  N     ]    dev-java/jdom-jaxen-1.0-r1:1.0  3,485 kB
[ebuild  N     ]     dev-java/jaxen-1.1.1:1.1  USE="-doc -examples -source {-test}" 265 kB
[ebuild  N     ]      dev-java/jdom-1.0-r4:1.0  USE="-doc -examples -source" 0 kB
[ebuild  N     ]      dev-java/xom-1.2.6-r1  USE="-doc -examples -source" 0 kB
[ebuild  N     ]       dev-java/jarjar-0.9:1  USE="-doc -source {-test}" 0 kB
[ebuild  N     ]        dev-java/asm-2.0-r1:2  USE="-doc -source" 0 kB
[ebuild  N     ]         dev-java/ant-owanttask-1.1-r12  0 kB

/var/tmp/portage/dev-java/ant-owanttask-1.1-r12/temp/build.log:
 * Package:    dev-java/ant-owanttask-1.1-r12
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   preserve-libs sandbox
 * Using: icedtea-7
>>> Unpacking source...
>>> Unpacking owanttask-1.1-gentoo.tar.bz2 to /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work
 * Applying ant-owanttask-1.1-classpath.patch ...                                                  [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work
>>> Compiling source in /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work/owanttask-1.1 ...
Rewriting attributes
Rewriting ./build.xml
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work/owanttask-1.1/build.xml

compile:
    [mkdir] Created dir: /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work/owanttask-1.1/output/build
    [javac] Compiling 8 source files to /var/tmp/portage/dev-java/ant-owanttask-1.1-r12/work/owanttask-1.1/output/build
    [javac] An exception has occurred in the compiler (1.7.0_40). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
    [javac] java.lang.AssertionError
    [javac]    at com.sun.tools.javac.util.Assert.error(Assert.java:126)
    [javac]    at com.sun.tools.javac.util.Assert.check(Assert.java:45)
    [javac]    at com.sun.tools.javac.comp.Attr.attribIdentAsEnumType(Attr.java:678)
    [javac]    at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:629)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:725)
    [javac]    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:401)
    [javac]    at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:855)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:725)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:496)
    [javac]    at com.sun.tools.javac.comp.Attr.visitForLoop(Attr.java:939)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:872)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:496)
    [javac]    at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:918)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:781)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.visitTry(Attr.java:1118)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1044)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:496)
    [javac]    at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:918)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:781)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:836)
    [javac]    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:669)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:431)
    [javac]    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:418)
    [javac]    at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:480)
    [javac]    at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:3250)
    [javac]    at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:3173)
    [javac]    at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:3109)
    [javac]    at com.sun.tools.javac.comp.Attr.attrib(Attr.java:3083)
    [javac]    at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1184)
    [javac]    at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:870)
    [javac]    at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:829)
    [javac]    at com.sun.tools.javac.main.Main.compile(Main.java:439)
    [javac]    at com.sun.tools.javac.main.Main.compile(Main.java:353)
    [javac]    at com.sun.tools.javac.main.Main.compile(Main.java:342)
    [javac]    at com.sun.tools.javac.main.Main.compile(Main.java:333)
    [javac]    at com.sun.tools.javac.Main.compile(Main.java:76)
    [javac]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [javac]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac]    at java.lang.reflect.Method.invoke(Method.java:606)
    [javac]    at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:56)
    [javac]    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1153)
    [javac]    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:930)
    [javac]    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [javac]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javac]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [javac]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [javac]    at java.lang.reflect.Method.invoke(Method.java:606)
    [javac]    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [javac]    at org.apache.tools.ant.Task.perform(Task.java:348)
    [javac]    at org.apache.tools.ant.Target.execute(Target.java:392)
    [javac]    at org.apache.tools.ant.Target.performTasks(Target.java:413)
    [javac]    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [javac]    at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [javac]    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [javac]    at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [javac]    at org.apache.tools.ant.Main.runBuild(Main.java:811)
    [javac]    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [javac]    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [javac]    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo,i5-3470 | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme


Last edited by Massimo B. on Thu Aug 22, 2013 8:20 am; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1352

PostPosted: Wed Aug 21, 2013 1:34 pm    Post subject: Reply with quote

Please file bugs at https://bugs.gentoo.org
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1169
Location: PB, Germany

PostPosted: Thu Aug 22, 2013 8:20 am    Post subject: Reply with quote

-> bug 482060.
I got it working by building dev-java/ant-owanttask-1.1-r12 with an older icedtea first.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67, 2G(dev.notes[pdf]) | amd64:Core2Duo,i5-3470 | amd64-prefix:OpenSuse@Core2Quad | Lila-Theme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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