Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Circular dependency sdl and directfb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Sun Apr 08, 2007 5:53 pm    Post subject: Circular dependency sdl and directfb Reply with quote

Hi
Directfb and sdl are having use flags for each other and enbling them creates a circular dependency.
So if someone wants directfb support in sdl and sdl support in directfb how to do this?

Thnx
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sun Apr 08, 2007 5:58 pm    Post subject: Reply with quote

dare to explain this with an output of emerge -pv <ebuild> 8O
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Sun Apr 08, 2007 6:10 pm    Post subject: Reply with quote

Sry, should have put tat there in the first place here it is
Code:
Gentoo / # emerge -pv DirectFB libsdl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[nomerge      ] dev-libs/DirectFB-0.9.25.1  USE="gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fbcon -fusion -sysfs -v4l -v4l2"
[ebuild  N    ]  media-libs/libsdl-1.2.11  USE="X alsa arts directfb opengl xv -aalib -dga -esd -fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo -oss -svga -xinerama"
[ebuild  N    ]   dev-libs/DirectFB-0.9.25.1  USE="gif jpeg mmx mpeg png sdl sse truetype zlib -debug -fbcon -fusion -sysfs -v4l -v4l2"
!!! Error: circular dependencies:

('ebuild', '/', 'dev-libs/DirectFB-0.9.25.1', 'merge') depends on
   ('ebuild', '/', 'media-libs/libsdl-1.2.11', 'merge') (hard)
('ebuild', '/', 'media-libs/libsdl-1.2.11', 'merge') depends on
   ('ebuild', '/', 'dev-libs/DirectFB-0.9.25.1', 'merge') (hard)

!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sun Apr 08, 2007 6:20 pm    Post subject: Reply with quote

K, difficult to tell 4me, cause i already have emerged both since long.

what gives
Code:

USE="-directfb" emerge -pv libsdl

would that work? emerge.
we will see what happens later on then.
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Sun Apr 08, 2007 6:27 pm    Post subject: Reply with quote

Yea if i disable either dirctfb use flag in sdl
sdl use flsg in directfb then its working.
but the whole point is if the use flags r given then tat means to have support for it it has to be enabled
So if someone wants sdl support in directfb and
directfb support in sdl
then wat to do?
May a bug has to be filed, i am not sure though about it!!
Back to top
View user's profile Send private message
SoylentGreen
l33t
l33t


Joined: 19 Aug 2005
Posts: 904
Location: The Hostel

PostPosted: Sun Apr 08, 2007 6:39 pm    Post subject: Reply with quote

did you have directfb and sdl USEflag in your make.conf in the first place? and if not did you run "emerge -upDv --newuse world" ?
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Sun Apr 08, 2007 7:18 pm    Post subject: Reply with quote

Not in make.conf i enbled the use flags by using package.use
and this a brand new install, still i checked out
emegr -pvuDN world
but nothing needs updating.
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Jul 08, 2007 5:50 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, the same problem is discussed in topic "Problem with emerge -avNDu".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum