Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38375 - Emerge of kdeaddons-3.1.5 fails (stdio.h: In function `int getchar()': declaration of `int getchar() throw ()' throws different exceptions
Summary: Emerge of kdeaddons-3.1.5 fails (stdio.h: In function `int getchar()': declar...
Status: RESOLVED DUPLICATE of bug 38748
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 23:35 UTC by Clemens Arth
Modified: 2005-07-17 13:06 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 Clemens Arth 2004-01-15 23:35:26 UTC
When I try to merge kdeaddons-3.1.5 I get the following error:

depmode=gcc3 /bin/sh ../../admin/depcomp \
/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -mcpu=athlon-xp -O3 -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -fexceptions -c -o domlistviewitem.lo `test -f 'domlistviewitem.cpp' || echo './'`domlistviewitem.cpp
In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:837,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/cstdio:52,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:35,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/fpos.h:44,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/bits/char_traits.h:46,
                 from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3/string:47,
                 from /usr/qt/3/include/qstring.h:56,
                 from /usr/qt/3/include/qwindowdefs.h:44,
                 from /usr/qt/3/include/qcolor.h:42,
                 from /usr/qt/3/include/qpainter.h:43,
                 from domlistviewitem.cpp:20:
/usr/include/bits/stdio.h: In function `int getchar()':
/usr/include/bits/stdio.h:42: declaration of `int getchar() throw ()' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:451: than previous
   declaration `int getchar()'
/usr/include/bits/stdio.h: In function `int getc_unlocked(FILE*)':
/usr/include/bits/stdio.h:51: declaration of `int getc_unlocked(FILE*) throw ()
   ' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:463: than previous
   declaration `int getc_unlocked(FILE*)'
/usr/include/bits/stdio.h: In function `int getchar_unlocked()':
/usr/include/bits/stdio.h:58: declaration of `int getchar_unlocked() throw ()'
   throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:464: than previous
   declaration `int getchar_unlocked()'
/usr/include/bits/stdio.h: In function `int putchar(int)':
/usr/include/bits/stdio.h:67: declaration of `int putchar(int) throw ()' throws
   different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:493: than previous
   declaration `int putchar(int)'
/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*)
   throw ()' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:507: than previous
   declaration `int fputc_unlocked(int, FILE*)'
/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*)
   throw ()' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:515: than previous
   declaration `int putc_unlocked(int, FILE*)'
/usr/include/bits/stdio.h: In function `int putchar_unlocked(int)':
/usr/include/bits/stdio.h:93: declaration of `int putchar_unlocked(int) throw
   ()' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:516: than previous
   declaration `int putchar_unlocked(int)'
/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*) throw ()' throws different exceptions
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/stdio.h:583: than previous
   declaration `__ssize_t getline(char**, size_t*, FILE*)'
make[3]: *** [domlistviewitem.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.5/work/kdeaddons-3.1.5/konq-plugins/domtreeviewer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.5/work/kdeaddons-3.1.5/konq-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.1.5/work/kdeaddons-3.1.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeaddons-3.1.5 failed.
!!! Function kde_src_compile, Line 123, Exitcode 2
!!! died running emake, kde_src_compile:make

I've got no masked packages installed and I'm using gcc 3.2.3-r3 and glibc-2.3.2-r3. 
Before that I tried to merge kdemultimedia with gcc-3.3.2 without success so I got back to gcc-3.2.3. kdemultimedia compiled then but kdeaddons didn't...


Reproducible: Always
Steps to Reproduce:
1. emerge kdeaddons
2.
3.
Comment 1 Christian 2004-01-19 22:24:54 UTC
Same here on kdegraphics-3.1.5. It's possibly an error of automake-1.7.7.

Steps to reproduce:
1. emerge -u kde-3.1.5
- works fine.
2. Break the build of kde.
3. Another day: emerge -u automake.
4. emerge -u kde-3.1.5 failed at kdegraphics.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-01-20 05:11:35 UTC

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