Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195018 - dev-libs/DirectFB-1.0.0 doesn't compile with USE flag "fusion"
Summary: dev-libs/DirectFB-1.0.0 doesn't compile with USE flag "fusion"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 18:47 UTC by BedOS_Gui
Modified: 2007-10-22 22:10 UTC (History)
0 users

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


Attachments
emerge log (dev-libs:DirectFB-1.0.0:20071007-184311.log,58.34 KB, text/plain)
2007-10-07 18:49 UTC, BedOS_Gui
Details
emerge --info (emerge--info,9.21 KB, text/plain)
2007-10-07 18:51 UTC, BedOS_Gui
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BedOS_Gui 2007-10-07 18:47:50 UTC
When emerging DirectFB with the USE flag "fusion", this compilation error happens :
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT pool.lo -MD -MP -MF .deps/pool.Tpo -c pool.c  -fPIC -DPIC -o .libs/pool.o
In file included from ../../../lib/fusion/shmalloc.h:39,
                 from pool.c:39:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 3!
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT heap.lo -MD -MP -MF .deps/heap.Tpo -c heap.c  -fPIC -DPIC -o .libs/heap.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib -I../../../include -I../../../lib -DDATADIR=\"/usr/share/directfb-1.0.0\" -DMODULEDIR=\"/usr/lib64/directfb-1.0-0\" -D_REENTRANT -march=native -mtune=native -O2 -pipe -msse3 -fomit-frame-pointer -fstack-protector -D_GNU_SOURCE -Werror-implicit-function-declaration -MT shm.lo -MD -MP -MF .deps/shm.Tpo -c shm.c  -fPIC -DPIC -o .libs/shm.o
make[4]: *** [pool.lo] Erreur 1
make[4]: *** Attente des tâches non terminées....
In file included from ../../../lib/fusion/conf.h:33,
                 from shm.c:44:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 3!
In file included from ../../../lib/fusion/conf.h:33,
                 from heap.c:68:
../../../lib/fusion/types.h:39:2: error: #error Need major API version 3!
make[4]: *** [shm.lo] Erreur 1
make[4]: *** [heap.lo] Erreur 1
make[4]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib/fusion/shm »
make[3]: *** [all-recursive] Erreur 1
make[3]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib/fusion »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0/lib »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/dev-libs/DirectFB-1.0.0/work/DirectFB-1.0.0 »
make: *** [all] Erreur 2

Perhaps due to GCC upgrade to version 4.2.1. or binutils upgrade to version 2.18.50.0.2

Reproducible: Always
Comment 1 BedOS_Gui 2007-10-07 18:49:43 UTC
Created attachment 132851 [details]
emerge log
Comment 2 BedOS_Gui 2007-10-07 18:51:36 UTC
Created attachment 132853 [details]
emerge --info
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-18 21:37:25 UTC
That doesn't have anything to do with your toolchain. You need to install linux-fusion 3.x for DirectFB 1.0, and linux-fusion 7.x for DirectFB 1.1 (which isn't yet in the tree).
Comment 4 BedOS_Gui 2007-10-22 22:10:35 UTC
(In reply to comment #3)
> That doesn't have anything to do with your toolchain. You need to install
> linux-fusion 3.x for DirectFB 1.0, and linux-fusion 7.x for DirectFB 1.1 (which
> isn't yet in the tree).
> 
Many thanks for your explanation Donnie, I have masked linux-fusion-7.0.1 waiting for DirectFB-1.1 coming in the portage tree.
You can close this bug.