Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86081 - DirectFB fails to build on x86
Summary: DirectFB fails to build on x86
Status: RESOLVED DUPLICATE of bug 77391
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-20 17:19 UTC by Michael Lange
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 Michael Lange 2005-03-20 17:19:19 UTC
When I try to emerge DirecrFB, it fails

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -march=athlon-xp -pipe -O2 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT sis315.lo -MD -MP -MF .deps/sis315.Tpo -c sis315.c  -fPIC -DPIC -o .libs/sis315.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -march=athlon-xp -pipe -O2 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT sis315_accel.lo -MD -MP -MF .deps/sis315_accel.Tpo -c sis315_accel.c  -fPIC -DPIC -o .libs/sis315_accel.o
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../lib -I../../src -I../../systems  -D_REENTRANT  -I/usr/include/libmpeg3  -Wall -O3 -ffast-math -pipe -march=athlon-xp -pipe -O2 -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT sis315_mmio.lo -MD -MP -MF ".deps/sis315_mmio.Tpo" -c -o sis315_mmio.lo sis315_mmio.c; \
then mv -f ".deps/sis315_mmio.Tpo" ".deps/sis315_mmio.Plo"; else rm -f ".deps/sis315_mmio.Tpo"; exit 1; fi
sis315.c: In function `driver_init_driver':
sis315.c:227: error: parse 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../../lib -I../../src -I../../systems -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -march=athlon-xp -pipe -O2 -D_GNU_SOURCE -Werror-implicit-function-declaration -MT sis315_mmio.lo -MD -MP -MF .deps/sis315_mmio.Tpo -c sis315_mmio.c  -fPIC -DPIC -o .libs/sis315_mmio.o
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/gfxdrivers/sis315'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.22/work/DirectFB-0.9.22/gfxdrivers'
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

!!! ERROR: dev-libs/DirectFB-0.9.22 failed.
!!! Function src_compile, Line 90, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.emerge DirectFB
2.
3.




Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 17 2005, 02:07:01)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -pipe -O2"
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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm audiofile avi berkdb bitmap-fonts bluetooth bootsplash
cdinstall cdparanoia cdr crypt cups curl directfb divx4linux dvb dvd dvdr emboss
encode esd fam font-server foomaticdb fortran fpm gdbm gif gnome gpm gtk gtk2
imlib ipv6 java jpeg lcd libg++ libwww lirc mad matroska mikmod mmx motif
mozilla mp3 mpeg mysql nas ncurses net nls nptl nptlonly nvidia ogg oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline samba sdl slp spell
sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vcd
video_cards_nvidia xine xml2 xmms xosd xprint xv xvid zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Mark Watkins 2005-03-20 17:25:03 UTC
/usr/include/linux/sisfb.h
#define SISFB_GET_INFO          _IOR('n',0xF8,sizeof(__u32))
#define SISFB_GET_VBRSTATUS     _IOR('n',0xF9,sizeof(__u32))
These just take the type... not sizeof..
This is in linux26-headers (2.6.8.1)
Comment 2 Michael Lange 2005-03-20 17:38:30 UTC
should add this 2 lines to /usr/include/linux/sisfb.h?
Comment 3 Michael Lange 2005-03-20 17:55:09 UTC
ohh a mistake
build error is the same for

emerge DirectFB
emerge (1 of 1) dev-libs/DirectFB-0.9.21

and

ACCEPT_KEYWORDS="~x86" emerge DirectFB 
emerge (1 of 1) dev-libs/DirectFB-0.9.22     (the posted build error)
Comment 4 SpanKY gentoo-dev 2005-03-22 15:37:49 UTC

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