Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140125 - x11-libs/cairo-1.2.0 merge fails on cairo-directfb-surface.c
Summary: x11-libs/cairo-1.2.0 merge fails on cairo-directfb-surface.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 08:13 UTC by Fred Frigerio
Modified: 2006-08-03 19:36 UTC (History)
1 user (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 Fred Frigerio 2006-07-12 08:13:49 UTC
I --oneshot emerged FBdirect libraries to see if it did any difference but no.

Here are the errors:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/include/libpng12 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/directfb -I/usr/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -march=k8 -pipe -O2 -finline-limit=1200 -MT cairo-directfb-surface.lo -MD -MP -MF .deps/cairo-directfb-surface.Tpo -c cairo-directfb-surface.c  -fPIC -DPIC -o .libs/cairo-directfb-surface.o
In file included from /usr/include/directfb/direct/debug.h:38,
                 from cairo-directfb-surface.c:45:
/usr/include/directfb/direct/system.h:33: warning: function declaration isn't a prototype
/usr/include/directfb/direct/system.h:34: warning: function declaration isn't a prototype
In file included from cairo-directfb-surface.c:46:
/usr/include/directfb/direct/memcpy.h:35: warning: function declaration isn't a prototype
/usr/include/directfb/direct/memcpy.h:36: warning: function declaration isn't a prototype
cairo-directfb-surface.c: In function `cairo_directfb_surface_backend_init':
cairo-directfb-surface.c:1607: error: `DFBGraphicsDeviceDescription' undeclared (first use in this function)
cairo-directfb-surface.c:1607: error: (Each undeclared identifier is reported only once
cairo-directfb-surface.c:1607: error: for each function it appears in.)
cairo-directfb-surface.c:1607: error: syntax error before "dsc"
cairo-directfb-surface.c:1613: error: structure has no member named `GetDeviceDescription'
cairo-directfb-surface.c:1613: error: `dsc' undeclared (first use in this function)
make[3]: *** [cairo-directfb-surface.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/cairo-1.2.0/work/cairo-1.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/cairo-1.2.0/work/cairo-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.2.0/work/cairo-1.2.0'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-1.2.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  cairo-1.2.0.ebuild, line 49:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Matthew Swaringen 2006-07-12 15:57:08 UTC
The cairo ebuild needs to check for DirectFB version is the problem, I added DirectFB to my package keywords with ~amd64 and with the newest DirectFB the directfb use flag works fine.

I didn't test with every possible version or I'd be more specific, I do know the latest works and the prior version (0.24.1 or something? )  didn't work.

Either way I had the exact same error so that should get you running.
Comment 2 Matthew Swaringen 2006-07-12 16:11:05 UTC
Apologies, the version I was using was 0.9.22 but anyway, the latest 0.9.25.1 works fine and it is what you will get if you add to your keywords.  Of course, getting that means I am having to recompile mplayer, etc. and I will report back if any of those don't work due to the change.
Comment 3 Fred Frigerio 2006-07-15 09:04:49 UTC
You are right, and 0.9.24 is good to go too.

Thanks for your help.
Comment 4 Tres 'RiverRat' Melton 2006-07-19 06:17:29 UTC
Yep, it appears that x11-libs/cairo-1.2.0 requires >=dev-libs/DirectFB-0.9.24 if the directfb USE flag is enabled for cairo.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2006-08-03 19:36:25 UTC
fixed in 1.2.0-r1