Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40810 - gst-plugins build dies with syntax error in /usr/include/ctype.h
Summary: gst-plugins build dies with syntax error in /usr/include/ctype.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 01:17 UTC by Steve Arnold
Modified: 2004-02-08 10:14 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 Steve Arnold archtester gentoo-dev 2004-02-08 01:17:45 UTC
gst-plugins build dies with syntax error in /usr/include/ctype.h using 2.6.0 kernel headers.  I tried all the stuff in the forums and related resolved bugs, ie, manual build, -j1, etc.

Reproducible: Always
Steps to Reproduce:
1. build gst-plugins-0.6.4 on system with 2.6.0 kernel headers and rebuilt glibc
2. watch it bomb
3.

Actual Results:  
build failure

Expected Results:  
successful build

rama gst-plugins # emerge --info
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.12
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -Os -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="-mcpu=athlon-xp -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo
ftp://mirror.iawnet.sandia.gov/pub/gentoo http://gentoo.oregonstate.edu
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga
directfb dvd emacs encode esd evo fbcon foomaticdb freetype freetype2 gb gd gdbm
gif gnome gpm gtk gtk2 gtkhtml imap imlib ipv6 java jpeg junit kde lame lcms
ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses ogg oggvorbis
opengl oss pam pda pdflib perl plotutils png postgres python qt quicktime
readline samba sasl sdl slang slp spell sse ssl tcltk tcpd tetex tiff truetype
vorbis x86 xml xml2 xmms xv zeo zlib"
Comment 1 Steve Arnold archtester gentoo-dev 2004-02-08 01:26:10 UTC
gcc -mcpu=athlon-xp -pipe -O2 -Wall -g -I. -I/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg -I/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg/libavcodec -I/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg/libavformat -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o ffserver.o ffserver.c 
In file included from ffserver.c:36:
/usr/include/ctype.h:190: error: syntax error before "__attribute__"
/usr/include/ctype.h:196: error: syntax error before "__attribute__"
make[5]: *** [ffserver.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext/ffmpeg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.4/work/gst-plugins-0.6.4'
make: *** [all] Error 2

!!! ERROR: media-libs/gst-plugins-0.6.4 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)
Comment 2 Steve Arnold archtester gentoo-dev 2004-02-08 10:14:35 UTC
Fixed by updating to latest 2.6.0 kernel headers.