>>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work ... * Bootstrapping with bundled javacup ... * Disabling all optional ANT_TASKS Buildfile: /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work/build.xml init: cup: [cup] This is CUP v0.11a beta 20060608 [cup] Authors : Scott E. Hudson, Frank Flannery, Andrea Flexeder, Michael Petter and C. Scott Ananian [cup] Bugreports to petter@cs.tum.edu [cup] Destination directory didn't exist; creating new one: /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work/java/java_cup [cup] ------- CUP v0.11a beta 20060608 Parser Generation Summary ------- [cup] 0 errors and 0 warnings [cup] 36 terminals, 60 non-terminals, and 117 productions declared, [cup] producing 185 unique parse states. [cup] 0 terminals declared but not used. [cup] 0 non-terminals declared but not used. [cup] 0 productions never reduced. [cup] 0 conflicts detected (0 expected). [cup] Code written to "parser.java", and "sym.java". [cup] ---------------------------------------------------- (v0.11a beta 20060608) jflex: BUILD FAILED /var/tmp/portage/dev-java/javacup-0.11b_p20151001/work/build.xml:53: java.lang.NoSuchMethodError: java_cup.runtime.SymbolFactory.newSymbol(Ljava/lang/String;ILjava_cup/runtime/Symbol;Ljava/lang/Object;)Ljava_cup/runtime/Symbol; at jflex.LexParse$CUP$LexParse$actions.CUP$LexParse$do_action_part00000000(LexParse.java:1415) at jflex.LexParse$CUP$LexParse$actions.CUP$LexParse$do_action(LexParse.java:3399) at jflex.LexParse.do_action(LexParse.java:940) at java_cup.runtime.lr_parser.parse(lr_parser.java:584) at jflex.Main.generate(Main.java:67) at jflex.anttask.JFlexTask.execute(JFlexTask.java:66) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 0 seconds * ERROR: dev-java/javacup-0.11b_p20151001::gentoo failed (compile phase): * eant failed * Reproducible: Always Portage 2.2.24 (python 3.5.0-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64) ================================================================= System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24627044 total, 20112772 free KiB Swap: 26488828 total, 26488828 free Timestamp of repository gentoo: Tue, 10 Nov 2015 07:00:01 +0000 Timestamp of repository poly-c: Mon, 09 Nov 2015 15:58:16 +0000 sh bash 4.3_p42 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.10-r2::gentoo, 3.4.3-r2::gentoo, 3.5.0-r1::gentoo dev-util/cmake: 3.4.0_rc3::poly-c dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.18.3::gentoo sys-apps/sandbox: 2.9::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /mnt/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 bumblebee location: /mnt/portage/local/layman/bumblebee masters: gentoo priority: 0 dotnet location: /mnt/portage/local/layman/dotnet masters: gentoo priority: 1 steam-overlay location: /mnt/portage/local/layman/steam-overlay masters: gentoo priority: 2 media-overlay location: /mnt/portage/local/layman/media-overlay masters: gentoo priority: 3 dr location: /mnt/portage/local/layman/dr masters: gentoo priority: 4 brother-overlay location: /mnt/portage/local/layman/brother-overlay masters: gentoo priority: 5 bitcoin location: /mnt/portage/local/layman/bitcoin masters: gentoo priority: 6 poly-c location: /mnt/portage/local/layman/poly-c masters: gentoo priority: 7 lokal location: /mnt/portage/local/local-overlay masters: gentoo priority: 8 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fail-clean fixlafiles merge-sync news nodoc noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9"
Created attachment 416516 [details] /mnt/portage/logs/dev-java:javacup-0.11b_p20151001:20151110-081640.log
Strange. Could you please rerun this with JAVA_PKG_DEBUG="yes" and attach the log? Thanks.
Created attachment 416636 [details] '/mnt/portage/logs/dev-java:javacup-0.11b_p20151001:20151110-153948.log' here is the log, which your asking for
I take it you already have jflex-1.6.1 installed as this package requires it. Do you have an older version of javacup already installed? This is a cyclic dependency but I tried to ensure that only the latest versions of jflex and javacup are used, otherwise jflex builds against the bundled version of javacup the first time around. I tested both scenarios so the implication here is that you somehow built jflex against an older version of javacup. Is there a hole in my logic somewhere?
Figured it out! I wonder how you managed to stumble across this by accident. You have to... * Build jflex against the bundled javacup * Build the new javacup * Build jflex against the new javacup * Build the new javacup again -> BOOM! For some stupid reason, javacup 11b bundles javacup 11a. I'm very tired right now but I'll have a think about how to solve this.
This was a tricky one but it should be fixed now.