Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31338 - knoda doesn't compile
Summary: knoda doesn't compile
Status: RESOLVED DUPLICATE of bug 30701
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-17 01:03 UTC by Kirill Vasiliev
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
Trace of compiling knoda (knoda_bug,6.02 KB, text/plain)
2003-10-17 01:07 UTC, Kirill Vasiliev
Details
Knoda 0.6.1 error trace (trace,19.32 KB, application/octet-stream)
2003-10-21 16:39 UTC, Kirill Vasiliev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Vasiliev 2003-10-17 01:03:20 UTC
knoda doesn't compile with following error: ISO C++ does not support `long 
long'. This is from -pedantic compiler option and LONG_LONG defines in 
/usr/include/python2.2/longobject.h (lines 48-51)


Reproducible: Always
Steps to Reproduce:
1.Just compile knoda
2.
3.

Actual Results:  
!!! ERROR: dev-db/knoda-0.6.1_alpha3 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make

Expected Results:  
>>> dev-db/knoda-0.6.1_alpha3 merged.

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7
           
)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -fforce-addr -funroll-loops -frerun-cse-after-loop -
           
frerun-loop-opt -falign-functions=4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
           
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
           
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://linux4u.jinr.ru/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpe
           
g ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtk
           
html gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile ruby mys
           
ql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome
            
gtk qt kde motif opengl mozilla cdr scanner apache2 dvd gtk2 imap mule sasl"
Comment 1 Kirill Vasiliev 2003-10-17 01:07:24 UTC
Created attachment 19346 [details]
Trace of compiling knoda
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-10-20 07:39:19 UTC
I just put 0.6.1 final in portage - does that work any better?
Comment 3 Kirill Vasiliev 2003-10-21 16:36:34 UTC
Nope, it doesn't compile. The reasons looks like the same... I've added attachment
with it's trace.
Comment 4 Kirill Vasiliev 2003-10-21 16:39:50 UTC
Created attachment 19608 [details]
Knoda 0.6.1 error trace
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2003-11-01 07:13:22 UTC
Just compiled hk_classes and knoda. knoda throws some warnings, but compiles
fine for me.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1,
2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer
-fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer
-fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache fixpackages keeptemp keepwork userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch
http://www.ibiblio.org/pub/Linux/distributions/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 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib directfb alsa
gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java
ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis
gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow acl acpi acpi4linux
artswrappersuid auctex clisp cmucl cscope curl dga dnd doc dvd dvdr emacs
faad fbcon firebird gcl gd glut hbci imagemagick imap innodb jack jack-tmpfs
javascript jikes junit ladcca lcms lirc ltsp maildir mbox md5sum mng moznocompose
moznoirc moznomail mozsvg mozxmlterm oav openal php plotutils pnp ppds samba
sasl skey slp sse tiff transcode usb vim-with-x wmf X509 xml xvid zeo -gnome
-quicktime -guile -esd"
Comment 6 Kirill Vasiliev 2003-11-02 02:04:00 UTC
Not for me. Maybe it is GCC-3.3? I'll try to emerge last gcc-3.2 and build
knoda again.
Comment 7 James Harlow (RETIRED) gentoo-dev 2003-11-04 22:33:10 UTC
I've updated the version in CVS, could you test if it compiles please?
Comment 8 Kirill Vasiliev 2003-11-05 01:39:51 UTC
It works. Thanks.
Comment 9 James Harlow (RETIRED) gentoo-dev 2003-11-05 09:30:55 UTC
Great.  :-)
Comment 10 Kirill Vasiliev 2003-12-17 15:34:51 UTC
Same thing with 0.6.2a :-(
Comment 11 Kirill Vasiliev 2004-01-02 05:22:01 UTC
Same thing with 0.6.3_alpha1. It seems you forget to include these lines from 0.6.1 ebuild:

src_unpack() {
        kde_src_unpack
        cd ${S}
        sed "s:-pedantic::" < acinclude.m4 > acinclude.m4.new
        sed "s:-Wall::" < acinclude.m4.new > acinclude.m4
        rm acinclude.m4.new
        autoconf
}

These removes -pedantic and -Wall compiler flags, which breaks compilation with gcc-3.3. With these lines included 0.6.3 alpha compiles well. May be they should be for gcc-3.3 only?
Comment 12 Joerg Schaible 2004-01-24 08:40:59 UTC
after emerging new Python 2.3 anything dependent on Python is emerged again, inclusive knoda (0.6.2a) and it fails now to build. I am not sure wether this is becasue of new Python 2.3 or of a meanwhile newer gcc/glibc 3.2.3. Looking into the log I cannot detect really an error, but a lot of warnings. Maybe the compiler stopped, because fo too many warnings?

============ snip =================
[snip]
Making all in python
make[2]: Entering directory `/volatile/portage/knoda-0.6.2a/work/knoda-0.6.2a/python'
rm -f *.rpo
rm -rf .libs _libs
rm -f *.lo
/bin/rm -f -R ./build
python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.3
copying hk_kdeclasses.py -> build/lib.linux-i686-2.3
running build_ext
building '_hk_kdeclasses' extension
creating build/temp.linux-i686-2.3
gcc -fno-strict-aliasing -DNDEBUG -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays -falign-functions=32 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=0 -I../hk_kdeclasses -I/usr/include/hk_classes -I/usr/qt/3/include -I/usr/include/python2.3 -c hk_kdeclasses_wrap.cxx -o build/temp.linux-i686-2.3/hk_kdeclasses_wrap.o
In file included from /usr/include/python2.3/Python.h:8,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined
hk_kdeclasses_wrap.cxx:1:1: warning: this is the location of the previous definition
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:683,
                 from /usr/include/python2.3/Python.h:28,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar()' throws different
   exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:394: than previous
   declaration `int getchar() throw ()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:403: than previous
   declaration `int getc_unlocked(FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked()' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:404: than previous
   declaration `int getchar_unlocked() throw ()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:419: than previous
   declaration `int putchar(int) throw ()'
/usr/include/bits/stdio.h: In function `int fputc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:76: declaration of `int fputc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:428: than previous
   declaration `int fputc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putc_unlocked(int, FILE*)':
/usr/include/bits/stdio.h:86: declaration of `int putc_unlocked(int, FILE*)'
   throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:433: than previous
   declaration `int putc_unlocked(int, FILE*) throw ()'
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)':
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int)' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:434: than previous
   declaration `int putchar_unlocked(int) throw ()'
/usr/include/bits/stdio.h: In function `__ssize_t getline(char**, size_t*,
   FILE*)':
/usr/include/bits/stdio.h:103: declaration of `__ssize_t getline(char**,
   size_t*, FILE*)' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:480: than previous
   declaration `__ssize_t getline(char**, size_t*, FILE*) throw ()'
In file included from /usr/include/python2.3/Python.h:75,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/intobject.h: At global scope:
/usr/include/python2.3/intobject.h:41: warning: ISO C++ does not support `long
   long'
In file included from /usr/include/python2.3/Python.h:77,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/longobject.h:37: warning: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:38: warning: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:39: warning: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:40: warning: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:41: warning: ISO C++ does not support `long
   long'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_hash'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_call'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_str'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_getattro'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_setattro'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_as_buffer'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_flags'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_doc'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_traverse'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_clear'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_richcompare'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_weaklistoffset'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_iter'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_iternext'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_methods'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_members'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_getset'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_base'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_dict'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_descr_get'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_descr_set'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_dictoffset'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_init'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_alloc'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_new'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_free'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_is_gc'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_bases'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_mro'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_cache'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_subclasses'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_weaklist'
hk_kdeclasses_wrap.cxx:357: warning: missing initializer for member `
   _typeobject::tp_del'
In file included from ../hk_kdeclasses/hk_kdemessages.h:15,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/include/hk_classes/hk_definitions.h:92: warning: ISO C++ does not support
   `long long'
In file included from /usr/qt/3/include/qobjectdefs.h:42,
                 from /usr/qt/3/include/qwindowdefs.h:43,
                 from /usr/qt/3/include/qwidget.h:42,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qglobal.h:696: warning: ISO C++ does not support `long long'
/usr/qt/3/include/qglobal.h:697: warning: ISO C++ does not support `long long'
In file included from /usr/qt/3/include/qcstring.h:43,
                 from /usr/qt/3/include/qstring.h:42,
                 from /usr/qt/3/include/qwindowdefs.h:44,
                 from /usr/qt/3/include/qwidget.h:42,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qmemarray.h: In constructor
   `QMemArray<type>::QMemArray(int)':
/usr/qt/3/include/qmemarray.h:59: warning: declaration of `size' shadows a
   member of `this'
/usr/qt/3/include/qmemarray.h: In member function `bool
   QMemArray<type>::resize(unsigned int)':
/usr/qt/3/include/qmemarray.h:70: warning: declaration of `size' shadows a
   member of `this'
/usr/qt/3/include/qmemarray.h: In member function `bool
   QMemArray<type>::resize(unsigned int, QGArray::Optimization)':
/usr/qt/3/include/qmemarray.h:71: warning: declaration of `size' shadows a
   member of `this'
/usr/qt/3/include/qmemarray.h: In member function `bool
   QMemArray<type>::fill(const type&, int)':
/usr/qt/3/include/qmemarray.h:74: warning: declaration of `size' shadows a
   member of `this'
In file included from /usr/qt/3/include/qwindowdefs.h:44,
                 from /usr/qt/3/include/qwidget.h:42,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qstring.h: In member function `void QChar::setCell(unsigned
   char)':
/usr/qt/3/include/qstring.h:215: warning: declaration of `cell' shadows a
   member of `this'
/usr/qt/3/include/qstring.h: In member function `void QChar::setRow(unsigned
   char)':
/usr/qt/3/include/qstring.h:216: warning: declaration of `row' shadows a member
   of `this'
In file included from /usr/qt/3/include/qsize.h:42,
                 from /usr/qt/3/include/qrect.h:42,
                 from /usr/qt/3/include/qregion.h:43,
                 from /usr/qt/3/include/qevent.h:43,
                 from /usr/qt/3/include/qobject.h:45,
                 from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qpoint.h: In member function `void QPoint::setX(int)':
/usr/qt/3/include/qpoint.h:124: warning: declaration of `x' shadows a member of
   `this'
/usr/qt/3/include/qpoint.h: In member function `void QPoint::setY(int)':
/usr/qt/3/include/qpoint.h:127: warning: declaration of `y' shadows a member of
   `this'
In file included from /usr/qt/3/include/qregion.h:43,
                 from /usr/qt/3/include/qevent.h:43,
                 from /usr/qt/3/include/qobject.h:45,
                 from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qrect.h: In constructor `QRect::QRect(int, int, int, int)':
/usr/qt/3/include/qrect.h:168: warning: declaration of `height' shadows a
   member of `this'
/usr/qt/3/include/qrect.h:168: warning: declaration of `width' shadows a member
   of `this'
/usr/qt/3/include/qrect.h:168: warning: declaration of `top' shadows a member
   of `this'
/usr/qt/3/include/qrect.h:168: warning: declaration of `left' shadows a member
   of `this'
/usr/qt/3/include/qrect.h: In member function `void QRect::setX(int)':
/usr/qt/3/include/qrect.h:227: warning: declaration of `x' shadows a member of
   `this'
/usr/qt/3/include/qrect.h: In member function `void QRect::setY(int)':
/usr/qt/3/include/qrect.h:230: warning: declaration of `y' shadows a member of
   `this'
/usr/qt/3/include/qrect.h: In member function `bool QRect::contains(int, int,
   bool) const':
/usr/qt/3/include/qrect.h:257: warning: declaration of `y' shadows a member of
   `this'
/usr/qt/3/include/qrect.h:257: warning: declaration of `x' shadows a member of
   `this'
/usr/qt/3/include/qrect.h: In member function `bool QRect::contains(int, int)
   const':
/usr/qt/3/include/qrect.h:267: warning: declaration of `y' shadows a member of
   `this'
/usr/qt/3/include/qrect.h:267: warning: declaration of `x' shadows a member of
   `this'
In file included from /usr/qt/3/include/qmap.h:46,
                 from /usr/qt/3/include/qmime.h:43,
                 from /usr/qt/3/include/qevent.h:45,
                 from /usr/qt/3/include/qobject.h:45,
                 from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qvaluelist.h: In member function `QValueListIterator<T>
   QValueList<T>::erase(QValueListIterator<T>, QValueListIterator<T>)':
/usr/qt/3/include/qvaluelist.h:595: warning: declaration of `last' shadows a
   member of `this'
/usr/qt/3/include/qvaluelist.h:595: warning: declaration of `first' shadows a
   member of `this'
In file included from /usr/qt/3/include/qobject.h:45,
                 from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qevent.h: In constructor `QEvent::QEvent(QEvent::Type)':
/usr/qt/3/include/qevent.h:136: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QTimerEvent::QTimerEvent(int)':
/usr/qt/3/include/qevent.h:158: warning: declaration of `timerId' shadows a
   member of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QMouseEvent::QMouseEvent(QEvent::Type, const QPoint&, const QPoint&, int,
   int)':
/usr/qt/3/include/qevent.h:172: warning: declaration of `state' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:172: warning: declaration of `button' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:172: warning: declaration of `globalPos' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:172: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:172: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QWheelEvent::QWheelEvent(const
   QPoint&, const QPoint&, int, int, Qt::Orientation)':
/usr/qt/3/include/qevent.h:201: warning: declaration of `state' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:201: warning: declaration of `delta' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:201: warning: declaration of `globalPos' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:201: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QTabletEvent::QTabletEvent(const
   QPoint&, const QPoint&, int, int, int, int, const QPair<int, int>&)':
/usr/qt/3/include/qevent.h:233: warning: declaration of `yTilt' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:233: warning: declaration of `xTilt' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:233: warning: declaration of `pressure' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:233: warning: declaration of `device' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:233: warning: declaration of `globalPos' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:233: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QKeyEvent::QKeyEvent(QEvent::Type,
   int, int, int, const QString&, bool, short unsigned int)':
/usr/qt/3/include/qevent.h:269: warning: declaration of `count' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:269: warning: declaration of `text' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:269: warning: declaration of `state' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:269: warning: declaration of `ascii' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:269: warning: declaration of `key' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:269: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QFocusEvent::QFocusEvent(QEvent::Type)':
/usr/qt/3/include/qevent.h:301: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QPaintEvent::QPaintEvent(const
   QRegion&, bool)':
/usr/qt/3/include/qevent.h:321: warning: declaration of `erased' shadows a
   member of `this'
/usr/qt/3/include/qevent.h: In constructor `QPaintEvent::QPaintEvent(const
   QRect&, bool)':
/usr/qt/3/include/qevent.h:326: warning: declaration of `erased' shadows a
   member of `this'
/usr/qt/3/include/qevent.h: In constructor `QMoveEvent::QMoveEvent(const
   QPoint&, const QPoint&)':
/usr/qt/3/include/qevent.h:346: warning: declaration of `oldPos' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:346: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QResizeEvent::QResizeEvent(const
   QSize&, const QSize&)':
/usr/qt/3/include/qevent.h:360: warning: declaration of `oldSize' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:360: warning: declaration of `size' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const
   QPoint&, const QPoint&, int)':
/usr/qt/3/include/qevent.h:403: warning: declaration of `state' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:403: warning: declaration of `globalPos' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:403: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:403: warning: declaration of `reason' shadows a
   member of `this'
/usr/qt/3/include/qevent.h: In constructor `QIMEvent::QIMEvent(QEvent::Type,
   const QString&, int)':
/usr/qt/3/include/qevent.h:438: warning: declaration of `text' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:438: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QIMComposeEvent::QIMComposeEvent(QEvent::Type, const QString&, int, int)':
/usr/qt/3/include/qevent.h:457: warning: declaration of `text' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:457: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor `QDropEvent::QDropEvent(const
   QPoint&, QEvent::Type)':
/usr/qt/3/include/qevent.h:483: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QDragMoveEvent::QDragMoveEvent(const QPoint&, QEvent::Type)':
/usr/qt/3/include/qevent.h:522: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QDragEnterEvent::QDragEnterEvent(const QPoint&)':
/usr/qt/3/include/qevent.h:538: warning: declaration of `pos' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QChildEvent::QChildEvent(QEvent::Type, QObject*)':
/usr/qt/3/include/qevent.h:568: warning: declaration of `child' shadows a
   member of `this'
/usr/qt/3/include/qevent.h:568: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In constructor
   `QCustomEvent::QCustomEvent(QEvent::Type, void*)':
/usr/qt/3/include/qevent.h:582: warning: declaration of `data' shadows a member
   of `this'
/usr/qt/3/include/qevent.h:582: warning: declaration of `type' shadows a member
   of `this'
/usr/qt/3/include/qevent.h: In member function `void
   QCustomEvent::setData(void*)':
/usr/qt/3/include/qevent.h:584: warning: declaration of `data' shadows a member
   of `this'
In file included from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qobject.h: In member function `bool QObject::connect(const
   QObject*, const char*, const char*) const':
/usr/qt/3/include/qobject.h:227: warning: declaration of `sender' shadows a
   member of `this'
In file included from /usr/qt/3/include/qdialog.h:42,
                 from ../hk_kdeclasses/hk_kdemessages.h:17,
                 from hk_kdeclasses_wrap.cxx:660:
/usr/qt/3/include/qwidget.h: In member function `void
   QWidget::recreate(QWidget*, unsigned int, const QPoint&, bool)':
/usr/qt/3/include/qwidget.h:407: warning: declaration of `parent' shadows a
   member of `this'
/usr/qt/3/include/qwidget.h: In member function `void QWidget::repaint(const
   QRect&, bool)':
/usr/qt/3/include/qwidget.h:813: warning: declaration of `erase' shadows a
   member of `this'
hk_kdeclasses_wrap.cxx: At global scope:
hk_kdeclasses_wrap.cxx:682: warning: missing initializer for member `
   PyMethodDef::ml_doc'
hk_kdeclasses_wrap.cxx:682: warning: missing initializer for member `
   PyMethodDef::ml_flags'
hk_kdeclasses_wrap.cxx:682: warning: missing initializer for member `
   PyMethodDef::ml_doc'
hk_kdeclasses_wrap.cxx:696: warning: missing initializer for member `
   swig_const_info::name'
hk_kdeclasses_wrap.cxx:696: warning: missing initializer for member `
   swig_const_info::lvalue'
hk_kdeclasses_wrap.cxx:696: warning: missing initializer for member `
   swig_const_info::dvalue'
hk_kdeclasses_wrap.cxx:696: warning: missing initializer for member `
   swig_const_info::pvalue'
hk_kdeclasses_wrap.cxx:696: warning: missing initializer for member `
   swig_const_info::ptype'
hk_kdeclasses_wrap.cxx: In function `PyObject*
   _wrap_set_kdestandarddialogs(PyObject*, PyObject*)':
hk_kdeclasses_wrap.cxx:666: warning: unused parameter `PyObject*self'
error: command 'gcc' failed with exit status 1
make[2]: *** [all] Error 1
make[2]: Leaving directory `/volatile/portage/knoda-0.6.2a/work/knoda-0.6.2a/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volatile/portage/knoda-0.6.2a/work/knoda-0.6.2a'
make: *** [all] Error 2

!!! ERROR: dev-db/knoda-0.6.2a failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make

============ snap =================
Comment 13 SpanKY gentoo-dev 2004-01-24 18:46:21 UTC
delete /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h and try again

*** This bug has been marked as a duplicate of 30701 ***