emerge jabref-2.5 failed with the following error: >>> Compiling source in /var/tmp/portage/app-text/jabref-2.5/work/jabref-2.5 ... !!! ERROR: Package javassist-2 was not found! * * ERROR: app-text/jabref-2.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4267: Called java-pkg_getjars '--with-dependencies' 'antlr,spin,glazedlists,jgoodies-looks-2.0,jgoodies-forms,microba,jempbox,pdfbox,commons-logging,jpf-1.5,jpfcodegen' * environment, line 3018: Called die * The specific snippet of code: * [[ $? != 0 ]] && die "java-config --classpath=${pkgs} failed"; * The die message: * java-config --classpath=antlr,spin,glazedlists,jgoodies-looks-2.0,jgoodies-forms,microba,jempbox,pdfbox,commons-logging,jpf-1.5,jpfcodegen failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-text:jabref-2.5:20090707-105455.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/jabref-2.5/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.14" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" and of course, the output of emerge --info * Disabling all optional ANT_TASKS Buildfile: build.xml generate: [java] Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/jabref/plugin/util/CodeGenerator [java] Caused by: java.lang.ClassNotFoundException: net.sf.jabref.plugin.util.CodeGenerator [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) [java] Could not find the main class: net.sf.jabref.plugin.util.CodeGenerator. Program will exit. BUILD FAILED /var/tmp/portage/app-text/jabref-2.5/work/jabref-2.5/build.xml:116: Java returned: 1 Reproducible: Always Steps to Reproduce: 1. emerge jabref 2. 3.
$ emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Tue, 07 Jul 2009 03:30:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" MAKEOPTS="-j3 --load-average" PKGDIR="/usr/portage//packages" PORTAGE_CONFIGROOT="/" 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 /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion bcmath berkdb bidi bittorrent blas bluetooth bzip2 cairo calendar canna caps cdaudio cddb cdparanoia cdr cjk clamav cli cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbus dbx dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds encode enscript evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran freetds freewnn ftp fuse gd gdbm ginac git glib glitz glut gnome gnome-keyring gnuplot gnutls gphoto2 gpm gps gs gsl gstreamer gtk gtkhtml gzip hal htmlhandbook httpd iconv icq idn ieee1394 imagemagick imap imlib immqt-bc innodb ipod ipv6 isdnlog jabber java java5 java6 javascript jingle joystick jpeg jpeg2k kde4 kpathsea lame lash latex lcms libcaca libgda libnotify libwww lm_sensors lyx lzo m17n-lib mad matroska midi mime mmx mmxext mng modplug motif mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses neXt netboot nis nls nntp nptl nptlonly nsplugin odbc ofx ogg openal openexr opengl openmp osc oscar pae pam pch pcre pda pdf perl php plasma plotutils png posix postgres ppds pppd python qq qt3support qt4 quicktime readline recode reflection rss ruby samba scanner sdl semantic-desktop session simplexml slang sndfile sockets socks5 speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg sysfs t1lib taglib tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype tta unicode upnp usb v4l v4l2 vcd vhosts videos vim-syntax vorbis wavepack wddx webkit wlm wma wmf wmp wxwindows x264 x86emu xcb xcomposite xforms xft xine xinerama xml xmlrpc xorg xosd xsl xulrunner xv xvid yahoo yaz zip zlib" ALSA_CARDS="emu10k1 emu10k1x" 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 charset_lite 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" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev virtualbox vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for reporting this missing dependency; assigning report to maintainers
(In reply to comment #2) > Thanks for reporting this missing dependency; assigning report to maintainers > As far as I see there's no missing dependency in jabref: betelgeuse@pena /usr/portage/app-text/jabref $ grep javassist * betelgeuse@pena /usr/portage/app-text/jabref $ It doesn't seem to be used. Please run java-check-environment to check the sanity of your java setup.
Okay, this may be related to me using java-overlay. I didn't even realize I was using this until I ran the environment check, and I certainly forgot why I added the overlay long ago. sudo java-check-environment Password: * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many * respects. * Please refer to our upgrade guide for details: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * Checking fastjar... [ ok ] * Checking vm_environment_files... [ ok ] * Checking user_settings... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm... [ ok ] * Checking java_config_1... [ ok ] * Checking global_classpath... [ ok ] * Checking virtual_provides... [ ok ] * Checking overlays_eclasses... * Java eclasses found in the following overlay(s): * /usr/local/portage/layman/java-overlay * This may or not be desired. Make sure you don't use any obsolete overlays. * Especially any overlays (migration etc) from www.gentooexperimental.org/svn/java/ * Overlays (except axxo-overlay and gcj-overlay that are deprecated) * from http://overlays.gentoo.org/proj/java/ should be fine * If you experience any problems, remove it from your PORTDIR_OVERLAY and try again [ ok ] * Checking package_env... !!! ERROR: Package javassist-2 was not found! * Broken dependencies for dev-java/aspectwerkz-2.0 * Please try emerge -uD1 =dev-java/aspectwerkz-2.0 [ !! ] * Some problems were found. Please follow the instructions above, and rerun java-check-environment
(In reply to comment #4) > > * Checking package_env... > !!! ERROR: Package javassist-2 was not found! > * Broken dependencies for dev-java/aspectwerkz-2.0 > * Please try emerge -uD1 =dev-java/aspectwerkz-2.0 > [ !! ] > This is the relevant part. You have a problem with your aspectwerkz installation. Re-emerging should fix it. Marking as invalid as there's nothing wrong with jabref.