Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

media-video/ffmpeg multiple conflicting dependency problems

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
Qcumber-some
n00b
n00b
Posts: 61
Joined: Sun Jun 10, 2007 11:00 pm

media-video/ffmpeg multiple conflicting dependency problems

  • Quote

Post by Qcumber-some » Sat Aug 02, 2008 4:31 pm

I tried to update, and get the following error:

Code: Select all

!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

media-video/ffmpeg:0

  ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20070616-r20', 'merge') pulled in by
    ('installed', '/', 'media-libs/libquicktime-1.0.2', 'nomerge')

  ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20070616-r3', 'merge') pulled in by
    ('ebuild', '/', 'media-video/vlc-0.8.6i', 'merge')

  ('installed', '/', 'media-video/ffmpeg-0.4.9_p20080326', 'nomerge') pulled in by
    ('ebuild', '/', 'media-video/vlc-0.8.6i', 'merge')
    ('installed', '/', 'media-libs/xine-lib-1.1.13', 'nomerge')
    ('installed', '/', 'media-sound/sox-14.0.1', 'nomerge')
    (and 6 more)


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in the
dependencies of two different packages, then those packages can not be
installed simultaneously.
Currently installed is =media-video/ffmpeg-0.4.9_p20080326 because I updated it. Before that, I had =media-video/ffmpeg-0.4.9_p20070616-r3 installed.

If I now want to update world, it tells me (besides others):

Code: Select all

[ebuild     UD] media-video/ffmpeg-0.4.9_p20070616-r20 [0.4.9_p20080326] USE="X a52 aac amr encode ieee1394 imlib ipv6 mmx network ogg%* oss%* sdl theora threads truetype v4l%* vorbis xvid zlib (-altivec) -debug -doc -test -x264 (-bindist%) (-hardcoded-tables%) (-mp3%*)" 0 kB
[ebuild     UD] media-video/ffmpeg-0.4.9_p20070616-r3 [0.4.9_p20080326] USE="X a52 aac amr encode ieee1394 imlib mmx network ogg%* oss%* sdl theora threads truetype v4l%* vorbis xvid zlib (-altivec) -debug -doc -test -x264 (-bindist%) (-hardcoded-tables%) (-ipv6%*) (-mp3%*)" 0 kB
How can it be that =media-video/vlc-0.8.6i pulls in two dependencies of the same package with different version which conflict each other (single slot...)?
How do I get rid of the problem?

package.keywords lists ~x86 for media-video/ffmpeg, but not for xine-lib, vlc or libquicktime, because some other tool I installed (can't remember right now, but I could check that out if it helps) had a dependency to the higher, masked version of ffmpeg.

Any hints/suggestions?

Edit: Additional: I tried to double-check if vlc *really* needs the two dependencies.
emerge -uNv media-video/vlc reveals:

Code: Select all

!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

media-video/ffmpeg:0

  ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20070616-r3', 'merge') pulled in by
    ('ebuild', '/', 'media-video/vlc-0.8.6i', 'merge')

  ('installed', '/', 'media-video/ffmpeg-0.4.9_p20080326', 'nomerge') pulled in by
    ('ebuild', '/', 'media-video/vlc-0.8.6i', 'merge')
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Sat Aug 02, 2008 11:35 pm

If you want to keep using ffmpeg-0.4.9_p20080326, then you need to add all packages that depend on ffmpeg to package.keywords.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
]grimm[
n00b
n00b
Posts: 44
Joined: Wed Jun 04, 2003 6:23 pm

  • Quote

Post by ]grimm[ » Sun Aug 03, 2008 12:54 pm

yngwin wrote:If you want to keep using ffmpeg-0.4.9_p20080326, then you need to add all packages that depend on ffmpeg to package.keywords.
I'm not sure if I'm missing something, but this doesn't always seem to work. For example, my system is trying to pull in media-plugins/alsa-plugins-1.0.17 (which appears to be the latest version) and the ebuild specifically asks for <media-video/ffmpeg-0.4.9_p20080000. Thus, adding alsa-plugins to package.keywords doesn't seem to help. The only way I seem to be able to bypass this (if I want to keep using ffmpeg-0.4.9_p20080326) is to mask media-plugins/alsa-plugins-1.0.17.
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Sun Aug 03, 2008 1:11 pm

Yes there are a few exceptions. You could also disable the ffmpeg useflag for alsa-plugins.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
tkhobbes
Guru
Guru
User avatar
Posts: 367
Joined: Fri Nov 12, 2004 8:46 am
Location: Switzerland
Contact:
Contact tkhobbes
Website

  • Quote

Post by tkhobbes » Sun Aug 03, 2008 3:13 pm

I am having a similar problem and have tried out various masks - but I don't seem to be able to resolve the issue.....

Here's the output from emerge:

Code: Select all

Calculating world dependencies -
!!! Multiple versions within a single package slot have been
!!! pulled into the dependency graph:

media-video/ffmpeg:0

  ('installed', '/', 'media-video/ffmpeg-0.4.9_p20070616-r20', 'nomerge') pulled in by
    ('installed', '/', 'media-libs/libquicktime-1.0.2', 'nomerge')

  ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20080326', 'merge') pulled in by
    ('installed', '/', 'media-libs/mlt-0.2.4-r2', 'nomerge')
    ('ebuild', '/', 'media-libs/xine-lib-1.1.13', 'merge')
    ('installed', '/', 'media-sound/sox-14.0.1', 'nomerge')
    (and 1 more)
I tried to recompile libquicktime without ffmpeg use flag - another program showed up that seems to require ffmpeg-...-r20.
I also tried to update to the latest ffmpeg - did not help. I already have the latest versions of mlt and sox installed... and I can't mask these latest versions, as some other packages depend from them...

:(
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Sun Aug 03, 2008 5:57 pm

I added the following to /etc/portage/package.mask to allow the update.

Code: Select all

=media-video/ffmpeg-0.4.9_p20080326
=app-cdr/k3b-1.0.5-r2
=media-plugins/gst-plugins-ffmpeg-0.10.4-r1
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Thu Aug 07, 2008 2:25 am

]grimm[ wrote:
yngwin wrote:If you want to keep using ffmpeg-0.4.9_p20080326, then you need to add all packages that depend on ffmpeg to package.keywords.
I'm not sure if I'm missing something, but this doesn't always seem to work. For example, my system is trying to pull in media-plugins/alsa-plugins-1.0.17 (which appears to be the latest version) and the ebuild specifically asks for <media-video/ffmpeg-0.4.9_p20080000. Thus, adding alsa-plugins to package.keywords doesn't seem to help. The only way I seem to be able to bypass this (if I want to keep using ffmpeg-0.4.9_p20080326) is to mask media-plugins/alsa-plugins-1.0.17.
This is now resolved: alsa-plugins-1.0.17-r1 is patched to work with newer ffmpeg.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
tkhobbes
Guru
Guru
User avatar
Posts: 367
Joined: Fri Nov 12, 2004 8:46 am
Location: Switzerland
Contact:
Contact tkhobbes
Website

  • Quote

Post by tkhobbes » Wed Aug 13, 2008 1:47 pm

The error I stated above is still not resolved... and I was not sure what to look for on bugzilla... searching for ffmpeg resulted in a lot of bugs... is there anything I can do about it?
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Top
MAST
n00b
n00b
User avatar
Posts: 74
Joined: Sat Dec 31, 2005 1:54 am
Location: Spain

  • Quote

Post by MAST » Wed Aug 13, 2008 4:26 pm

I run into this problem too and I solved it by adding the following lines on my /etc/portage/package.keywords

Code: Select all

media-libs/libquicktime ~amd64
media-video/transcode ~amd64
app-cdr/k3b ~amd64
Apparently, I had some ebuilds on the unstable branch that were pulling such version of ffmpeg. However, as my system is on the stable branch (I got sick of the unstable branch months ago because of the problems), these ebuilds were pulling that version of ffmpeg. So, since I don't care having these packages on ~amd64 I put them into my package.keywords and the emerge worked like a charm.

Hope it helps...

Cheers!
César ---------- :D ----------------
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Wed Aug 13, 2008 10:18 pm

tkhobbes wrote:The error I stated above is still not resolved... and I was not sure what to look for on bugzilla... searching for ffmpeg resulted in a lot of bugs... is there anything I can do about it?
Add media-libs/libquicktime to your package.keywords.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
tkhobbes
Guru
Guru
User avatar
Posts: 367
Joined: Fri Nov 12, 2004 8:46 am
Location: Switzerland
Contact:
Contact tkhobbes
Website

  • Quote

Post by tkhobbes » Thu Aug 14, 2008 6:55 am

I tried this before, and it did not help, as there was no ~-version of libquicktime....
I solved the problem by getting rid of kdenlive, which was the package that pulled the ~-version of ffmpeg in (ultimately). Not very elegant, but as I did not need kdenlive anyway, it's doable.
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Top
pigeon768
l33t
l33t
Posts: 683
Joined: Mon Jan 02, 2006 1:13 pm

  • Quote

Post by pigeon768 » Thu Aug 14, 2008 2:41 pm

tkhobbes wrote:I tried this before, and it did not help, as there was no ~-version of libquicktime....

Code: Select all

$ grep KEYWORDS /usr/portage/media-libs/libquicktime/*.ebuild
/usr/portage/media-libs/libquicktime/libquicktime-1.0.2.ebuild:KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
/usr/portage/media-libs/libquicktime/libquicktime-1.0.3.ebuild:KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
Top
tkhobbes
Guru
Guru
User avatar
Posts: 367
Joined: Fri Nov 12, 2004 8:46 am
Location: Switzerland
Contact:
Contact tkhobbes
Website

  • Quote

Post by tkhobbes » Thu Aug 14, 2008 3:50 pm

funny enough.... might have been added recently....? Will try once I am back on my gentoo box.
My systems and some screenshots: http://www.hobbes.ch/techie/
My Gentoo client installation page: http://www.hobbes.ch/techie/gentoo-client/
My Gentoo Server installation: http://www.hobbes.ch/category/server
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Thu Aug 14, 2008 10:49 pm

Relevant part of the ChangeLog:
*libquicktime-1.0.3 (15 Jul 2008)

15 Jul 2008; Alexis Ballier <aballier@gentoo.org>
+libquicktime-1.0.3.ebuild:
version bump

*libquicktime-1.0.2_p20080621 (21 Jun 2008)

21 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+libquicktime-1.0.2_p20080621.ebuild:
Bump to snapshot. Fixes 218101 wrt. libquicktime. Please wait for the
correct distfile to propagate.

20 Jun 2008; Alexis Ballier <aballier@gentoo.org>
libquicktime-1.0.2.ebuild:
ffmpeg plugin will not be built if we are usingg too recent ffmpeg, adjust
deps accordingly
So, since almost 2 months (July 21st) there has been an ~arch version (1.0.2_p20080621, and later 1.0.3) available.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic