It fails to build with the php module, it builds fine without it and the doc USE flag - as you can't have doc with this package without all the modules. It fails at this point: netbeans-extra: module-xml-regular: [createmodulexml] Enabled modules: [PHP Project] module-xml-autoload: module-xml-eager: javahelp: module-auto-deps: release: [unzip] Expanding: /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/php.project/external/phpsigfiles.zip into /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/nbbuild/netbeans/php1 [unzip] Expanding: /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/php.project/external/preindexed-php.zip into /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/nbbuild/netbeans/php1 verify-class-linkage: -verify-apichanges: netbeans: [genlist] Generating information for Auto Update... [repeat] [repeat] all-php.editor: build-one-cluster-dependencies-check: build-one-cluster-dependencies: build-one-cluster-check: build-one-cluster: build-one-cluster-check: build-one-cluster: build-one-cluster-check: build-one-cluster: build-one-cluster-check: build-one-cluster: [echo] Building php.editor... [nbmerge] Failed to build target: all-php.editor BUILD FAILED /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/nbbuild/build.xml:664: The following error occurred while executing this line: /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/nbbuild/build.xml:659: The following error occurred while executing this line: /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/nbbuild/build.xml:706: The following error occurred while executing this line: /var/tmp/portage/dev-util/netbeans-6.7_beta-r6/work/php.editor/build.xml:32: taskdef class java_cup.anttask.CUPTask cannot be found Total time: 25 minutes 21 seconds * * ERROR: dev-util/netbeans-6.7_beta-r6 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 4481: Called eant '-Dstop.when.broken.modules=true' '-Dpermit.jdk6.builds=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.dlight,nb.cluster.enterprise,nb.cluster.ergonomics,nb.cluster.groovy,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.webcommon,nb.cluster.websvccommon' '-f' 'nbbuild/build.xml' 'build-nozip' * environment, line 987: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * The die message: * eant failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/netbeans-6.7_beta-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/netbeans-6.7_beta-r6/temp/environment'. * !!! 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.13" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
Created attachment 191739 [details] my `emerge --info`
I did not face this problem myself though I use all netbeans modules, but I do not build netbeans with 'doc' USE flag. Anyway, I added javacup ant task to the list of tasks when building netbeans with php module, should fix your error. The fix is in -r6 and should appear in rsync mirrors in ~1hr. If this does not fix your error then pls reopen this bug.
Thanks for the quick reaction, but nope, didn't help. It goes exactly the same. Only line numbers in the call stack are different: * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 4485: Called eant '-Dstop.when.broken.modules=true' '-Dpermit.jdk6.builds=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.dlight,nb.cluster.enterprise,nb.cluster.ergonomics,nb.cluster.groovy,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.webcommon,nb.cluster.websvccommon' '-f' 'nbbuild/build.xml' 'build-nozip' 'build-javadoc' * environment, line 987: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * The die message: * eant failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-util/netbeans-6.7_beta-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/netbeans-6.7_beta-r6/temp/environment'. * !!! 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.13" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" So I still have to build it without the doc flag and the php module.
Did you try to build netbeans with php module but without 'doc' use flag? Your problem might be also memory issue as building netbeans with javadocs needs ~1.5GB of memory.
Yes, I did and the result is the same. This line is the only single difference: * environment, line 4485: Called eant '-Dstop.when.broken.modules=true' '-Dpermit.jdk6.builds=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.dlight,nb.cluster.enterprise,nb.cluster.ergonomics,nb.cluster.groovy,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.webcommon,nb.cluster.websvccommon' '-f' 'nbbuild/build.xml' 'build-nozip' I have 2GB of RAM and over 4GB of swap so memory is not an issue.
What version of javacup do you have installed? And does it contain CUPTask? Here are my results: $ equery list javacup * Searching for javacup ... * installed packages: [I--] [ ~] dev-java/javacup-0.11a_beta20060608 (0) $ unzip -l /usr/share/javacup/lib/javacup.jar | grep CUPTask 9556 03-17-09 18:29 java_cup/anttask/CUPTask.class
szczerb@nomad ~ $ eix -c javacup [I] dev-java/javacup (0.10k-r1@18.05.2009): CUP Parser Generator for Java szczerb@nomad ~ $ unzip -l /usr/share/javacup/lib/javacup.jar | grep CUPTask szczerb@nomad ~ $ I guess then, that it should depend on a newer javacup - will update now and get back to you, when it's done.
Now (with the new javacup) it built just fine with all modules and the doc flag (but it took ages...), so the deps need to be modified for it. Thanks again for the help. BTW I'm using gnome and the menu entry for netbeans got added fine and working but without an icon, so I had to pick an icon (/usr/share/icons/hicolor/32x32/apps/netbeans-6.7.png) for it. I don't suppose it's a problem worth filing another bug.
So I fixed the dependency in -r6. Thx for reporting :-) Wrt that icon problem, netbeans ebuild uses standard make_desktop_entry eclass function and icon appears correctly in xfce. I have no idea why gnome would not display it, but if there is a bug, it should be fixed in corresponding eclass, netbeans ebuild cannot fix this.