Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110288 - dev-java/systray4j-2.4 fails to compile, gets blank Java CLASSPATH error
Summary: dev-java/systray4j-2.4 fails to compile, gets blank Java CLASSPATH error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-23 22:28 UTC by Ben McIlwain
Modified: 2005-11-19 15:19 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 Ben McIlwain 2005-10-23 22:28:51 UTC
I tried emerging dev-java/systray4j-2.4 and it fails while compiling one of the
Java sources, saying it can't find the class java.lang in the CLASSPATH, which
for it is only '.' (the current directory).  I've verified on my system that the
CLASSPATH is set correctly and when compiling something manually with javac or
jikes it does work and nothing is missing in the classpath.  I certainly have
java.lang in my main CLASSPATH, for instance.

Reproducible: Always
Steps to Reproduce:
Type:
emerge dev-java/systray4j
Actual Results:  
>>> emerge (1 of 6) dev-java/systray4j-2.4 to /
>>> md5 files   ;-) systray4j-2.4.ebuild
>>> md5 files   ;-) files/digest-systray4j-2.4
>>> md5 files   ;-) files/systray4j-2.4-fPIC.patch
>>> md5 src_uri ;-) systray4j-2.4-kde3-src.tar.bz2
>>> Unpacking source...
>>> Unpacking systray4j-2.4-kde3-src.tar.bz2 to /var/tmp/portage/systray4j-2.4/work
 * Applying systray4j-2.4-fPIC.patch ...                                       
                                                                         [ ok
]>>> Source unpacked.
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux systray4j.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux st4jevent.cpp
g++ -Wall -fPIC -c -I/usr/kde/3.4/include -I/usr/qt/3/include
-I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux systraymanager.cpp
/usr/qt/3/bin/moc systraymanager.h -o systraymanager.moc.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux menubase.cpp
/usr/qt/3/bin/moc menubase.h -o menubase.moc.cpp
g++ -Wall -fPIC -c -I/usr/kde/3.4/include -I/usr/qt/3/include
-I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux systraymenu.cppg++ -Wall -fPIC -c
-I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux submenu.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux systraymanager.moc.cpp
g++ -Wall -fPIC -c -I/usr/qt/3/include -I/opt/blackdown-jdk-1.4.2.02/include
-I/opt/blackdown-jdk-1.4.2.02/include/linux menubase.moc.cpp
/usr/qt/3/include/qptrlist.h: In member function `void
   QPtrList<type>::deleteItem(void*) [with type = MenuBase]':
/usr/qt/3/include/qstringlist.h:62:   instantiated from here
/usr/qt/3/include/qptrlist.h:150: warning: possible problem detected in
   invocation of delete operator:
/usr/qt/3/include/qptrlist.h:150: warning: invalid use of undefined type `
   struct MenuBase'
systraymanager.h:29: warning: forward declaration of `struct MenuBase'
/usr/qt/3/include/qptrlist.h:150: note: neither the destructor nor the
   class-specific operator delete will be called, even if they are declared
   when the class is defined.
g++ -Wall -shared -o libsystray4j.so -L/usr/kde/3.4/lib -L/usr/qt/3/lib -lpthread \
        -lqt -lkdecore -lkdeui systray4j.o st4jevent.o systraymanager.o
systraymanager.moc.o menubase.o menubase.moc.o systraymenu.o submenu.o

Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .


Found 1 system error:

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                .
                .

snoozesoft : no such file or directory
added manifest

!!! ERROR: dev-java/systray4j-2.4 failed.
!!! Function src_compile, Line 59, Exitcode 1
!!! failed to build jar
!!! If you need support, post the topmost build error, NOT this status message.




Results of emerge info:

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.cs.lewisu.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd eds
emboss encode esd ethereal fam foomaticdb fortran ftp gd gdbm gif gnome gphoto2
gpm gstreamer gtk gtk2 imagemagick imlib innodb ipv6 java jikes jpeg junit kde
libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis
opengl oss pam pcre pdflib perl png python qt quicktime readline sdl slang spell
ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev vorbis
win32codecs x86 xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Ben McIlwain 2005-10-24 12:59:16 UTC
$ java-config -p
.:/opt/jdk1.5.0_04/jre/lib/rt.jar
Comment 2 Saleem Abdulrasool (RETIRED) gentoo-dev 2005-11-19 15:19:58 UTC
The 1.5 JDK is not yet fully supported.  Please try with a 1.4 JDK and reopen if
the problem exists.