Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86065 - emergeing baghira 0.6e fails
Summary: emergeing baghira 0.6e fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 14:43 UTC by François Bissey
Modified: 2005-03-22 02:34 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against baghiraclient.h (baghiraclient.h.diff,929 bytes, patch)
2005-03-21 12:26 UTC, Enrico Horn
Details | Diff
Patch against baghiraclient.h (next try) (baghiraclient.h.diff,420 bytes, patch)
2005-03-21 12:58 UTC, Enrico Horn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François Bissey 2005-03-20 14:43:36 UTC
Emerging the new baghira 0.6e fails during compilation. Here is the relevant 
part:
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco/config'
make[3]: Entering directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
/usr/qt/3/bin/moc ./baghiraclient.h -o baghiraclient.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/kde/3.3/include/kwin  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=7450 -pipe-maltivec -mabi=altivec -mpowerpc-gfxopt -fsigned-char -frename-registers -fweb -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o baghiraclient.lo `test -f 'baghiraclient.cc' || echo './'`baghiraclient.cc
In file included from baghiraclient.cc:36:
../config.h:144:1: warning: "WORDS_BIGENDIAN" redefined
baghiraclient.cc:35:1: warning: this is the location of the previous definition
baghiraclient.cc:56:1: warning: multi-line comment
baghiraclient.cc: In member function `QImage* Baghira::BaghiraFactory::tintGlossy(const QImage&, const QColor&) const':
baghiraclient.cc:652: warning: converting to `int' from `double'
baghiraclient.cc:654: warning: converting to `int' from `double'
In file included from baghiraclient.cc:2357:
baghiraclient.moc: At global scope:
baghiraclient.moc:23: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:27: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:28: error: incomplete type `Baghira::ResizeHandle' used in nested name specifier
baghiraclient.moc:32: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:40: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:51: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `QMetaObject* Baghira::ResizeHandle::staticMetaObject()':
baghiraclient.moc:52: error: `metaObj' undeclared (first use this function)
baghiraclient.moc:52: error: (Each undeclared identifier is reported only once for each function it appears in.)
baghiraclient.moc: At global scope:
baghiraclient.moc:69: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `void* Baghira::ResizeHandle::qt_cast(const char*)':
baghiraclient.moc:72: error: cannot call member function `virtual void* QWidget::qt_cast(const char*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:76: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_invoke(int, QUObject*)':
baghiraclient.moc:77: error: cannot call member function `virtual bool QWidget::qt_invoke(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:81: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_emit(int, QUObject*)':
baghiraclient.moc:82: error: cannot call member function `virtual bool QWidget::qt_emit(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:87: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_property(int, int, QVariant*)':
baghiraclient.moc:88: error: cannot call member function `virtual bool QWidget::qt_property(int, int, QVariant*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:91: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
make[3]: *** [baghiraclient.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e'
make: *** [all] Error 2

===============================

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~ppc" emerge baghira 
2.
3.

Actual Results:  
compilation failed

Expected Results:  
succesfull compilation and merging of the new baghira.

emerge info
Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r4 ppc)
=================================================================
System uname: 2.6.10-gentoo-r4 ppc 7450, altivec supported
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:46:01)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt
-fsigned-char -frename-registers -fweb-fno-strict-aliasing"
CHOST="powerpc-unknown-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/share/config
/usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=7450 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt
-fsigned-char -frename-registers -fweb -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa altivec arts berkdb bitmap-fonts cdf cdparanoia cdr cups curl
dvd dvdr emboss esd f77 fam fbcon flac font-server foomaticdb fortran gdbm gif
gpm graphviz gtk gtk2 imagemagick imlib imlib2 java jbig jpeg jpeg2k kde lcms
libwww live mad mikmod motif mozilla mp3 mpeg ncurses netcdf network nls nptl
oggvorbis opengl oss pam pdflib perl png ppc ppds python qt readline samba sdl
sheep slang ssl szip tcpd tetex theora tiff truetype truetype-fonts type1-fonts
unicode wmf xml xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


more /etc/portage/package.keywords
x11-themes/baghira ~ppc
app-text/ispell ~ppc
media-gfx/opendx ~ppc
sci-libs/cdf ~ppc
sci-libs/gsl ~ppc
media-gfx/inkscape ~ppc
dev-cpp/gtkmm ~ppc
dev-libs/libsigc++ ~ppc
dev-cpp/glibmm ~ppc
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-21 00:25:29 UTC
i've restored 0.6d and removed ppc keyword from 0.6e
unfortunately, i can't reproduce this bug on x86/amd64
Comment 2 François Bissey 2005-03-21 00:42:46 UTC
I got news for you. I reproduced it on x86 system (I got an iMac at work and
a regular PC at home):
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco/config'
make[3]: Entering directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
/usr/qt/3/bin/moc ./baghiraclient.h -o baghiraclient.moc
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/kde/3.3/include/kwin  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o baghiraclient.lo `test -f 'baghiraclient.cc' || echo './'`baghiraclient.cc
baghiraclient.cc:56:1: warning: multi-line comment
baghiraclient.cc: In member function `QImage*
   Baghira::BaghiraFactory::tintGlossy(const QImage&, const QColor&) const':
baghiraclient.cc:652: warning: converting to `int' from `double'
baghiraclient.cc:654: warning: converting to `int' from `double'
In file included from baghiraclient.cc:2357:
baghiraclient.moc: At global scope:
baghiraclient.moc:23: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:27: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:27: error: assignment (not initialization) in declaration
baghiraclient.moc:28: error: incomplete type `Baghira::ResizeHandle' does not
   have member `staticMetaObject'
baghiraclient.moc:32: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:40: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:51: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `QMetaObject*
   Baghira::ResizeHandle::staticMetaObject()':
baghiraclient.moc:52: error: `metaObj' undeclared (first use this function)
baghiraclient.moc:52: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
baghiraclient.moc: At global scope:
baghiraclient.moc:69: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `void*
   Baghira::ResizeHandle::qt_cast(const char*)':
baghiraclient.moc:72: error: cannot call member function `virtual void*
   QWidget::qt_cast(const char*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:76: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool
   Baghira::ResizeHandle::qt_invoke(int, QUObject*)':
baghiraclient.moc:77: error: cannot call member function `virtual bool
   QWidget::qt_invoke(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:81: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_emit(int,
   QUObject*)':
baghiraclient.moc:82: error: cannot call member function `virtual bool
   QWidget::qt_emit(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:87: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool
   Baghira::ResizeHandle::qt_property(int, int, QVariant*)':
baghiraclient.moc:88: error: cannot call member function `virtual bool
   QWidget::qt_property(int, int, QVariant*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:91: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
make[3]: *** [baghiraclient.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e'
make: *** [all] Error 2


The error is not exactly the same. I didn't have the bit about "WORDS_BIGENDIAN"
and a few other bit from the begining but it is the same place. I am still on kde3.3.2 on both computers could that be an influence?
Here is the emerge info of my x86 machine:
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 21:17:04)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing"
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/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac aalib alsa apm arts avi berkdb bidi bitmap-fonts bootsplash cdf cdparanoia cdr crypt cups curl curlwrappers dga divx4linux dvd dvdr dvdread edl emboss emul-linux encode esd exif fam fastcgi fb fbcon fftw flac font-server foomaticdb fortran fpx gdbm ggi gif gimpprint gpm graphviz gtk gtk2 hdf icc imagemagick imlib imlib2 ipv6 jack java jbig joystick jpeg jpeg2k kde lcms ldap libg++ libwww live lzw-tiff mad matroska mikmod mime mmx mmx2 motif mozilla mp3 mpeg mysql ncurses netcdf network nls nptl ogg oggvorbis openal openexr opengl oss pam pdflib perl png portaudio posix python qt quicktime readline real sdl slang spell sse ssl svg svga tcltk tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts unicode usb vidix wmf xanim xine xml xml2 xmms xpm xsl xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-21 01:29:38 UTC
can't reproduce with gcc-3.3.5 and kde-3.4
emerging 3.3.2 now
Comment 4 Luca Barbato gentoo-dev 2005-03-21 03:24:38 UTC
gcc-3.4 issue probably...

In the mean time please remove -fsigned-char from you cflags.
Comment 5 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-21 06:02:28 UTC
still not able to reproduce.
Francois, what's your qt version?
Comment 6 David Menday 2005-03-21 07:35:38 UTC
I also get the 
In file included from baghiraclient.cc:2357:
baghiraclient.moc: At global scope:
baghiraclient.moc:23: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle
I have
root # epm -qG qt
x11-libs/qt-3.3.4-r2
root # epm -qG kdelibs
kde-base/kdelibs-3.3.2-r7
root # epm -qG kdebase
kde-base/kdebase-3.3.2-r1
emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 13:20:34)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo ftp://ftp.uninett.no/pub/linux/Gentoo http://mirror.pudas.net/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts artswrappersuid avi berkdb bitmap-fonts bootspla cryptcups curl divx4linux dvb emacs emboss encode fam flac font-server foomaticdb fortran gdbm gif gmail gphoto2 gpm gtk gtk2 imagemagick imap imlib ipv6 java javascript jpeg junit kde libg++ libwww mad mailwrapper mikmod motif mp3 mpeg mplayerncurses network nls nptl nvidia oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline real rtc samba sdl spell sse ssl svg svga tcpd threads tiff timidity tls truetype truetype-fonts type1-fonts videos xemacs xine xml2 xv xvmc zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 7 Enrico Horn 2005-03-21 10:51:18 UTC
Have the same problem on AMD64. Here is my info:
Last output of emerge:
/bin/sh ../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/kde/3.3/include/kwin  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -msse -msse2 -mmmx -m3dnow -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o baghiraclient.lo `test -f 'baghiraclient.cc' || echo './'`baghiraclient.cc
baghiraclient.cc:56:1: warning: multi-line comment
baghiraclient.cc: In member function `QImage* Baghira::BaghiraFactory::tintGlossy(const QImage&, const QColor&) const':
baghiraclient.cc:652: warning: converting to `int' from `double'
baghiraclient.cc:654: warning: converting to `int' from `double'
In file included from baghiraclient.cc:2357:
baghiraclient.moc: At global scope:
baghiraclient.moc:23: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:27: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:28: error: incomplete type `Baghira::ResizeHandle' used in nested name specifier
baghiraclient.moc:32: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:40: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc:51: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `QMetaObject* Baghira::ResizeHandle::staticMetaObject()':
baghiraclient.moc:52: error: `metaObj' undeclared (first use this function)
baghiraclient.moc:52: error: (Each undeclared identifier is reported only once for each function it appears in.)
baghiraclient.moc: At global scope:
baghiraclient.moc:69: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `void* Baghira::ResizeHandle::qt_cast(const char*)':
baghiraclient.moc:72: error: cannot call member function `virtual void* QWidget::qt_cast(const char*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:76: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_invoke(int, QUObject*)':
baghiraclient.moc:77: error: cannot call member function `virtual bool QWidget::qt_invoke(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:81: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_emit(int,QUObject*)':
baghiraclient.moc:82: error: cannot call member function `virtual bool QWidget::qt_emit(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:87: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_property(int, int, QVariant*)':
baghiraclient.moc:88: error: cannot call member function `virtual bool QWidget::qt_property(int, int, QVariant*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:91: error: invalid use of undefined type `struct Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct Baghira::ResizeHandle'
make[3]: *** [baghiraclient.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e'
make: *** [all] Fehler 2

System info:
bash-2.05b# epm -qG qt
x11-libs/qt-3.3.4-r2
bash-2.05b# qpm -qG kdelibs
bash: qpm: command not found
bash-2.05b# epm -qG kdelibs
kde-base/kdelibs-3.3.2-r7
bash-2.05b# epm -qG kdebase
kde-base/kdebase-3.3.2-r1
bash-2.05b# emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 19:10:10)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -msse-msse2 -mmmx -m3dnow"
CHOST="x86_64-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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers -msse -msse2 -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X X509 acpi acpi4linux alsa apache2 arts avi berkdb bitmap-fonts blender-game bzlib cdparanoia cdr crypt cups curl dga dhcp divx4linux dvd dvdr dvdread esd exif fam flac font-server foomaticdb fortran ftp gd gif gimp gimpprint gpm gtk gtk2 imagemagick imap imlib innodb java jp2 jpeg jpeg2k kde kdeenablefinal kdexdeltas ldap libwww lzw lzw-tiff mad motif mp3 mpeg mppe-mppc multilib mysql ncurses network nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real rtc samba sasl scanner sdl ssl sysvipc tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xscreensaver xv xvid xvmc yv12 zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 8 Lars Weiler (RETIRED) gentoo-dev 2005-03-21 11:16:33 UTC
I installed the e-version on my ppc after I upgraded to kde-3.4.  No problems here.  I'm using gcc-3.4.3.

Reassigning to kde as there are comments that this bug is also on x86 and amd64.
Comment 9 Stefano 2005-03-21 12:02:59 UTC
I am able to reproduce it also on x86 (someone who has the power to change the hw description should change it):

------------------------------

/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I.  -I/usr/kde/3.3/include/kwin  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -funroll-loops -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_PLUGIN -c -o baghiraclient.lo `test -f 'baghiraclient.cc' || echo './'`baghiraclient.cc
baghiraclient.cc:56:1: warning: multi-line comment
baghiraclient.cc: In member function `QImage*
   Baghira::BaghiraFactory::tintGlossy(const QImage&, const QColor&) const':
baghiraclient.cc:652: warning: converting to `int' from `double'
baghiraclient.cc:654: warning: converting to `int' from `double'
In file included from baghiraclient.cc:2357:
baghiraclient.moc: At global scope:
baghiraclient.moc:23: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:27: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:27: error: assignment (not initialization) in declaration
baghiraclient.moc:28: error: incomplete type `Baghira::ResizeHandle' does not
   have member `staticMetaObject'
baghiraclient.moc:32: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:40: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc:51: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `QMetaObject*
   Baghira::ResizeHandle::staticMetaObject()':
baghiraclient.moc:52: error: `metaObj' undeclared (first use this function)
baghiraclient.moc:52: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
baghiraclient.moc: At global scope:
baghiraclient.moc:69: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `void*
   Baghira::ResizeHandle::qt_cast(const char*)':
baghiraclient.moc:72: error: cannot call member function `virtual void*
   QWidget::qt_cast(const char*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:76: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool
   Baghira::ResizeHandle::qt_invoke(int, QUObject*)':
baghiraclient.moc:77: error: cannot call member function `virtual bool
   QWidget::qt_invoke(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:81: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool Baghira::ResizeHandle::qt_emit(int,
   QUObject*)':
baghiraclient.moc:82: error: cannot call member function `virtual bool
   QWidget::qt_emit(int, QUObject*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:87: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
baghiraclient.moc: In member function `bool
   Baghira::ResizeHandle::qt_property(int, int, QVariant*)':
baghiraclient.moc:88: error: cannot call member function `virtual bool
   QWidget::qt_property(int, int, QVariant*)' without object
baghiraclient.moc: At global scope:
baghiraclient.moc:91: error: invalid use of undefined type `struct
   Baghira::ResizeHandle'
baghiraclient.h:387: error: forward declaration of `struct
   Baghira::ResizeHandle'
make[3]: *** [baghiraclient.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e/deco'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/baghira-0.6e/work/baghira-0.6e'
make: *** [all] Error 2

!!! ERROR: x11-themes/baghira-0.6e failed.             

------------------------------------------

# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 11:55:11)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
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/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dga directfb dvd emboss encode esd ethereal fam flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 imagemagick imap imlib ipv6 java jikes jpeg junit kde kerberos krb4 ldap lesstif libg++ libwww mad mbox mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls nocd odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres python qt quicktime readline samba sasl sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb wmf x86 xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 10 Enrico Horn 2005-03-21 12:26:19 UTC
Created attachment 54087 [details, diff]
Patch against baghiraclient.h

This seems to work for me. (KDE 3.3.2)	Dont know if it works with kde 3.4
Comment 11 Enrico Horn 2005-03-21 12:41:33 UTC
Here are a few comments to my patch.
There were 2 errors in the header file (line numbers from the original file):

1. Declaration of class ResizeHandle is dependent on KDE version (line 108), but definition of friend class ResizeHandle (line 386) and ResizeHandle *grip (line 460) were not

2. Although the declaration of ResizeHandle is KDE version dependent (KDE versions >= 3.3.91) the class appeared in the moc file when compiling against version 3.3.2. so I did that #define myObject Q_OBJECT thing. Is this a bug im moc??
Comment 12 Enrico Horn 2005-03-21 12:58:00 UTC
Created attachment 54092 [details, diff]
Patch against baghiraclient.h (next try)

This seems to be a working solution with minimal code.
So point #1 of my previous post is obsolete.
Comment 13 François Bissey 2005-03-21 15:49:26 UTC
Sorry for the delay. I was having a good night sleep when
you asked for my version of qt and I have been quite busy all
morning.

x11-libs/qt-3.3.4-r2
kde-base/kdebase-3.3.2-r1
kde-base/kdelibs-3.3.2-r7

It guess it may be a bit useless by now.
Comment 14 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-03-22 02:34:45 UTC
fixed in 0.6e-r1. tested with kde 3.4.0 and 3.3.2
thanks everyone. :-)