Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138795 - dev-util/netbeans-4.0-r2 doesn't compile
Summary: dev-util/netbeans-4.0-r2 doesn't compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-01 18:31 UTC by Dave
Modified: 2006-11-04 10:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (stuff,9.41 KB, text/plain)
2006-07-01 18:32 UTC, Dave
Details
error msg from emerge -av1 dev-java/jaxen (jaxen_build_compile_error.txt,9.49 KB, text/plain)
2006-07-03 14:42 UTC, Robert T Childers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2006-07-01 18:31:30 UTC
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.
Comment 1 Dave 2006-07-01 18:32:11 UTC
Created attachment 90658 [details]
emerge --info
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-07-02 07:28:49 UTC
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
Comment 3 Dave 2006-07-02 12:12:06 UTC
sun-jdk-1.4.2.12 and yes.
Comment 4 Robert T Childers 2006-07-02 19:22:32 UTC
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?
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-07-02 19:30:24 UTC
That's probably a good idea.
Comment 6 Robert T Childers 2006-07-03 14:42:05 UTC
Created attachment 90813 [details]
error msg from emerge  -av1 dev-java/jaxen

Error msg from out of emerge -av1 dev-java/jaxen
Comment 7 Robert T Childers 2006-07-03 14:44:05 UTC
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.
Comment 8 Robert T Childers 2006-07-03 15:15:02 UTC
addendum, jaxen-1.1_beta6 also fails to compile. Thats about all I can do for now. Any suggestions would be appreciated.
Comment 9 Robert T Childers 2006-08-06 09:43:01 UTC
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.
Comment 10 Josh Nichols (RETIRED) gentoo-dev 2006-08-06 10:00:59 UTC
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.
Comment 11 Robert T Childers 2006-08-07 18:53:21 UTC
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.
Comment 12 William L. Thomson Jr. (RETIRED) gentoo-dev 2006-11-04 10:23:10 UTC
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.