Created attachment 575456 [details] build.log Please be aware that the dev-java/netbeans-ide ebuild has multiple issues. A change to dev-java/sun-jaf results in netbeans-8.2 failing to start with an error in ~/.netbeans/8.2/var/log/messages.log.1: INFO [org.netbeans.JarClassLoader]: Cannot open /usr/share/netbeans-nb-8.2/ide/modules/ext/jaxb/activation.jar java.io.FileNotFoundException: /usr/share/netbeans-nb-8.2/ide/modules/ext/jaxb/activation.jar (No such file or directory) dev-java/netbeans-ide creates a symlink /usr/share/netbeans-nb-8.2/ide/modules/ext/jaxb/activation.jar to //usr/share/sun-jaf/lib/activation.jar which is not created by dev-java/sun-jaf-1.1.1-r1 due to this change: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acfb4299d21c081ad18e71c5f2a3858a1735e3fa and will cause a different prepare phase failure in netbeans-ide-8.2.ebuild This change is *already addressed* in dev-java/netbeans-ide-8.2-r1 which is currently ~. See: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507f2f473c87ec201c0b05dcfc5e3d6c8c739ed3 netbeans-ide-8.2-r1 fails with: * ERROR: dev-java/netbeans-ide-8.2-r1::gentoo failed (prepare phase): * Failed to find xercesImpl.jar in xerces-2 This appears to be related to: https://stackoverflow.com/questions/11677572/dealing-with-xerces-hell-in-java-maven For this reason, I made an edit to netbeans-ide-8.2-r1.ebuild renaming xercesImpl.jar references to xerces.jar
Created attachment 575458 [details, diff] netbeans-ide-8.2-r2.ebuild.patch My edits to netbeans-ide-8.2-r1.ebuild as netbeans-ide-8.2-r2.ebuild - not sure if this is a good patch format, but hopefully it is at least readable. With these two line changes, my netbeans now builds and runs.
Good morning, thank you for posting your solution, it worked perfectly.
Hello, I can confirm this issue about "Failed to find xercesImpl.jar in xerces-2" in the prepare phase, and then that the provided patch works to fix this issue, thanks. However, which is not in the scope of this issue, I am still unable to build this package, compilation fails during "bootstrap", with compilation errors found by javac in "org/netbeans/nbbuild"'s .java files. Best regards,
Hello again, Sorry for the noise, I finally found the bug #678536 about my issue. Best regards.
it's obsolete now as netbeans is being removed from the main tree. if you need netbeans, see bug #685782.