On my system, the DirectFB package would not build properly because libmpeg3 did not exist. However, it was not a dependency as far as portage was concerned. I believe this to be an error in the .ebuild file. If it's helpful, my USE string is: "-3dfx 3dnow -afs alsa -apm -arts avi bonobo crypt cups dga directfb dvd esd fbcon gif gnome gpm gtk imlib -ipv6 jpeg -kde -matrox mmx mozilla mpeg ncurses oggvorbis opengl oss pam -pcmcia -pda png readline samba sdl -snmp -socks5 spell ssl truetype -voodoo3 X xmms And after 'emerge system' and building the kernel, I had just done the following: emerge lynx alsa-driver alsa-utils proftpd bind gnome mozilla nautilus gaim; emerge xmms xine-lib xine-ui (each on separate lines, I'd fix it here, but Lynx's textarea editor doesn't seem to let me move lines, or I don't know how). I believe it failed on 'xine-lib'. It tried to build DirectFB as a dependency, but the DirectFB build failed because it couldn't find libmpeg3. To resolve the problem, I manually executed 'emerge libmpeg3' and retried. It worked that time.
I can't reproduce this problem on my machine. Would you send me the full output of the emerge which caused the problem? eg. emerge DirectFB &>/tmp/emerge-DirectFB.log and emerge xine-lib &>/tmp/emerge-xine-lib.log
I was able to reproduce the bug by doing the following: emerge -C libmpeg3; emerge DirectFB the build fails because libmpeg3 is not found. Note that I have "mpeg" in my USE string. I believe the bug to be the following (taken from the DirectFB .ebuild): There is this block: use mpeg \ && myconf="${myconf} --with-libmpeg3=/usr/include/libmpeg3" \ || myconf="${myconf} --disable-libmpeg3" But there is no corresponding entry in the DEPENDS string. Thus, the problem would not be reproduced unless you also had "mpeg" in your USE string. Adding the following line to the DEPENDS section resolves the problem: mpeg? ( media-libs/libmpeg3 ) It then correctly detects libmpeg3 as a dependency and builds it prior to attempting to build DirectFB. I wouldn't be surprised, however, if the current version of DirectFB only worked with a particular version of libmpeg3, so I can't say that the addition of that line is entirely correct. It might be prudent to research the specific version and use >=media-libs/libmpeg3-VERSION instead. Hope this helps!
I would have attached my proposed patch, but for some reason Bugzilla keeps saying that I haven't attached a file, or it's empty... should be simple to fix, though.
See bug #71 for a attachment work around. i'd still like to se your diff.
Created attachment 634 [details, diff] my proposed patch Nothing major...
I hope I did that correctly... first time using diff to create a patch :)
okay thanks
matt, trade you this for an abiword buf report
You know what, when I upgraded to DirectFB-0.9.9, I added that, so the ebuild has actually been correct for a while. Meanwhile, I have added DirectFB-0.9.10 into portage as well, but it is masked. I don't suppose you'd be willing to test it, would you?