Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127228

Summary: x11-libs/ecore emerge failure due to old DirectFB
Product: Gentoo Linux Reporter: Matt <mnkkrc>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt 2006-03-22 13:26:30 UTC
Emerging x11-libs/ecore version 9999 fails when DirectFB version 0.9.20-r1 is installed, but emerges successfully when DirectFB version 0.9.22 is installed.  With version 0.9.20-r1, the first portion of the error message displayed is:

#############begin##########################3

In file included from ecore_directfb.c:4:
ecore_directfb_keys.h:145: error: `DIKS_CURSOR_LEFT_UP' undeclared here (not in a function)
ecore_directfb_keys.h:145: error: initializer element is not constant
ecore_directfb_keys.h:145: error: (near initialization for `_ecore_directfb_key_ symbols[119].id')
ecore_directfb_keys.h:145: error: initializer element is not constant
ecore_directfb_keys.h:145: error: (near initialization for `_ecore_directfb_key_ symbols[119]')
ecore_directfb_keys.h:146: error: `DIKS_CURSOR_LEFT_DOWN' undeclared here (not i n a function)
ecore_directfb_keys.h:146: error: initializer element is not constant
ecore_directfb_keys.h:146: error: (near initialization for `_ecore_directfb_key_ symbols[120].id')
ecore_directfb_keys.h:146: error: initializer element is not constant
ecore_directfb_keys.h:146: error: (near initialization for `_ecore_directfb_key_ 
....

##############end#######################

By upgrading DirectFB, the file directfb_keyboard.h now defines the symbol DIKS_CURSOR_LEFT_UP, etc and fixes the problems caused.  

--matt
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-22 13:33:50 UTC
ecore doesn't depend on DirectFB. Anyway, you are not supposed to mix stable and live cvs ebuilds.