Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65536 - systray4j-2.4-kde3 does not compile
Summary: systray4j-2.4-kde3 does not compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 07:23 UTC by Gualter Barbas Baptista
Modified: 2004-12-18 13:08 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 Gualter Barbas Baptista 2004-09-27 07:23:01 UTC
When I try to emerge systray4j, it fails with the error:
/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: invalid use of undefined type `struct
   MenuBase'
systraymanager.h:29: forward declaration of `struct MenuBase'
make: *** [systraymanager.moc.o] Error 1
make: *** Waiting for unfinished jobs....


Reproducible: Always
Steps to Reproduce:
1. emerge systray4j
2.
3.

Actual Results:  
>>> emerge (1 of 1) dev-java/systray4j-2.4 to /
>>> 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`java-config --jdk-home`/include
-I`java-config --jdk-home`/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: invalid use of undefined type `struct
   MenuBase'
systraymanager.h:29: forward declaration of `struct MenuBase'
make: *** [systraymanager.moc.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-java/systray4j-2.4 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! Failure compiling KDE daemon.

Expected Results:  
Emerged :)

KDE 3.3

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium3 -pipe "
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium3 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb bitmap-fonts bonobo crypt cups dvd encode
esd fbcon foomaticdb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java
jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba
scanner sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xinerama xml2
xmms xprint xv zlib"
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-09-27 14:02:43 UTC
what qt version?
Comment 2 Gualter Barbas Baptista 2004-09-28 06:42:57 UTC
QT version 3.3.3
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 13:08:34 UTC
Is this still a problem? I cannot reproduce it against qt-3.3.3, but I'm trying with gcc 3.3.4.

If possible, please upgrade gcc and retry. If the problem persists, please reopen the bug.