Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83808 - dev-libs/DirectFB-0.9.21 Build Failure
Summary: dev-libs/DirectFB-0.9.21 Build Failure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 06:01 UTC by Stuart Shelton
Modified: 2005-03-04 04:59 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 Stuart Shelton 2005-03-02 06:01:58 UTC
DirectFB-0.9.20-r1 is happily installed... if I try to upgrade to either -0.9.21 or -0.9.22 then I get errors.  The errors from the 0.9.21 (stable) build are as follows:

(This particular run was built with 'CFLAGS="-march=pentium3" CXXFLAGS="-march=pentium3" PORTDIR_OVERLAY="" emerge -v DirectFB' - but the exact same errors occurred with a simple 'emerge -v DirectFB')

/bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include              -I../../lib                     -I../../include          -I../../lib -DDATADIR=\"/usr/share/directfb-0.9.21\"             -DMODULEDIR=\"/usr/lib/directfb-0.9.21\" -D_REENTRANT  -I/usr/include/libmpeg3  -Wall -O3 -ffast-math -pipe -march=pentium3 -D_GNU_SOURCE  -Werror-implicit-function-declaration -c lock.c
fusion.c: In function `fusion_init':
fusion.c:97: error: `FusionEnter' undeclared (first use in this function)
fusion.c:97: error: (Each undeclared identifier is reported only once
fusion.c:97: error: for each function it appears in.)
fusion.c:97: error: parse error before "enter"
fusion.c:138: error: `enter' undeclared (first use in this function)
fusion.c:138: error: `FUSION_API_MAJOR' undeclared (first use in this function)
fusion.c:139: error: `FUSION_API_MINOR' undeclared (first use in this function)
fusion.c:143: error: `FUSION_ENTER' undeclared (first use in this function)
make[4]: *** [fusion.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../lib -I../../include -I../../lib -DDATADIR=\"/usr/share/directfb-0.9.21\" -DMODULEDIR=\"/usr/lib/directfb-0.9.21\" -D_REENTRANT -I/usr/include/libmpeg3 -Wall -O3 -ffast-math -pipe -march=pentium3 -D_GNU_SOURCE -Werror-implicit-function-declaration -c lock.c  -fPIC -DPIC -o .libs/lock.o
lock.c: In function `fusion_skirmish_init':
lock.c:60: error: `FusionEntryInfo' undeclared (first use in this function)
lock.c:60: error: (Each undeclared identifier is reported only once
lock.c:60: error: for each function it appears in.)
lock.c:60: error: parse error before "info"
lock.c:77: error: `info' undeclared (first use in this function)
lock.c:77: error: `FT_SKIRMISH' undeclared (first use in this function)
lock.c:82: error: `FUSION_ENTRY_SET_INFO' undeclared (first use in this function)
make[4]: *** [lock.lo] Error 1
make[4]: Leaving directory `/usr/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/lib/fusion'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/lib/fusion'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21'
make: *** [all-recursive-am] Error 2

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

emerge info:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r6,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 10:05:03)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r6, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4, 1.8.5-r3
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="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo    http://ftp.heanet.ie/pub/gentoo   http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi adns alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo caps cdr crypt cscope cups curl dedicated dga directfb divx4linux dv dvd dvdread eds emboss encode esd ethereal evo f77 fam fastcgi fbcon fftw firebird flac flash font-server foomaticdb fortran freetds freetype gb gcj gd gdbm ggi gif glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo imagemagick imap imlib informix innodb ipv6 jack java javamail javascript joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca lcms ldap libcaca libg++ libgda libwww lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mikmod milter mmap mmx mng mono motif mozilla mp3 mpeg mpi mssql multislot mysql nas ncurses net network nls nntp nptl oci8 odbc oggvorbis openal opengl oss pam pcmcia pcre pdflib perl pic plotutils png pnp portaudio postgres ppds prelude python qdbm qt quicktime readline real samba sasl scanner sdl skey slang slp sndfile snmp socks5 speex spell sqlite sse sse2 ssl svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l wmf wxwindows xanim xface xim xine xinerama xml xml2 xmms xosd xprint xv xvid zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

TIA!
Comment 1 SpanKY gentoo-dev 2005-03-03 15:11:09 UTC
fusion is only built if you have /usr/include/linux/fusion.h ... you should not have that file with linux headers 2.6.8.1 ...

you should probably delete that file and/or figure out where it came from
Comment 2 Stuart Shelton 2005-03-04 04:59:25 UTC
Ah - sorry, my fault entirely!

I managed to get the fusion.h file from an earlier version of the Fusion kernel module left in /usr/include (when it should have been a symlink to /usr/src/linux/include/linux/fusion.h).

2.6.10-gentoo-r6 appears to work fine with the CVS 2.6.9 Fusion module... unfortunately I had fusion.h from CVS 2.6.3.

Many thanks,

    Stuart