Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195358 - emerge app-text/jabref-2.3_beta2 fails: symbol GLOBAL_LOGGER_NAME cannot be found
Summary: emerge app-text/jabref-2.3_beta2 fails: symbol GLOBAL_LOGGER_NAME cannot be f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-10 11:45 UTC by Thomas Heinz
Modified: 2007-10-10 20:37 UTC (History)
0 users

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 Thomas Heinz 2007-10-10 11:45:44 UTC
emerge =app-text/jabref-2.3_beta2  yields

>>> Emerging app-text/jabref-2.3_beta2 to /
 * JabRef-2.3b2-src.tar.bz2 RMD160 ;-) ...                                                                                                                              [ ok ]
 * JabRef-2.3b2-src.tar.bz2 SHA1 ;-) ...                                                                                                                                [ ok ]
 * JabRef-2.3b2-src.tar.bz2 SHA256 ;-) ...                                                                                                                              [ ok ]
 * JabRef-2.3b2-src.tar.bz2 size ;-) ...                                                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                  [ ok ]
 * checking JabRef-2.3b2-src.tar.bz2 ;-) ...                                                                                                                            [ ok ]
 * Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking JabRef-2.3b2-src.tar.bz2 to /var/tmp/portage/app-text/jabref-2.3_beta2/work
 * Applying jabref-2.2-build.xml.patch ...                                                                                                                              [ ok ]
 * Applying jabref-2.3_beta2-jgoodies-forms.patch ...                                                                                                                   [ ok ]
removed `lib/EndNote.zip'
removed `lib/JavaApplicationStub'
removed `lib/JempBox-0.1.0-dev.jar'
removed `lib/OSXAdapter.class'
removed `lib/PDFBox-0.7.3-dev-reduced.jar'
removed `lib/antlr.jar'
removed `lib/forms-1.0.4.jar'
removed `lib/glazedlists-1.7.0_java15.jar'
removed `lib/jarbundler-1.4.jar'
removed `lib/looks-2.0.4.jar'
removed `lib/microba.jar'
removed `lib/spin.jar'
Adding gentoo.classpath to build.xml
Using Sax to rewrite the build.xml files
Rewriting build.xml
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2 ...
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting target attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting nowarn attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
 * Using all available ANT_TASKS
Buildfile: build.xml

compile:
    [mkdir] Created dir: /var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2/build/classes
    [javac] Compiling 453 source files to /var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2/build/classes
    [javac] /var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2/src/java/net/sf/jabref/Globals.java:156: cannot find symbol
    [javac] symbol  : variable GLOBAL_LOGGER_NAME
    [javac] location: class java.util.logging.Logger
    [javac]     private static Logger logger = Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);
    [javac]                                                           ^
    [javac] /var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2/src/java/net/sf/jabref/JabRef.java:138: warning: [deprecation] runFinalizersOnExit(boolean) in java.lang.System has been deprecated
    [javac]         System.runFinalizersOnExit(true);
    [javac]               ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning

BUILD FAILED
/var/tmp/portage/app-text/jabref-2.3_beta2/work/jabref-2.3b2/build.xml:113: Compile failed; see the compiler error output for details.

Total time: 18 seconds
 *
 * ERROR: app-text/jabref-2.3_beta2 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   jabref-2.3_beta2.ebuild, line 58:   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' '-Dbuild.javadocs=build/docs/api' 'javadocs'
 *   java-utils-2.eclass, line 1951:   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/tmp/portage/app-text/jabref-2.3_beta2/temp/build.log'.
 *
!!! 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.13"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info


Reproducible: Always

Steps to Reproduce:




Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r4, 2.6.22-gentoo-r6 i686)
=================================================================
System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.10GHz
Timestamp of tree: Wed, 10 Oct 2007 10:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
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.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
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/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi aim alsa apache2 arts audiofile bash-completion bcmath berkdb bitmap-fonts blas bluetooth bzip2 cairo calendar caps cdr cli cracklib crypt cscope ctype cups curl curlwrappers dbus doc dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo examples exif expat fam fastcgi fdftk ffmpeg fftw firefox flac foomaticdb fortran ftp gd gdbm geoip gif ginac glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal hardened iconv icq idn ieee1394 imagemagick imap imlib ipv6 isdnlog jabber jack java javascript jpeg jpeg2k kde kdeenablefinal kerberos lapack lcms ldap leim lesstif libcaca libedit libwww lirc mad maildir memlimit mhash midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi msn mudflap ncurses nls nptl nptlonly nsplugin ocaml offensive ogg openal opengl openmp oscar oss pam pcmcia pcre pdf perl plotutils png posix pppd python qt qt3 qt3support qt4 quicktime readline recode reflection ruby samba sasl sdl session sharedmem skey slang smartcard sndfile snmp sockets socks5 speex spell spl sse sse2 ssl svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wifi win32codecs wmf wxwindows x86 xface xine xinerama xml xml2 xorg xpm xv xvid yahoo 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-10-10 20:37:24 UTC
It's because GLOBAL_LOGGER_NAME is only in jdk 1.6+ and the dep is only 1.5+ and in my testing 1.6 got used. Anyway upstream officially supports 1.5+ and they fixed this in 2.3_beta3 which I just added to tree. This time tested with 1.5 :)
Thanks for the report.