Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14456 - stable: directfb-0.9.12 incompatible with libsdl (1.2.4+)
Summary: stable: directfb-0.9.12 incompatible with libsdl (1.2.4+)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thomas Raschbacher
Depends on: 1991 10863
Blocks: 14743
  Show dependency tree
Reported: 2003-01-23 16:03 UTC by John Scott Tillman
Modified: 2003-03-12 02:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Scott Tillman 2003-01-23 16:03:36 UTC
current highest stable version of directfb is 0.9.12
current highest stable version of libstl is 1.2.5-r1

libsdl (all stable versions I checked) use the symbol DSPF_RGB15 defined in 
directfb/directfb.h.  The symbol in this file was changed (see revision 
1.163 comment) to DSPF_ARGB1555.  This change causes all current stable 
versions of libsdl to fail during compilation.

I found this during a fresh (stage1) install of gentoo 1.4-rc2.  Any new 
installs of gentoo using stable only packages and asking for libsdl seem 
destined to encounter this problem.  Using:
     USE="-directfb" emerge sdl
seems to make no difference.

possible solutions:
1)   mark directfb-0.9.12.ebuild as developmental, causing 0.9.11-r1 to be 
installed in stable boxen
2)   update the libsdl sources to use the new DSPF_ARGB1555 symbol
3)   manually select directfb-0.9.11-r1.ebuild

Option #3 works for me.

This ticket may be similar (but is not related) to another libsdl bug:
Comment 1 SpanKY gentoo-dev 2003-01-23 22:39:24 UTC
actually the better solution is to unmask the newer directfb
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-02 17:52:34 UTC
unmasking newer directfb will lead to b0rkages in a lot of places because of the library incompatibilities -- people will need to remerge everything which links to libdirectfb's so
Comment 3 SpanKY gentoo-dev 2003-03-11 11:54:59 UTC
this could just be left until libsdl-1.2.6 comes out ... 
or if you look at the libsdl cvs tree, they've fixed compatibility with directfb ... 
i still suggest we unmask latest directfb ;) 
Comment 4 Thomas Raschbacher gentoo-dev 2003-03-12 02:08:00 UTC
works with DirectFB 0.9.17 & libsdl 1.2.5-r1 here (gcc 3.2.2)
Comment 5 Thomas Raschbacher gentoo-dev 2003-03-12 02:08:18 UTC
closing now