When I attempt to emerge jabref, I get the following: -------------------------------------------- compile: [mkdir] Created dir: /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/build/classes [javac] Compiling 419 source files to /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/build/classes [javac] /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/src/java/net/sf/jabref/export/VerifyingWriter.java:3: warning: sun.misc.CharacterEncoder is Sun proprietary API and may be removed in a future release [javac] import sun.misc.CharacterEncoder; [javac] ^ [javac] /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/src/java/net/sf/jabref/EntryEditorTab.java:134: cannot find symbol [javac] symbol : constructor DefaultFormBuilder(javax.swing.JPanel,com.jgoodies.forms.layout.FormLayout) [javac] location: class com.jgoodies.forms.builder.DefaultFormBuilder [javac] DefaultFormBuilder builder = new DefaultFormBuilder [javac] ^ [javac] /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/src/java/net/sf/jabref/external/DroppedFileHandler.java:67: cannot find symbol [javac] symbol : constructor DefaultFormBuilder(javax.swing.JPanel,com.jgoodies.forms.layout.FormLayout) [javac] location: class com.jgoodies.forms.builder.DefaultFormBuilder [javac] DefaultFormBuilder builder = new DefaultFormBuilder(optionsPanel, new FormLayout( [javac] ^ [javac] 2 errors [javac] 1 warning BUILD FAILED /var/tmp/portage/app-text/jabref-2.2/work/jabref-2.2/build.xml:114: Compile failed; see the compiler error output for details. Total time: 12 seconds * * ERROR: app-text/jabref-2.2 failed. * Call stack: * ebuild.sh, line 1648: Called dyn_compile * ebuild.sh, line 988: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * jabref-2.2.ebuild, line 52: Called eant '-Dgentoo.classpath=/usr/share/jgoodies-looks-2.0/lib/looks.jar:/usr/share/microba/lib/microba.jar:/usr/share/antlr/lib/antlr.jar:/usr/share/glazedlists/lib/glazedlists.jar:/usr/share/pdfbox/lib/pdfbox.jar:/usr/share/jgoodies-forms/lib/forms.jar:/usr/share/spin/lib/spin.jar:/usr/share/jempbox/lib/jempbox.jar:libs/antlr3.jar' 'jars' * java-utils-2.eclass, line 1894: Called die * * 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/log/portage/app-text:jabref-2.2:20070728-222753.log'. * !!! 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.02" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info -------------------------------------------------- Here is my emerge --info: Portage 2.1.3_rc9 (default-linux/x86/2006.1/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 i686) ================================================================= System uname: 2.6.22-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 28 Jul 2007 13:30:10 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 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 sys-devel/binutils: 2.16.1-r2, 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -funit-at-a-time" 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/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-mtune=pentium4 -march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -funit-at-a-time -ffriend-injection" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-z,now" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac acl alsa arts atlas avahi bash-completion berkdb bitmap-fonts blas bzip2 cairo cdr cli cracklib crypt ctype cups dbus dri dvd dvdr eds emboss encode esd exscalibar f77 fam fftw firefox foomaticdb fortran gdbm gif gimpprint gpm gstreamer gtk hal iconv imagemagick imap ipod isdnlog java jpeg jpeg2k kde lapack ldap libg++ mad midi mikmod mime mmap mmx mmx2 mozilla mozsvg mp3 mpeg mudflap multislot musicbrainz ncurses nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl pic plotutils png ppds pppd python qt3 qt4 quicktime readline real reflection samba scanner sdl session spell spl sse sse2 ssl svg symlink tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode usb visualization vorbis win32codecs winbind wxwindows x86 xcomposite xinerama xml xorg xv zlib" ALSA_CARDS="intel8x0" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1. 2. 3.
It's caused by jgoodies-forms-1.1.0 update which removed a constructor of DefaultFormBuilder deprecated probably in 1.0.5. The "new" working constructor has just its parameters swapped. I don't know if it's already present in forms-1.0.4 that jabref bundles, as sources seem to be gone and I don't have the time to check it from bytecode. Anyway 1.0.5 is the oldest we've ever had in tree and has the constructor with new order and the old deprecated. So the solution is to revbump jabref with a patch to use the new order, which will work with all forms versions we have. The patch should be sent upstream. They already seem to use forms-1.0.5 in 2.3beta, which means the new constructor is there, so the patch should be no problem for them. As a temporary workaround until somebody has the time to do this, I've updated jabref ebuild to force jgoodies-forms < 1.1.0
I thought I checked all reverse deps when version bumping jgoodies-forms. I guess I was wrong.
Patched thus fixed in 2.3_beta2. Patch submitted upstream - see $URL. They would have to update their bundled jgoodies-forms though since it does not work with their 1.0.4 anymore.