Summary: | dev-util/netbeans-6.7_beta fails to emerge becase of missing classpath entry | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Java | Assignee: | Miroslav Šulc <fordfrog> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-tools |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2009-05-02 08:55:43 UTC
I cannot reproduce it with this setup (using netbeans-6.7_beta-r1): $ NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" emerge -vp netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD] dev-util/netbeans-6.7_beta [6.7_beta-r1] USE="-debug -doc" LINGUAS="-de -es -fr -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupport groovy harness ide java nb websvccommon -cnd* -dlight* -enterprise* -ergonomics* -identity* -mobility* -php* -profiler* -ruby* -webcommon*" 0 kB What is your exact netbeans-6.7 ebuild setup and what is the jdk used? You can also include the failure info below the build failure, like JDK, command issued etc. I have the following: root@lynx:/root(17)# eselect java-vm list Available Java Virtual Machines: [1] icedtea6 [2] sun-jdk-1.5 [3] sun-jdk-1.6 system-vm root@lynx:/root(18)# java-config -L The following VMs are available for generation-2: 1) OpenJDK6/IcedTea6 1.4.1 [icedtea6] 2) Sun JDK 1.5.0.18 [sun-jdk-1.5] *) Sun JDK 1.6.0.13 [sun-jdk-1.6] root@lynx:/root(19)# emerge -pvuDN netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-util/netbeans-6.7_beta [6.5-r4] USE="doc -debug" LINGUAS="de fr -es -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupport groovy harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -identity -mobility -php -profiler -ruby -webcommon" 0 kB root@lynx:/root(19)# emerge -pvuDN netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-util/netbeans-6.7_beta [6.5-r4] USE="doc -debug" LINGUAS="de fr -es -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupp ort groovy harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -identity -mobility -php -profiler -ruby -webcommon" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB root@lynx:/root(20)# NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java > xml" emerge -vp netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-util/netbeans-6.7_beta [6.5-r4] USE="doc -debug" LINGUAS="de fr -es -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupp ort groovy harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -identity -mobility -php -profiler -ruby -webcommon" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB root@lynx:/root(21)# NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" emerge -vp netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-util/netbeans-6.7_beta [6.5-r4] USE="doc -debug" LINGUAS="de fr -es -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupp ort groovy harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -identity -mobility -php -profiler -ruby -webcommon" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB root@lynx:/root(22)# NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" emerge -v netbeans These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-util/netbeans-6.7_beta [6.5-r4] USE="doc -debug" LINGUAS="de fr -es -it -ja -pl -pt_BR -ru -sq -tr -zh_CN -zh_TW" NETBEANS_MODULES="apisupp ort groovy harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -identity -mobility -php -profiler -ruby -webcommon" 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/netbeans-6.7_beta * netbeans-6.7beta-200904242137-src.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * netbeans-6.5-l10n-20081119172200.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking netbeans-6.5-l10n-20081119172200.tar.bz2 to /var/tmp/portage/dev-util/netbeans-6.7_beta/work >>> Unpacking netbeans-6.7beta-200904242137-src.zip to /var/tmp/portage/dev-util/netbeans-6.7_beta/work ... [subant-junit] Entering: /var/tmp/portage/dev-util/netbeans-6.7_beta/work/j2eeserver init-tasks: default.init: [propertyfile] Updating property file: /var/tmp/portage/dev-util/netbeans-6.7_beta/work/nbbuild/netbeans/moduleCluster.properties ... projectized.build-init: BUILD FAILED /var/tmp/portage/dev-util/netbeans-6.7_beta/work/nbbuild/build.xml:270: The following error occurred while executing this line: /var/tmp/portage/dev-util/netbeans-6.7_beta/work/nbbuild/templates/projectized.xml:87: No such classpath entry: /var/tmp/portage/dev-util/netbeans-6.7_beta/wor k/nbbuild/netbeans/enterprise5/modules/org-netbeans-modules-j2eeapis.jar Then I still get:
*
!!! 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"
and of course, the output of emerge --info
>>> Failed to emerge dev-util/netbeans-6.7_beta, Log file:
I could also add /var/tmp/portage/dev-util/netbeans-6.7_beta/temp/build.log. But has a size of more than 3MB, and I am afraid it is therfore not accepted.
Ah, now i can see where the problem is. Building netbeans with 'doc' USE flag requires all modules being turned on. You have two choices: - if you really need javadoc api for netbeans sources, then enable all modules - if you do not need it, simply add to your /etc/portage/package.use line dev-util/netbeans -doc (you'll still have netbeans user doc available with -doc) This fix is in netbeans ebuild since netbeans-6.7_beta-r2. The latest is -r3 atm and -r4 coming soon (fix for one ruby cluster jar symlink) |