Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201235 - dev-libs/DirectFB-extra-1.0.0-r1: dvc.c:38:27: error: core/surfaces.h: No such file or directory
Summary: dev-libs/DirectFB-extra-1.0.0-r1: dvc.c:38:27: error: core/surfaces.h: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 15:16 UTC by Martin Mokrejš
Modified: 2007-12-10 15:59 UTC (History)
3 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 Martin Mokrejš 2007-12-04 15:16:05 UTC
Build options:
  Module directory       ${exec_prefix}/lib/directfb-1.1-0
  Debug mode             no
  MMX support            yes
  Zlib support           yes
  FusionSound support    no

Building Image Providers:
  Imlib2                 yes
  PNM                    yes
  SVG                    yes
  BMP                    yes

Building Video Providers:
  AviFile                no
  Flash                  yes
  Libmpeg3               no
  OpenQuicktime          no
  Xine                   no
  Swfdec                 no
  FFmpeg                 yes

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0/lib'
Making all in dvc
make[3]: Entering directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0/lib/dvc'
if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/include/directfb   -D_GNU_SOURCE -D_REENTRANT -I/usr/include/directfb-internal -I/usr/include/directfb   -DREENTRANT -ffast-math -Wall    -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -Werror-implicit-function-declaration -MT dvc.lo -MD -MP -MF ".deps/dvc.Tpo" -c -o dvc.lo dvc.c; \
        then mv -f ".deps/dvc.Tpo" ".deps/dvc.Plo"; else rm -f ".deps/dvc.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/include/directfb -D_GNU_SOURCE -D_REENTRANT -I/usr/include/directfb-internal -I/usr/include/directfb -DREENTRANT -ffast-math -Wall -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -Werror-implicit-function-declaration -MT dvc.lo -MD -MP -MF .deps/dvc.Tpo -c dvc.c  -fPIC -DPIC -o .libs/dvc.o
dvc.c:38:27: error: core/surfaces.h: No such file or directory
dvc.c: In function ‘dvc_copy_to_surface’:
dvc.c:1733: error: ‘CoreSurface’ has no member named ‘format’
dvc.c:1736: error: ‘CoreSurface’ has no member named ‘width’
dvc.c:1737: error: ‘CoreSurface’ has no member named ‘height’
dvc.c:1739: error: implicit declaration of function ‘dfb_surface_soft_lock’
dvc.c:1744: error: ‘CoreSurface’ has no member named ‘format’
dvc.c:1776: error: too many arguments to function ‘dfb_surface_unlock’
make[3]: *** [dvc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0/lib/dvc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/work/DirectFB-extra-1.0.0'
make: *** [all] Error 2
 * 
 * ERROR: dev-libs/DirectFB-extra-1.0.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2030:  Called die
 * The specific snippet of code:
 *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/temp/environment'.
 * 

 * Messages for package dev-libs/DirectFB-extra-1.0.0-r1:

 * 
 * ERROR: dev-libs/DirectFB-extra-1.0.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2030:  Called die
 * The specific snippet of code:
 *       emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/DirectFB-extra-1.0.0-r1/temp/environment'.
Comment 1 ascii 2007-12-04 15:41:20 UTC
i get the same error

Portage 2.1.4_rc7 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 Dual-Core AMD Opteron(tm) Processor 1218
Timestamp of tree: Tue, 04 Dec 2007 13:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r6, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
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.4_p6, 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="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -mtune=opteron -O2 -pipe -msse2"
CHOST="x86_64-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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=opteron -mtune=opteron -O2 -pipe -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fix-packages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/"
LANG="de_DE"
LINGUAS="de en_US en"
MAKEOPTS="-j4"
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 /usr/local/sunrise /usr/local/xeffects/xeffects/trunk /usr/local/gnome-experimental-old"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xgl a52 aac acl acpi alsa amd64 bash-completion berkdb beryl bitmap-fonts bzip2 cairo cdr chroot cli cracklib crypt cups curl dbus directfb dri drscheme dts dvd dvdr dvdread eds emboss encode evo expat fam ffmpeg firefox flac flash fortran ftp gaim gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog java jpeg jpeg2k kerberos lame latin1 lzo mad matroska midi mikmod mjpeg mmx mp3 mp4 mpeg mplayer msn mudflap nautilus ncurses nfs nls nptl nptlonly nsplugin ntfs ogg opengl openmp openssl pam pcre pdf perl pic png pppd print profile python qt3 qt3support qt4 quicktime rdesktop readline reflection samba screen sdl session sockets socks5 source speex spell spl srt sse sse2 ssl svg tcl tcltk tcpd themes theora tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows x264 xgl xine xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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" LINGUAS="de en_US en" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Geert Vanhaute 2007-12-04 19:22:30 UTC
same here too:

# emerge --info
Portage 2.1.4_rc7 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.24-rc3-zen4 x86_64)
=================================================================
System uname: 2.6.24-rc3-zen4 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Tue, 04 Dec 2007 18:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.9999
dev-lang/python:     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.4_p6, 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="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -mtune=generic -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.modulix.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j3"
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 /usr/portage/local/layman/portato /usr/portage/local/layman/java-experimental /usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/portage/local/layman/custom-kernels"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr amrnb amrwb apm automount avahi bash-completion berkdb binary-drivers bitmap-fonts bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus directfb dts dvd dvdnav dvdr dvdread eds emboss emerald encode equalizer esd evo evolution exif extrafilters fam fbcon fbcondecor ffmpeg fftw firefox flac fontconfig fortran gd gdbm gif gimp gksu glitz gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv imap imlib irmc isdnlog jack java javascript jbig jpeg jpeg2k ladcca lcms libnotify libsexy lm_sensors logrotate mad mdnsresponder-compat midi mikmod mmkeys mmx mmxext mng mp160 mp2 mp3 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ntfs nvidia obj-gc objc objc++ objc-gc ogg opengl openmp oss pam paste64 pcre pda pdf perl plugins png pop pppd python quicktime readline realmedia reflection reiser4 rfkill rt61pci rtc rtsp sdl sdl-image sensord session skins smp sms sounds spell spl srt sse sse2 ssl streamripper subtitles svg swat sysfs tcpd test-programs threads threadsafe tiff totem tracker trayicon truetype truetype-fonts twolame type1-fonts um unicode unsupported upnp usb userlocales userpriv vorbis winbind wma wmf wmp x264 xcb xcomposite xml xorg xosd xprint xrandr xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="directory lg_gsm" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Brendan Rankin 2007-12-04 19:45:13 UTC
Yup.  Definitely a bug, as core/surfaces.h doesn't even exist (core/surface.h does), and the usage of the CoreSurface types seems to be inconsistent with how the installed DirectFB expects to see them.
Comment 4 SpanKY gentoo-dev 2007-12-09 10:09:06 UTC
ive fixed the DEPEND to require DirectFB-1.0.0*
Comment 5 Anthony Mutiso 2007-12-10 15:59:40 UTC
(In reply to comment #4)
> ive fixed the DEPEND to require DirectFB-1.0.0*
> 

This is unfortunate since dev-libs/DirectFB-1.1.0 has been out since December 3 and already several packages are dependant on dev-libs/DirectFB-1.1.0.

Had to remove dev-libs/DirectFB-extra-1.0.0 to resolve the dependence issues.