projectized.compile: [mkdir] Created dir: /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/xml/core/build/classes [javac] Compiling 94 source files to /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/xml/core/build/classes [repeat] /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/xml/core/src/org/netbeans/modules/xml/spi/dom/AbstractNode.java:319: cannot resolve symbol [repeat] symbol : class UserDataHandler [repeat] location: class org.netbeans.modules.xml.spi.dom.AbstractNode [repeat] public Object setUserData(String a, Object b, UserDataHandler c) { [repeat] ^ [repeat] /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/xml/core/src/org/netbeans/modules/xml/spi/dom/AbstractNode.java:324: cannot resolve symbol [repeat] symbol : class TypeInfo [repeat] location: class org.netbeans.modules.xml.spi.dom.AbstractNode [repeat] public TypeInfo getSchemaTypeInfo() { [repeat] ^ [repeat] /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/xml/core/src/org/netbeans/modules/xml/spi/dom/AbstractNode.java:359: cannot resolve symbol [repeat] symbol : class DOMConfiguration [repeat] location: class org.netbeans.modules.xml.spi.dom.AbstractNode [repeat] public DOMConfiguration getDomConfig() { [repeat] ^ [repeat] Note: Some input files use or override a deprecated API. [repeat] Note: Recompile with -deprecation for details. [repeat] 3 errors BUILD FAILED /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/nbbuild/build.xml:2563: The following error occurred while executing this line: /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/nbbuild/build.xml:2558: The following error occurred while executing this line: /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/nbbuild/build.xml:1898: The following error occurred while executing this line: /var/tmp/portage/netbeans-4.0-r2/work/netbeans-src/nbbuild/templates/projectized.xml:118: Compile failed; see the compiler error output for details. Total time: 4 minutes 7 seconds !!! ERROR: dev-util/netbeans-4.0-r2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile netbeans-4.0-r2.ebuild, line 252: Called die !!! Compiling failed! !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 90658 [details] emerge --info
Which JDK are you currently using? Also, have you upgraded to the new Java system? ie http://www.gentoo.org/proj/en/java/java-upgrade.xml
sun-jdk-1.4.2.12 and yes.
I also have upgrade to the new java system. java-config-1 -S was set to sun-jdk-1.4, java-config-2 -S was set to sun-jdk-1.5 then I changed it to sun-jdk-1.4. Same failure both cases. I also have set my classpath using both java-config-1 -A and java-config-2 -A. The reason that I was compiling netbeans was because after I did the upgrade following the java upgrade page it failed to properly load its modules and was functioning correctly. I ran emerge -C netbeans to clean it out then I proceeded to reinstall it. Should I try and run the dependency tree and reinstall the dependencies first?
That's probably a good idea.
Created attachment 90813 [details] error msg from emerge -av1 dev-java/jaxen Error msg from out of emerge -av1 dev-java/jaxen
While rebuilding the direct dependencies of netbeans i get a failure in dev-java/jaxen See attachement. I am going to also post a compile failure bug on dev-java/jaxen unless one already exists.
addendum, jaxen-1.1_beta6 also fails to compile. Thats about all I can do for now. Any suggestions would be appreciated.
After a major hardware upgrade and playing around with x86_64 I went back to x86 and starting from a fresh install with the new java system I still can't get netbeans 4.0 to install. Do you have any new suggestions other than going back to the old java enviornment, cause this is a fresh install with the entire dependency chain compiled using the new java enviornment. Just tell me what info you need and what you want me to try.
We are currently without a netbeans maintainer (actually, the maintainer is on leave for the rest of the year)... so I'm not sure what the best path to take is.
Josh I am still looking but after going through the sun-jdk-docs I have confirmed that the class UserDataHandler, DOMConfiguration, and TypeInfo are not part of the sun-jdk-1.4 set of classes including the contents of org.w3c.dom.* .And it is those three class names that it cannot find a definitin for. Is there anything in the new java setup, that would cause a change in the scope of class names and definitions. Cause a change in scope or the new version removing a key set of classes is the only thing that I can think of at the moment. I guess my next step is to see what I can find in jdom. Again anything you might have to add would be much appreciated.
Netbeans 5.5 has been committed to tree. Since this is the current version of Netbeans. Work will not be done on older versions. There is already a pre-alpha 6.0 ebuild in java-migration-overlay that fordfrog has re-bumped from 5.0, and addressed the new deps and etc. Closing this bug.