Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201141 - dev-libs/DirectFB-1.1.0: many gfxdrivers fail to build due to internal structure renaming
Summary: dev-libs/DirectFB-1.1.0: many gfxdrivers fail to build due to internal struct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 201502 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-03 20:05 UTC by Robert Miesen
Modified: 2007-12-24 10:21 UTC (History)
10 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 Robert Miesen 2007-12-03 20:05:18 UTC
Attempting to upgrade dev-libs/DirectFB to version 1.1.0 results in the following error messages:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../lib -I../../lib -I../../systems -I../../src -D_REENTRANT -O2 -mtune=i686 -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT tdfx.lo -MD -MP -MF .deps/tdfx.Tpo -c tdfx.c  -fPIC -DPIC -o .libs/tdfx.o
tdfx.c: In function 'tdfx_validate_source2D':
tdfx.c:166: error: 'SurfaceBuffer' undeclared (first use in this function)
tdfx.c:166: error: (Each undeclared identifier is reported only once
tdfx.c:166: error: for each function it appears in.)
tdfx.c:166: error: 'buffer' undeclared (first use in this function)
tdfx.c:166: error: 'CoreSurface' has no member named 'front_buffer'
tdfx.c:176: error: 'CoreSurface' has no member named 'format'
tdfx.c: In function 'tdfx_validate_destination2D':
tdfx.c:186: error: 'SurfaceBuffer' undeclared (first use in this function)
tdfx.c:186: error: 'buffer' undeclared (first use in this function)
tdfx.c:186: error: 'CoreSurface' has no member named 'back_buffer'
tdfx.c:196: error: 'CoreSurface' has no member named 'format'
tdfx.c: In function 'tdfx_validate_destination3D':
tdfx.c:206: error: 'SurfaceBuffer' undeclared (first use in this function)
tdfx.c:206: error: 'buffer' undeclared (first use in this function)
tdfx.c:206: error: 'CoreSurface' has no member named 'back_buffer'
tdfx.c:215: error: 'CoreSurface' has no member named 'format'
tdfx.c: In function 'tdfx_validate_colorFore':
tdfx.c:270: error: 'CoreSurface' has no member named 'format'
tdfx.c: In function 'tdfxCheckState':
tdfx.c:438: error: 'CoreSurface' has no member named 'format'
tdfx.c: At top level:
tdfx.c:727: error: expected ')' before '*' token
tdfx.c:738: error: expected ')' before '*' token
tdfx.c:758: error: expected ')' before '*' token
tdfx.c:787: error: expected ')' before '*' token
tdfx.c:843: error: expected ')' before '*' token
tdfx.c:880: error: expected ')' before '*' token


Reproducible: Always

Steps to Reproduce:




Portage 2.1.4_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz
Timestamp of tree: Mon, 03 Dec 2007 18:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r5, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_us.UTF-8"
MAKEOPTS="-j5"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa apache2 arts bash-completion bcmath berkdb bindist bitmap-fonts bzip2 cairo caps cddp cdr cjk clamav cli cracklib crypt cscope ctype cups curl curlwrappers dbase dbm dbus dga directfb dri dts dvd dvdr dvdread eds emacs emboss encode evo examples exif expat fam fastcgi fbcron ffmpeg fftw firefox flac foomaticdb fortran freetds ftp gd gdbm geoip ggi gif glut gmp gnustep gnutls gpm graphviz gstreamer gtk gtkhtml hal howl icc iconv icq idn imagemagick imap imlib informix innodb ipod ipv6 isdnlog jabber jack java javascript jbig joystick jpeg jpeg2k junit kde kdexdeltas kerberos krb4 ladspa lapack lcms ldap leim lesstif libcaca libg++ libnotify libsamplerate libwww lirc lm_sensors mad maildir matroska matrox mbox mcal midi mikmod mime mmx mono mp3 mpeg mpi mplayer mpm-threadpool msn mudflap mule musepack musicbrainz mysql mysqli nas ncurses nls nntp nocd nptl nptlonly offensive ofx ogg openexr opengl openmp osc oscar oss pam pcntl pcre pdf perl php plotutils png postfix ppds pppd profile python qt3 qt3support qt4 quicktime rdesktop readline reflection sdl session sharedext shorten smp snmp soap sockets source speex spell spl sse sse2 ssl startup-notification svg svga symlink sysvipc tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd vhosts videos vorbis win32codecs x86 xcomposite xface xine xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paul Philippov 2007-12-04 06:09:26 UTC
same error with i810 driver:


i810.c: In function 'i810_set_src':
i810.c:202: error: 'SurfaceBuffer' undeclared (first use in this function)
i810.c:202: error: (Each undeclared identifier is reported only once
i810.c:202: error: for each function it appears in.)
i810.c:202: error: 'buffer' undeclared (first use in this function)
i810.c:202: error: 'CoreSurface' has no member named 'front_buffer'
i810.c:206: error: 'GraphicsDevice' undeclared (first use in this function)
i810.c:206: error: expected expression before ')' token
i810.c:207: error: too few arguments to function 'dfb_gfxcard_memory_physical'
i810.c: In function 'i810_set_dest':
i810.c:219: error: 'SurfaceBuffer' undeclared (first use in this function)
i810.c:219: error: 'buffer' undeclared (first use in this function)
i810.c:219: error: 'CoreSurface' has no member named 'back_buffer'
i810.c:223: error: 'GraphicsDevice' undeclared (first use in this function)
i810.c:223: error: expected expression before ')' token
i810.c:224: error: too few arguments to function 'dfb_gfxcard_memory_physical'
i810.c:227: error: 'CoreSurface' has no member named 'format'
i810.c: In function 'i810_set_color':
i810.c:279: error: 'CoreSurface' has no member named 'format'
i810.c: In function 'i810CheckState':
i810.c:325: error: 'CoreSurface' has no member named 'format'
i810.c:341: error: 'CoreSurface' has no member named 'format'
i810.c:341: error: 'CoreSurface' has no member named 'format'
i810.c: At top level:
i810.c:701: error: expected ')' before '*' token
i810.c:712: error: expected ')' before '*' token
i810.c:784: error: expected ')' before '*' token
i810.c:902: error: expected ')' before '*' token
i810.c:943: error: expected ')' before '*' token
i810.c:975: error: expected ')' before '*' token
i810.c:1026: error: expected ')' before '*' token
make[3]: *** [i810.lo] Error 1
Comment 2 Thomas S. Howard 2007-12-04 08:41:24 UTC
Looks like someone forgot to update the drivers in the tarball.  I just grabbed i810.h, i810.c, and i810_overlay.c from:

http://git.directfb.org/?p=core/DirectFB.git;a=tree;f=gfxdrivers/

and it compiled fine.  Need to rebuild some stuff to test it out. I'm sure it'll work for tdfx and the other drivers as well.
Comment 3 Thomas S. Howard 2007-12-04 08:43:07 UTC
Sorry about that:  remove the trailing slash from the URL and it'll work.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-06 19:48:27 UTC
*** Bug 201502 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2007-12-09 10:07:24 UTC
upstream will be posting a 1.1.1 "soon" so i wont bother going through git and ripping out all the updates for every gfxdriver
Comment 6 Leonid Podolny 2007-12-09 10:26:06 UTC
(In reply to comment #5)
> upstream will be posting a 1.1.1 "soon" so i wont bother going through git and
> ripping out all the updates for every gfxdriver
> 

Maybe it's a good idea to mask 1.1.0 until 1.1.1 is out, so that a tree would compile cleanly?
Comment 7 Tiger 2007-12-19 02:03:00 UTC
=dev-libs/DirectFB-1.1.1 works fine here with the i810 driver.

version bump ?
Comment 8 SpanKY gentoo-dev 2007-12-24 10:21:29 UTC
DirectFB-1.1.1 is in the tree