Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92028

Summary: Compiling DirectFB-0.9.22 fails at sis315.c
Product: Gentoo Linux Reporter: Andrew Smith <espadav8>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Smith 2005-05-09 10:50:28 UTC
running 'emerge DirectFB' always fails when it reaches gfxdrivers/sis315.c reporting the following error

sis315.c: In function `driver_init_driver':
sis315.c:227: error: syntax error before '[' token
make[3]: *** [sis315.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -O2 -mcpu=ath-mfpmath=sse -mmmx -pipe -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -Werror-implicit-fMT sis315_mmio.lo -MD -MP -MF .deps/sis315_mmio.Tpo -c sis315_mmio.c  -fPIC -DPIC -o .libs
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/gfxdrive
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/gfxdrive
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:
1. emerge DirectFB
Actual Results:  
Above error was produces

Expected Results:  
DirectFB to sucessfully compile and install

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-mm2 i686)
=================================================================
System uname: 2.6.11-mm2 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 17 2005, 10:27:28)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -ffast-math
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -ffast-math
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://212.219.56.162/sites/www.ibiblio.org/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mir.zyrianes.net/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa apm arts audiofile avi berkdb bitmap-fonts crypt
curl directfb emboss encode esd fam fbcon ffmpeg flac font-server foomaticdb
fortran gdbm gif gnome gpm gtk gtk2 gvim imagemagick imlib ipv6 java jbig jpeg
jpeg2k kde kdeenablefinal libg++ libwww mad mikmod mmx mng motif mp3 mpeg mysql
ncurses nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl pic png python qt
quicktime readline real sdl spell sse ssl svg svga tcltk tcpd threads tiff
truetype truetype-fonts type1-fonts unicode userlocales vim vim-with-x vorbis
win32codecs wmf xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-09 10:55:57 UTC
Please, search before filing bugs...

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