Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38748 - kdenetwork-3.1.5 fails to compile
Summary: kdenetwork-3.1.5 fails to compile
Status: RESOLVED DUPLICATE of bug 30701
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 38375 38791 38919 38950 39138 39288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-19 12:41 UTC by Selecter
Modified: 2005-07-17 13:06 UTC (History)
6 users (show)

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 Selecter 2004-01-19 12:41:41 UTC
#emerge --update kde
...

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge --update kdenetwork

Actual Results:  
/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 ()'
make[3]: *** [ksprogress.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [ksprogressdata.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdenetwork-3.1.5/work/kdenetwork-3.1.5/ksirc/KSProgress'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdenetwork-3.1.5/work/kdenetwork-3.1.5/ksirc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdenetwork-3.1.5/work/kdenetwork-3.1.5'
make: *** [all] Error 2

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

Expected Results:  
succsessful emerge

# emerge info
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/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 alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png postgres python qt quicktime readline sdl slang spell ssl svga tcpd truetype
x86 xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-19 15:07:32 UTC
I don't have a stdio.h file in /usr/lib/gcc-lib/... like your error is implying.  What package has provided that file?  I suspect a problem with your gcc installation.
Comment 2 keny 2004-01-19 17:17:17 UTC
have the same problem!

don't know which (or how to find out which) package provides this file

may help?:
#emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.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 aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid avi berkdb cdr crypt cups dedicated dga dnd dvd dvdr encode esd fbcon ffmpeg flash foomaticdb freetype fs gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 i8x0 imap imlib java javascript joystick jpeg kde kerberos krb4 ldap libdsk libg++ libwww ltsp mad mcal mdb mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba scanner sdl slang speedo spell ssl svga tcltk tcpd tiff truetype type1 usb x86 xml2 xmms xosd xv xvid zlib video_cards_i810 video_cards_i830"
Comment 3 Selecter 2004-01-19 21:09:16 UTC
I have latest version of gcc. Maybe lower my flags? ;)
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-01-20 04:59:30 UTC
*** Bug 38791 has been marked as a duplicate of this bug. ***
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-01-20 05:11:35 UTC
*** Bug 38375 has been marked as a duplicate of this bug. ***
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-01-20 05:12:42 UTC
Could it be that you have a different version of linux-headers installed than the kernel you're running.  It looks to me like a re-emerge of your linux-headers, followed by an update of glibc and gcc will work.  I'm guessing you're all using 2.6 kernels?
Comment 7 Selecter 2004-01-20 05:23:16 UTC
I've found a similair problem http://lists.xwt.org/pipermail/core/2003-September/001520.html

And I think it is a conflict of 2 stdio.h files
Comment 8 Selecter 2004-01-20 05:28:54 UTC
How to re-emerge linux-headers?
Yes, I am using kernel 2.6.1 (I have a standard old 2.4.20-gentoo-r6 from GRP also installed)
Comment 10 Rodney Brown 2004-01-20 14:30:38 UTC
I'm getting the same error on 2.4.24, here's my info:

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24)
=================================================================
System uname: 2.4.24 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://stargate/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb cdr crypt cups dv dvd dvdr encode esd foomaticdb gdbm gif glut gnome gpm gstreamer gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby scanner sdl slang spell sse ssl svga tcpd transcode truetype usb wxwindows x86 xinerama xml2 xmms xv zlib"
Comment 11 keny 2004-01-20 21:03:10 UTC
seems like
#emerge glibc gcc
worked for me
Comment 12 Selecter 2004-01-21 00:53:49 UTC
#emerge linux-headers glibc gcc
worked for me too!

But why? What was the problem? Because it is a stupid way to fix bugs - "windows reinstalling way"

P.S> Why linux-headers only for kernel 2.4.x?
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2004-01-21 07:29:47 UTC
*** Bug 38919 has been marked as a duplicate of this bug. ***
Comment 14 Caleb Tennis (RETIRED) gentoo-dev 2004-01-21 13:01:25 UTC
*** Bug 38950 has been marked as a duplicate of this bug. ***
Comment 15 Caleb Tennis (RETIRED) gentoo-dev 2004-01-23 05:21:40 UTC
*** Bug 39138 has been marked as a duplicate of this bug. ***
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2004-01-24 15:45:09 UTC
*** Bug 39288 has been marked as a duplicate of this bug. ***
Comment 17 SpanKY gentoo-dev 2004-01-24 18:43:54 UTC
this is actually not a bug in KDE, but a bug thats been fixed in gcc
Comment 18 SpanKY gentoo-dev 2004-01-24 18:44:03 UTC

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