Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183866 - dev-libs/klibc installs broken headers on ppc
Summary: dev-libs/klibc installs broken headers on ppc
Status: RESOLVED DUPLICATE of bug 178161
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 18:37 UTC by Massimo Burcheri
Modified: 2007-09-01 21:13 UTC (History)
2 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 Massimo Burcheri 2007-07-01 18:37:04 UTC
from /var/tmp/portage/media-gfx/splashutils-1.4.1/work/splashutils-1.4.1/libs/jpeg-6b/jcapimin.c:20:
/usr/lib/klibc/include/sys/select.h:15: error: expected ';', ',' or ')' before '*' token
In file included from /usr/lib/klibc/include/stdio.h:11,
                 from /var/tmp/portage/media-gfx/splashutils-1.4.1/work/splashutils-1.4.1/libs/jpeg-6b/jinclude.h:46,
                 from /var/tmp/portage/media-gfx/splashutils-1.4.1/work/splashutils-1.4.1/libs/jpeg-6b/jcapimin.c:20:
/usr/lib/klibc/include/unistd.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fork'
/usr/lib/klibc/include/unistd.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vfork'
/usr/lib/klibc/include/unistd.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getpid'
/usr/lib/klibc/include/unistd.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getpgid'
/usr/lib/klibc/include/unistd.h:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getppid'
/usr/lib/klibc/include/unistd.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getpgrp'
/usr/lib/klibc/include/unistd.h:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'setsid'
/usr/lib/klibc/include/unistd.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getsid'
/usr/lib/klibc/include/unistd.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getuid'
/usr/lib/klibc/include/unistd.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'geteuid'
/usr/lib/klibc/include/unistd.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getgid'
/usr/lib/klibc/include/unistd.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'getegid'
/usr/lib/klibc/include/unistd.h:44: error: expected declaration specifiers or '...' before 'gid_t'
/usr/lib/klibc/include/unistd.h:45: error: expected ';', ',' or ')' before '*' token
/usr/lib/klibc/include/unistd.h:67: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:68: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:69: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:70: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:71: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:79: error: expected declaration specifiers or '...' before 'uid_t'
/usr/lib/klibc/include/unistd.h:79: error: expected declaration specifiers or '...' before 'gid_t'
/usr/lib/klibc/include/unistd.h:80: error: expected declaration specifiers or '...' before 'uid_t'
/usr/lib/klibc/include/unistd.h:80: error: expected declaration specifiers or '...' before 'gid_t'
/usr/lib/klibc/include/unistd.h:81: error: expected declaration specifiers or '...' before 'uid_t'
/usr/lib/klibc/include/unistd.h:81: error: expected declaration specifiers or '...' before 'gid_t'
/usr/lib/klibc/include/unistd.h:89: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:90: error: expected declaration specifiers or '...' before 'mode_t'
/usr/lib/klibc/include/unistd.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lseek'
/usr/lib/klibc/include/unistd.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'llseek'
/usr/lib/klibc/include/unistd.h:101: error: expected declaration specifiers or '...' before 'off_t'
/usr/lib/klibc/include/unistd.h:102: error: expected declaration specifiers or '...' before 'off_t'
/usr/lib/klibc/include/unistd.h:109: error: expected declaration specifiers or '...' before 'off_t'
/usr/lib/klibc/include/unistd.h:121: error: expected declaration specifiers or '...' before 'off_t'
/usr/lib/klibc/include/unistd.h:121: error: expected declaration specifiers or '...' before 'off_t'
In file included from /var/tmp/portage/media-gfx/splashutils-1.4.1/work/splashutils-1.4.1/libs/jpeg-6b/jinclude.h:46,
                 from /var/tmp/portage/media-gfx/splashutils-1.4.1/work/splashutils-1.4.1/libs/jpeg-6b/jcapimin.c:20:
/usr/lib/klibc/include/stdio.h:62: error: expected declaration specifiers or '...' before 'off_t'
/usr/lib/klibc/include/stdio.h: In function 'fseek':
/usr/lib/klibc/include/stdio.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lseek'
/usr/lib/klibc/include/stdio.h:64: error: expected expression before 'int'
/usr/lib/klibc/include/stdio.h:65: error: '__o' undeclared (first use in this function)
/usr/lib/klibc/include/stdio.h:65: error: (Each undeclared identifier is reported only once
/usr/lib/klibc/include/stdio.h:65: error: for each function it appears in.)
/usr/lib/klibc/include/stdio.h:65: error: 'off_t' undeclared (first use in this function)
/usr/lib/klibc/include/stdio.h: At top level:
/usr/lib/klibc/include/stdio.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ftell'
make[1]: *** [jcapimin.o] Error 1
make: *** [jpeglib] Error 2

!!! ERROR: media-gfx/splashutils-1.4.1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  splashutils-1.4.1.ebuild, line 132:   Called die
Comment 1 Massimo Burcheri 2007-07-01 18:38:01 UTC
# emerge --info
Portage 2.1.2.7 (default-linux/ppc/ppc32/2007.0/desktop/G3, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 ppc)
=================================================================
System uname: 2.6.21-gentoo-r3 ppc 750FX
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 01 Jul 2007 00:50:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=750 -O2 -pipe -ftracer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-mcpu=750 -O2 -pipe -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/spool/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/lila-theme /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/genstef /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl aim alsa ansi automount bash-completion berkdb bitmap-fonts branding bzip2 cairo cdparanoia cdr cdrom cli cracklib crypt cups dbus divx4linux dri dvd dvdr dvdread eds emboss encode evo fam fbcon flac gdbm gecko-sdk geoip gif gimp glibc-omitfp gpm gstreamer gtk gtk2 hal hbci ibam iconv icq ieee1394 imap isdnlog jabber javascript jpeg kde kdehiddenvisibility libcaca libg++ mad midi mikmod mmap mp3 mpeg mplayer msn mudflap musepack ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl pic png ppc ppds pppd pthreads python qt3 qt3support qt4 quicktime quotes radeon readline reflection samba scanner sdl session slang spell spl ssl subversion svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vim vorbis xine xml xorg xprint xscreensaver xv xvid yahoo zlib" ALSA_CARDS="powermac" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2007-07-01 21:38:13 UTC
Which version of klibc are you using? Have you tried remerging it?
Comment 3 Massimo Burcheri 2007-07-18 04:27:20 UTC
I tried klibc-1.4.13 and ~1.5, and yes I tried reemerging that.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2007-08-11 13:52:31 UTC
It looks like on ppc sigset_t ends up being undefined (it's not defined in archsignal.h and doesn't appear to be defined in the recent kernel sources), which causes problems when compiling splashutils.
Comment 5 nixnut (RETIRED) gentoo-dev 2007-09-01 19:03:46 UTC

*** This bug has been marked as a duplicate of bug 178161 ***
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2007-09-01 21:13:56 UTC
Just a fyi, the reason why this is breaking is because of the *really* old headers that you've got installed (2.6.17).  You should upgrade to the latest stable version to avoid this issue. :)