I just tried to compile netbeans-5.5 with the new -r1 ebuild. I had to put two
more packages into /etc/portage/package.keywords.
The netbeans-5.5 ebuild (without -r1) does the job fine here.
Here is, what I got:
compile:
[mkdir] Created dir:
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/javacvs/cvsmodule/build/classes
[javac] Compiling 143 source files to
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/javacvs/cvsmodule/build/classes
[repeat]
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/SSHConnection.java:144:
cannot find symbol
[repeat] symbol : method isConnected()
[repeat] location: class com.jcraft.jsch.ChannelExec
[repeat] return channel != null && channel.isConnected();
[repeat] ^
[repeat] Note: Some input files use or override a deprecated API.
[repeat] Note: Recompile with -Xlint:deprecation for details.
[repeat] 1 error
[nbmerge] Failed to build target: all-javacvs/cvsmodule
BUILD FAILED
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/nbbuild/build.xml:557: The
following error occurred while executing this line:
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/nbbuild/build.xml:552: The
following error occurred while executing this line:
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/nbbuild/build.xml:602: The
following error occurred while executing this line:
/var/tmp/portage/netbeans-5.5-r1/work/netbeans-src/nbbuild/templates/projectized.xml:101:
Compile failed; see the compiler error output for details.
Total time: 2 minutes 22 seconds
!!! ERROR: dev-util/netbeans-5.5-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
netbeans-5.5-r1.ebuild, line 179: Called eant
'-Dbuild.compiler.deprecation=false' '-Dstop.when.broken.modules=true'
'build-nozip'
java-utils-2.eclass, line 1361: Called die
!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! 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.08"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info
# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17.13
i686)
=================================================================
System uname: 2.6.17.13 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 05 Dec 2006 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args
-fomit-frame-pointer -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse
-maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://gentoo.intergenia.de http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en en_US en_GB es"
PKGDIR="/usr/portage/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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac accessibility acl acpi alsa apache2 arts audiofile berkdb
bidi big-tables binfilter bitmap-fonts bzip2 cairo cdda cddb cdparanoia chroot
cjk cli corba cracklib crypt cups curl daap dlloader dri dts dv dvb dvd dvdread
eds elibc_glibc emacs encode enscript exif expat fame flac foomaticdb fortran
gd gdbm gif gimp gmp gnutls gpm gs gstreamer gtk guile guionly hpn iconv idn
ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog
java jbig jpeg junit kde kdeenablefinal kernel_linux lcms ldap leim libg++
linguas_de linguas_en linguas_en_GB linguas_en_US linguas_es live lua lzo mad
mailwrapper matroska mikmod mjpeg mmx mng mod motif mp3 mpeg mysql ncurses
network nls nptl nptlonly nsplugin objc ocaml odbc ogg openal openexr opengl
pam pcre pdf perl php png povray ppds pppd python qt3 qt4 quicktime readline
real reflection rle rtc rtsp sasl scanner sdl session shout slp sndfile speex
spell spl sse ssl stream subversion svg svga tcltk tcpd tetex theora threads
tidy tiff timidity tk truetype truetype-fonts type1-fonts ucs2 udev unicode usb
userland_GNU v4l v4l2 vcd video_cards_fglrx video_cards_vesa vlm vorbis
win32codecs wmf wxwindows xanim xml xorg xosd xscreensaver xv xvid yv12 zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS
I wouldn't say they've broken API, they just added a function and netbeans
expects it. Because it expects jsch-0.1.24.jar, I've changed the jsch dep to
>=dev-java/jsch-0.1.24. Which means you will have to add one more package to
package.keywords :) Reopen if that doesn't fix the problem. Such problems can
happen if you mix arch and ~arch.