Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netbeans 6.1 r1 compilation error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
TribesTom
n00b
n00b


Joined: 17 Jul 2006
Posts: 13

PostPosted: Tue Oct 14, 2008 9:24 pm    Post subject: Netbeans 6.1 r1 compilation error Reply with quote

I m trying to install netbeans 6.1 r1 from java-overlay.

i have a compilation error :

Code:

model-gen:
      [xjc] /var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/jaxb is not found and thus excluded from the dependency check
      [xjc] Compiling file:/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/websvc.saas.api/src/org/netbeans/modules/websvc/saas/model/SaasServices.xsd
  [nbmerge] Failed to build target: all-websvc.saas.api

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:709: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:704: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:743: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:725: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:704: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/nbbuild/build.xml:754: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.1-r1/work/netbeans-6.1/websvc.saas.api/build.xml:102: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Total time: 6 minutes 50 seconds
 *
 * ERROR: dev-util/netbeans-6.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4195:  Called eant '-Dstop.when.broken.modules=true' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.gsf,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.j2ee,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.soa,nb.cluster.uml,nb.cluster.visualweb,nb.cluster.xml' 'build-nozip'
 * environment, line  933:  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.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/netbeans-6.1-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.16"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info


Here is my emerge --info :

Code:

Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-glibc2.0
Timestamp of tree: Mon, 13 Oct 2008 20:36:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 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:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr"
LC_ALL="fr_BE"
LDFLAGS="-Wl,-O1"
LINGUAS="fr en"
MAKEOPTS="-j1"
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/local/portage/layman/zugaina /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/enlightenment /usr/local/portage/layman/java-overlay /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="RV9 X aac aalib accessibility acl acpi alsa amuled apache apache2 arts asf audiofile avi berkdb bidi bling bluetooth branding bzip2 c++ cairo calendar cdda cddb cdio cdr cgi cli cpu cracklib crypt css ctype cups curl dba dbus devian dfb dga directfb divx divx4linux dri dts dvb dvd dvdr dvdread eds emboss encode esd esound evo evolume fam fbcon ffmpeg firefox flac flame foomaticdb fortran freetds freetype gd gdbm ggi gif gnome gnutls gphoto2 gpl gpm gstreamer gtk gtk2 hal howl hpiod hplip hpssd httpd iconv imlib inet6 ipv4 ipv6 isdnlog java jce joystick jpeg kde kerberos language ldap libcaca libdts libnotify lirc mad matroska mbar mem midi mikmod mmx mmxext moon mouint mozilla mp3 mpeg msn mudflap musicbrainz mysql mysqli ncurses net netbeans network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pcre pdf perl php png portaudio posix postproc postprocess pp ppds pppd python qt qt3 qt3support qt4 quicktime rain rc9 readline real realplayer realvideo reflection remote samba screenshot sdl session simplexml slideshow snmp snow sockets spell spl sse sse2 sse3 ssl ssse3ssl startup-notification stats stream svg svga sysfs tclock tcpd theora threads tiff truetype unicode uptime usb v4l v4l2 vcd vhosts vlm vorbis weather win32codecs winbind wlan wmv9dmo wmvdmo wxwindows x86 xine xml xmlreader xorg xosd xscreensaver xulrunner xv xvid zip 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


And some java infos :

Code:

TribesT tribestom # javac -version
javac 1.6.0_07
TribesT tribestom # java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
TribesT tribestom # java-config -L
The following VMs are available for generation-2:
1)      Sun JDK 1.4.2.18 [sun-jdk-1.4]
2)      Sun JDK 1.5.0.16 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.07 [sun-jdk-1.6]
4)      Sun JRE 1.6.0.07 [sun-jre-bin-1.6]
TribesT tribestom # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.4
  [2]   sun-jdk-1.5
  [3]   sun-jdk-1.6  system-vm
  [4]   sun-jre-bin-1.6


It seems that emerge try compile netbeans with java 1.5 instead of 1.6 used on my computer it s strange

If u have some idea it might help me alot

Thks

Sorry for my bad english i m french
Back to top
View user's profile Send private message
fordfrog
Developer
Developer


Joined: 01 Jan 2007
Posts: 19

PostPosted: Wed Oct 15, 2008 2:34 pm    Post subject: Reply with quote

As I wrote in the related bug, I am not able to reproduce the bug, unfortunatelly. Anyway it's ok netbeans is built using JDK 1.5 as it is the only JDK version upstream oficially supports for building netbeans.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum