When I try to emerge dev-libs/DirectFB-extra-0.9.16, it fails to compile in IDirectFBImageProvider_IMLIB2_RenderTo The error reported is "too many arguments to function `dfb_scale_linear_32'" Reproducible: Always Steps to Reproduce: 1. emerge dev-libs/DirectFB-extra 2. 3. Actual Results: # emerge dev-libs/DirectFB-extra Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/DirectFB-extra-0.9.16 to / >>> md5 src_uri ;-) DirectFB-extra-0.9.16.tar.gz >>> Unpacking source... >>> Unpacking DirectFB-extra-0.9.16.tar.gz to /var/tmp/portage/DirectFB-extra-0.9.16/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking whether build environment is sane... yes checking for strerror in -lcposix... no checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for pkg-config... /usr/bin/pkg-config checking for DirectFB >= 0.9.16... found (version 0.9.20) checking for DirectFB-Internal = 0.9.20... found (version 0.9.20) checking for imlib2-config... /usr/bin/imlib2-config checking for quicktime_open in -lopenquicktime... yes checking openquicktime/openquicktime.h usability... yes checking openquicktime/openquicktime.h presence... yes checking for openquicktime/openquicktime.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating interfaces/Makefile config.status: creating interfaces/IDirectFBVideoProvider/Makefile config.status: creating interfaces/IDirectFBImageProvider/Makefile config.status: creating config.h config.status: executing default-1 commands Build options: Module directory /usr/lib/directfb-0.9.20 Debug mode no Building Image Providers: Imlib2 yes Building Video Providers: AviFile no Flash no OpenQuicktime yes make all-recursive make[1]: Entering directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16' Making all in interfaces make[2]: Entering directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16/interfaces' Making all in IDirectFBImageProvider make[3]: Entering directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16/interfaces/IDirectFBImageProvider' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/include/directfb -DFUSION_FAKE -D_REENTRANT -I/usr/include/directfb-internal -I/usr/include/directfb -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0 -DDATADIR=\"/usr/share/directfb\" -march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -c idirectfbimageprovider_imlib2.c gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT -I/usr/include/directfb -DFUSION_FAKE -D_REENTRANT -I/usr/include/directfb-internal -I/usr/include/directfb -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0 -DDATADIR=\"/usr/share/directfb\" -march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -c idirectfbimageprovider_imlib2.c -fPIC -DPIC -o idirectfbimageprovider_imlib2.lo idirectfbimageprovider_imlib2.c: In function `IDirectFBImageProvider_IMLIB2_RenderTo': idirectfbimageprovider_imlib2.c:266: warning: passing arg 2 of `dfb_scale_linear_32' makes integer from pointer without a cast idirectfbimageprovider_imlib2.c:266: warning: passing arg 4 of `dfb_scale_linear_32' makes pointer from integer without a cast idirectfbimageprovider_imlib2.c:266: warning: passing arg 6 of `dfb_scale_linear_32' makes pointer from integer without a cast idirectfbimageprovider_imlib2.c:266: warning: passing arg 7 of `dfb_scale_linear_32' makes pointer from integer without a cast idirectfbimageprovider_imlib2.c:266: error: too many arguments to function `dfb_scale_linear_32' make[3]: *** [idirectfbimageprovider_imlib2.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16/interfaces/IDirectFBImageProvider' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16/interfaces' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/DirectFB-extra-0.9.16/work/DirectFB-extra-0.9.16' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/DirectFB-extra-0.9.16 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r1) ================================================================= System uname: 2.4.22-gentoo-r1 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl alsa apm arts avi berkdb bonobo canna cdr cjk crypt cups curl dga directfb doc dvb dvd encode fbcon foomaticdb freewnn gdbm ggi gif gphoto2 gstreamer gtk guile imap imlib jack java joystick jpeg kde libg++ lirc mad maildir mbox mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pdflib perl png postgres prelude python qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb vim-with-x wmf x86 xinerama xml xml2 xmms xv zlib linguas_ar linguas_de linguas_en linguas_fr linguas_hu linguas_jp linguas_ro linguas_ru linguas_sp"
added a patch to update to newest directfb api
Anything happening with this? It still happens... Are we waiting for upstream?
no, something happened and the patch was added to cvs but the ebuild wasnt updated ... fixed that so sync up and you should be fine