Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249085 - dev-util/netbeans-6.5 compilation failed without java module
Summary: dev-util/netbeans-6.5 compilation failed without java module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
: 266904 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-27 14:56 UTC by Pavel Bazika
Modified: 2009-05-03 11:07 UTC (History)
3 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 Pavel Bazika 2008-11-27 14:56:50 UTC
Compilation of netbeans fail if selected NETBEANS_MODULES don't depend on java. The error is always the same:


javadoc-stage-check:
[checklinks] Scanning for broken links in /var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/build/javadoc/org-openide-awt ... (external URLs will be skipped)
[checklinks] /var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/build/javadoc/org-openide-awt/checklinks-errors-org-openide-awt.xml: 0 failures out of 1 tests

javadoc:
      [zip] Building zip: /var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/build/javadoc/org-openide-awt.zip

netbeans-javadoc:
 [for-each] Process 'lexer' location with 'netbeans-javadoc' target ...

init-tasks:

default.init:
[propertyfile] Updating property file: /var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/netbeans/moduleCluster.properties

common-init:

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

basic-init:

-release.dir:

projectized-common.-release.files:

-release.files:

files-init:

jdk-5-check:

build-init:

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/build.xml:298: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/templates/projectized.xml:87: No such classpath entry: /var/tmp/portage/dev-util/netbeans-6.5-r1/work/nbbuild/netbeans/ide10/modules/org-netbeans-modules-editor-util.jar

 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4229:  Called eant '-Dstop.when.broken.modules=true' '-Dpermit.jdk6.builds=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.harness' '-f' 'nbbuild/build.xml' 'build-javadoc'
 *             environment, line  935:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"


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

My emerge --info:
Portage 2.1.6_rc2 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.0
Timestamp of tree: Thu, 27 Nov 2008 07:15:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -fomit-frame-pointer -march=prescott -pipe"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -fomit-frame-pointer -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz http://gentoo.supp.name rsync://ftp.fi.muni.cz/pub/linux/gentoo"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit X a52 aac acl acpi alsa amarok amazon aotuv apache2 audacious automount bash-completion berkdb bidi binary-drivers bindist bittorrent branding bzip2 cdaudio cdda cdinstall cdparanoia cdr cdrom chm cjk cli color-console colordiff cpudetection cracklib crypt cscope css cups cupsddk cvs cvsgraph dbus dga directfb disk-partition divx djvu dnotify doc dri dv dvd dvdr emoticon enca encode eolconv epson exif fastbuild fat fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fontforge fortran ftp fuse gd gdbm geoip gif gimp git gkrellm glibc-omitfp gmedia gpg gpm grub gs gutenprint hal hou hpn htmlhandbook ia32 icon icons iconv icq icu id3 id3tag ide ieee1394 imagemagick imlib inotify ipv6 isdnlog jack java javascript jikes jpeg jpeg2k kde kdrive kino kmid lame langpacks levels libnotify linuxthreads-tls lirc lircsettings live livebuffer lm_sensors matroska matrox mdnsresponder-compat memlimit midi mime mixer mjpeg mmx mmxext mng mouse mozdevelop mozdom mozilla moznoirc mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multislot musepack music musicbrainz mysql ncurses nemesi net network nls nocd nowin nowlistening nptl nptlonly nsplugin ntfs nuv office ogg opengl openmp openssh pam pascal pcre pdf perl php plasma pmount pmu png pop posix ppds pppd print privacy ps pulseaudio python qt3 qt3support qt4 quicktime radio rar raw rdesktop readline realmedia reflection reiserfs replaygain replytolist roe rss rtc rtf sametime scanner scenarios sdl sdl-image sdlaudio semantic-desktop sensord session skins sms sou sound sounds spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 stroke subtitles subversion suid svg svg-experimental svgz sysfs syslog systray sysvipc taglib tagwriting tcpd teletext texteffect textures tga theora threads threadsafe tiff timidity transcode trayicon truetype tse3 tta twolame ui unicode urlpicpreview usb userlocales v4l v4l2 vdr vhosts video videos vidix vim-with-x visualization vnc volctrl vorbis vorbis-psy wav wavpack win32codecs wma wmf wmp x264 x86 xatrix xcomposite xext xine xinerama xml xmp xorg xpm xrandr xv xvid xvmc zip zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" LIRC_DEVICES="devinput" NETBEANS_MODULES="harness" USERLAND="GNU" VIDEO_CARDS="i810 fbdev v4l nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(There was the same problem also with portage 2.2)


Reproducible: Always

Steps to Reproduce:
1. Insert NETBEANS_MODULES="harness" in /etc/make.conf
2. Run emerge =netbeans-6.5-r1
3. The error will pop up after some time (it's 31 seconds here)



Expected Results:  
Software should sucesfully compile
Comment 1 Miroslav Šulc gentoo-dev 2008-11-28 14:37:04 UTC
The 'doc' USE flag is used only to generate javadoc for the netbeans modules, it has nothing to do with the help in netbeans, it is (probably) useful just for those that develop on top of netbeans.

I will try to solve how to build the 'build-javadoc' target without errors or I will drop the 'doc' USE flag. It has very little benefit for netbeans users imo, but I would like to keep it if I would be able to make it compile without problems.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-22 22:57:25 UTC
*** Bug 266904 has been marked as a duplicate of this bug. ***
Comment 3 Miroslav Šulc gentoo-dev 2009-05-03 02:11:22 UTC
fixed in netbeans 6.7 beta. now when enabling 'doc' USE flag, all netbeans modules are required to build netbeans.