Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56294 - [ 2.4 ] Directfb 0.9.20 won't build - wants fusion.h in linux headers
Summary: [ 2.4 ] Directfb 0.9.20 won't build - wants fusion.h in linux headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-06 18:21 UTC by Brett I. Holcomb
Modified: 2005-07-04 21:36 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 Brett I. Holcomb 2004-07-06 18:21:23 UTC
I am running development-sources 2.6.7.  I tried to merge Directfb with +fusion and got the message that linux/fusion.h did not exist and I needed the fusion kernel driver to make this work.  Well there isn't one in portage and this ebuild doesn't show one as a dependency.  Looking at bugzilla there are references to similar problems and it's fixed somewhere - at least the bugs are marked fixed.

How do I get this header file and get multiapp DirectFB working?

I upgraded from 2.4 kernel and emerge -s shows that linux-headers-2.4.21-r1 is what is installed.  Do I need to upgrade the headers and if so A) why doesn't portage tell me when I do emerge -uD system or world and B) what will break if I do so?
Comment 1 Brett I. Holcomb 2004-07-08 17:39:54 UTC
I am now running gentoo-dev-sources.  Same problem.  With the +fusion flag DirectFB will not compile.
Comment 2 Brett I. Holcomb 2004-07-08 20:51:09 UTC
Okay.  i fixed it.  First get the fusion modules from CVS.  Then put fusion.h in /usr/include/linux.  Now it will build.  

I submit the ebuild for DirectRB is broken.  Maybe we need DirectRB to depend on an ebuild that installs fusion if +fusion is in the use flags.

Fusion has two ways to install - as a module and as a kernel patch so it's added to the menu.  Recommended is as a module.  Devices also need to be created.
Comment 3 SpanKY gentoo-dev 2004-07-17 23:36:56 UTC
linux-headers install with fusion disabled
Comment 4 Brett I. Holcomb 2004-07-18 08:47:32 UTC
I'm not sure I understand what "linux-headers install with fusion disabled" means.  Does it mean that the headers install with fusion disabled and I have to activate it somehow?  If so how and what do I do?

Comment 5 Quentin Arce 2004-08-27 11:13:27 UTC
Hi,

I just tried patching the kernel and I think the DirectFB people need to fix the patch.  It seems to be out of date. 

SpanKY: is this why the patch isn't in the kernel?

Also, if DirectFB does not work, then  it needs to be masked!!! out of x86 and moved to ~x86

end rant
Comment 6 SpanKY gentoo-dev 2004-08-27 12:48:37 UTC
it means the linux-headers packages, by default, do not include fusion support

as for masking DirectFB, that's stupid ... just dont enable the non-standard fusion support :p
Comment 7 Quentin Arce 2004-08-31 09:50:59 UTC
Yep, your correct... I didn't notice I had this enabled.  Removing it seems to have solved the problem... I also had to re-build my kernel once I was finished for everything to work correctly.
Comment 8 SpanKY gentoo-dev 2004-09-24 23:17:46 UTC
i *could* add a check to handle fusion headers not being installed, but that basically solves nothing

none of our linux-headers packages install fusion.h (afaik, please correct me if i'm wrong), thus the check will always fail
Comment 9 Kevin F. Quinn (RETIRED) gentoo-dev 2005-03-05 13:53:56 UTC
For me, stable DirectFB-0.9.21 won't build because fusion.h isn't present (error below).  ~x86 0.9.22 builds fine, so there seems little point opening a brand new bug - posting here for info.

Making all in savage
make[3]: Entering directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/gfxdrivers/savage'
make[3]: *** No rule to make target `../../src/core/fusion/fusion.h', needed by `savage.lo'.  Stop.
make[3]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/gfxdrivers/savage'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21/gfxdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/DirectFB-0.9.21/work/DirectFB-0.9.21'
make: *** [all-recursive-am] Error 2
Comment 10 Daniel Drake (RETIRED) gentoo-dev 2005-04-13 08:55:25 UTC
Can DirectFB-0.9.22 go stable? According to comment #9, it fixes the issue described in this bug.

For this to happen, looks like you'd need to take care of bug 84348 too. Can't see any other open relevant bugs on DirectFB
Comment 11 SpanKY gentoo-dev 2005-04-14 20:57:39 UTC
fine, 0.9.22 stabilized :P
Comment 12 M. Edward Borasky 2005-07-04 21:36:49 UTC
(In reply to comment #11)
> fine, 0.9.22 stabilized :P

On my system, 0.9.22 also croaks trying to find "fusion.h". If it matters, I'll
post the details, but meanwhile I'm going to turn off the fusion USE flag and
get on with my life. :)