Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201098 - dev-util/netbeans-6 released (version bump).
Summary: dev-util/netbeans-6 released (version bump).
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Miroslav Šulc
URL: http://www.netbeans.org
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2007-12-03 13:22 UTC by Marko Steinberger
Modified: 2008-11-21 01:39 UTC (History)
11 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Steinberger 2007-12-03 13:22:11 UTC
New major release of dev-util/netbeans.

Reproducible: Always
Comment 1 Miroslav Šulc gentoo-dev 2007-12-10 11:08:16 UTC
The ebuild lives for several months (in pre status and now for the final release) in java-experimental overlay (http://overlays.gentoo.org/proj/java/browser/java-experimental/dev-util/netbeans). The ebuild installs working netbeans 6.0 but it is not finished yet, needs testing of merging of different combinations of use flags and moving it to the tree will take some time too because of the deps. Anybody is welcome to emerge and test the ebuild in the overlay.

We have a problem on some systems where compilation fails with some JAXBException, but the bug does not appear on new fresh installations. Anybody is also welcome to help to solve this problem, we were not able to find the cause yet.
Comment 2 adrienleroy 2008-01-11 10:20:38 UTC
Hello,
I have an error when compiling with the following ueflag :ide or ide and j2ee

GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.13"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info

 * Messages for package dev-util/netbeans-6.0:

 *
 * ERROR: dev-util/netbeans-6.0 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   netbeans-6.0.ebuild, line  387:  Called eant '-Dstop.when.broken.modules=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.ide,nb.cluster.j2ee,nb.cluster.java' '-f' 'nbbuild/build.xml' 'build-nozip'
 *   java-utils-2.eclass, line 1971:  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.0/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/layman/java-experimental/'
 *

And emerge --info

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 i686)
=================================================================
System uname: 2.6.22-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Fri, 11 Jan 2008 04:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG=""
LC_ALL="en_US.UTF-8"
PKGDIR="/var/tmp/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/java-overlay /usr/local/layman/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa arts berkdb bitmap-fonts bzip2 cli cracklib crypt cups dri dvd dvdread encode enocode ffmpeg fftw flac font-server foomaticdb fortran gdbm gif gpm hal iconv ipode ipv6 isdnlog java jpeg jpeg2k kde kdeenablefinal matroska midi mjpeg mmx mp3 mp4 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png ppds pppd python quicktime readline real reflection rtsp session spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1 type1-fonts unicode vorbis win32codecs wmf x264 x86 xcomposite xinerama xorg xosd xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Miroslav Šulc gentoo-dev 2008-01-11 11:36:21 UTC
adrienleroy: we need also the output above the lines you pasted

For those that have the problem with compilation of netbeans wrt JAXBException, Obeliks found the cause of the problem. It is caused by sun-jaxb-bin being installed. So you need to unmerge that package. Usual procedure should be 'emerge -uDN world && emerge --depclean && revdep-rebuild' to have the system clean and working.
Comment 4 adrienleroy 2008-01-13 11:12:00 UTC
Hello,

here the lines aboves the error :

netbeans-extra:

module-xml-regular:
[createmodulexml] Enabled modules: [Database Explorer]

module-xml-autoload:

module-xml-eager:

javahelp:
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/db/build/javahelp/org/netbeans/modules/db/docs/JavaHelpSearch
     [copy] Copying 35 files to /var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/db/build/javahelp
   [delete] Deleting directory /var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/db/build/javahelp/org/netbeans/modules/db/docs/JavaHelpSearch
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/db/build/javahelp/org/netbeans/modules/db/docs/JavaHelpSearch
[jhindexer] Running JavaHelp search database indexer...
  [nbmerge] Failed to build target: all-db

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/nbbuild/build.xml:688: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/nbbuild/build.xml:683: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/nbbuild/build.xml:733: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/nbbuild/templates/projectized.xml:294: /var/tmp/portage/dev-util/netbeans-6.0/work/netbeans-src/apisupport/harness/external not found.
Comment 5 Miroslav Šulc gentoo-dev 2008-01-14 12:25:43 UTC
thx. What USE flags do you use to compile netbeans?
Comment 6 adrienleroy 2008-01-14 18:09:46 UTC
I was able to compile netbeans using those use flags : ide apisupport harness.

But i can't lauch netbeans nothing happen when i run the command and i get no error.
Comment 7 Miroslav Šulc gentoo-dev 2008-01-14 18:40:02 UTC
You have to turn 'nb' USE flag on to be able to start netbeans, as without 'nb' use flag you emerge just netbeans platform.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2008-01-14 20:09:50 UTC
(In reply to comment #7)
> You have to turn 'nb' USE flag on to be able to start netbeans, as without 'nb'
> use flag you emerge just netbeans platform.
> 

You should probably start using USE defaults via EAPI=1 in the Netbeans ebuild.
Comment 9 adrienleroy 2008-01-14 20:45:25 UTC
Thanks, I get the ui interface now, i also test with the following useflag : cnd visualweb xml profiler j2ee ide apisupport harness nb
Comment 10 Vlad-Mihai Sima 2008-01-16 09:00:57 UTC
I emerged it from java-experimental succefully with the following USE flags:
 apisupport cnd ide identity harness j2ee java mobility nb profiler ruby soa uml visualweb xml

Are there plans to provide with the ebuild a USE flag for a J2EE server (to be configured automatically) ? (I find it confusing that you have to configure for example tomcat yourself)
Comment 11 pjv 2008-02-04 22:40:36 UTC
Use flags "apisupport harness ide nb profiler uml" by itself fail. "j2ee" is needed additionally to build. But then the first window (license) is gray and empty. I added "visualweb xml" and finally "cnd identity mobility ruby soa". Unfortunately that didn't solve it. I needed to change my user-vm to sun-jdk-1.6 instead of sun-jdk-1.5 to solve it. I wonder if this is because of netbeans or because my jdk is not properly installed. Before all this I also had the emerge bail out on not finding junit-4 because I had a custom junit-4.1 ebuild that installed  /usr/share/junit-1/lib/junit.jar instead of /usr/share/junit-4/lib/junit.jar.
Comment 12 William L. Thomson Jr. (RETIRED) gentoo-dev 2008-02-05 18:57:24 UTC
> Are there plans to provide with the ebuild a USE flag for a J2EE server (to be
> configured automatically) ? (I find it confusing that you have to configure for
> example tomcat yourself)

Not really, they are two separate packages. Seems upstream is or will be doing releases without anything bundled anymore. So you can chose your EE server.

At best we might do a meta package or etc. But really not necessary. Should make a guide or some notes on it. Basically all you have to do is add your users to the tomcat group, and then point Netbeans to CATALINA_HOME and _BASE.


 

(In reply to comment #11)
> Use flags "apisupport harness ide nb profiler uml" by itself fail. "j2ee" is
> needed additionally to build. But then the first window (license) is gray and
> empty. I added "visualweb xml" and finally "cnd identity mobility ruby soa".

That helps, but we really need to track all combos that work and don't. I can follow the above, but many other combo's to test and comment on works or not.

Likely see about making a grid, matrix, or chart to track the various use flags and combinations on our overlays wiki. Will create something as time permits.

 

Comment 13 Miroslav Šulc gentoo-dev 2008-02-06 11:15:13 UTC
Now I, as a netbeans ebuild maintainer, put all of my effort to nb 6.1 ebuild. I'd personally appreciate moving effort/help of interested people to that version too as it is going to be released in March 2008. Till then I'd like to (though not sure it is realistic) finish 6.1 ebuild which should be much better than 6.0 ebuild. But that does not mean it is not possible to emerge nb 6.0, just some use flag combinations work and some other do not. In my case, I emerge nb 6.0 with all but 'doc' and 'debug' use flags without any problems.

I created tracker bug #209117 for netbeans-6.1 where my current effort goes.
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2008-03-29 11:41:36 UTC
Whey netbeans-6.0 isnt on portage? I have install it through the .sh installer provided by Sun and It works like a charm :)
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2008-03-29 13:36:12 UTC
Whey netbeans-6.0 isnt on portage? I have install it through the .sh installer provided by Sun and It works like a charm :)
Comment 16 Gabor Garami 2008-05-31 06:17:56 UTC
I think, if the tests finish, need to add the result as a pre-merge USE flag check, lile PHP.
And, an another good idea show a info message if 'nb' USE flag is not enabled.
Comment 17 salvo 2008-11-15 12:41:19 UTC
Any chance this is going to be add to portage any time soon? Keep up the good work!
Comment 18 Miroslav Šulc gentoo-dev 2008-11-15 13:06:51 UTC
No, this one not, but netbeans 6.5 is going to be released on 20th November 2008 and I have the ebuild ready (except ruby support which probably will not be in our release because of problem with tools.jar that is not solved yet and except some deps that I will probably get rid off if I do not manage to get them into the main tree) so you can expect netbeans 6.5 being in the main tree on 20th November or few days later. You can see bug 237562 for some info about netbeans 6.5.
Comment 19 salvo 2008-11-15 17:04:51 UTC
Ok thanks. Looking forward to that one!
Comment 20 Miroslav Šulc gentoo-dev 2008-11-21 01:39:54 UTC
netbeans 6.5 is in the main tree. Closing this bug as it is now obsoleted by netbeans 6.5 release.