Total time: 0 seconds * ERROR: dev-java/javacup-0.11b_p20151001::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 115: Called src_compile ----------------------------------------------------------------- This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * llvm-config: 3.9.1 Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.3.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm
Created attachment 466658 [details] emerge-info.txt
Created attachment 466660 [details] dev-java:javacup-0.11b_p20151001:20170311-065542.log
Created attachment 466662 [details] emerge-history.txt
Created attachment 466664 [details] environment
Created attachment 466666 [details] etc.portage.tbz2
I have this disease as well. It's a crippling problem, as there is no way to have ant without javacup and tons of things have ant dependencies. The strange thing is that nobody else seems to be complaining about it, suggesting that some idiosyncracy of Toralf's and my configurations is involved.
(In reply to Greg Turner from comment #6) > I have this disease as well. It's a crippling problem, as there is no way > to have ant without javacup and tons of things have ant dependencies. The > strange thing is that nobody else seems to be complaining about it, > suggesting that some idiosyncracy of Toralf's and my configurations is > involved. I made these changes ages ago and you're right that no one else has complained but I've managed to reproduce it so something must have changed. I'll look in detail later.
I've narrowed down the cause. It's mgorny's eval cleanup in b8fd8d3124411a8b046898a1c578fe6295e96dd0. If you run with JAVA_PKG_DEBUG=yes then you'll see this, which looks very odd. Notice the single quotes. dropping /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work/'/usr/share/ant-core/lib/ant.jar from path as it doesn't exist dropping /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work/dist/java-cup-11b.jar' from path as it doesn't exist
mgorny, please see above.
Wait, I see the problem. There's a couple of instances of '\${gentoo.classpath}' in java-ant-2.eclass. It's easy enough to fix in the 2nd gen rewriter case (though I don't think this is used any more) but the 3rd gen case (which is used here) is a bit more involved. I won't have time till tonight.
I did some checks and remove the 2nd gen code. It should have gone years ago. I've fixed the 3rd gen code by making bsfix_extra_args an array.
That did the trick for me. Thanks, James, for being such a responsive maintainer -- who knows how long it would have taken me to figure out a way to kludge around this, probably a long time.