Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365127 - Better error message handling for the case of virtual/ffmpeg
Summary: Better error message handling for the case of virtual/ffmpeg
Status: IN_PROGRESS
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 385547 (view as bug list)
Depends on:
Blocks: 300071 388267
  Show dependency tree
 
Reported: 2011-04-27 19:27 UTC by Petteri Räty (RETIRED)
Modified: 2018-02-02 01:14 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 Petteri Räty (RETIRED) gentoo-dev 2011-04-27 19:27:59 UTC
19:01 < Betelgeuse> Is there a known issue with Portage and virtual/ffmpeg
19:01 < Betelgeuse> I can't get it to accept ffmpeg
19:02 < Betelgeuse> http://dpaste.com/536429/
19:02 < Betelgeuse> the first atom is straight from the virtual
19:02 < Betelgeuse> I can't understand why it wants to pullin libav
19:13 < zmedico> Betelgeuse: that's weird. does it work if you install ffmpeg first and then try the virtual?
19:14 < zmedico> reavertm: haven't seen anything like that before. maybe try rebuilding sqlite
19:15 < reavertm> hmm, will try that
19:17 < few_> Betelgeuse: those = use deps are meaningless on the command line (it shouldn't even accept those)
19:18 < zmedico> Betelgeuse: maybe you have a USE mismatch between ffmpeg and the virtual. I've seen that cause similar problems
19:18 < Betelgeuse> zmedico: I visually checked and it seemed fine
19:18 < few_> Betelgeuse: most likely the use config of the virtual and ffmpeg don't match
19:18 < zmedico> Betelgeuse: you might have package.use settings that you need to sync
19:19 < zmedico> Betelgeuse: see 'encode' flag for example
19:19 < zmedico> it's not synced
19:19 < Betelgeuse> yeah I only checked the positive ones
19:20 < Betelgeuse> Would be good if Portage could figure out a better error message
19:26 < zmedico> yeah, would be nice
19:26 < zmedico> we have support in the slot conflict handler for specialized messages
19:26 < zmedico> we could create a similar handler for blocker messages


pena myfant # emerge -pv '>=media-video/ffmpeg-0.6.90_rc0-r2[X=,encode=,mp3=,sdl=,theora=,threads=,vaapi=,vdpau=,x264=]' virtual/ffmpeg

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

Calculating dependencies... done!
[ebuild  N     ] media-video/libav-0.7_pre20110327  USE="3dnowext alsa bzip2 hardcoded-tables mmx mmxext mp3 network ssse3 theora threads vorbis x264 xvid zlib -3dnow -X (-altivec) -amr -bindist -cpudetection -custom-cflags -debug -dirac -doc -encode -faac -frei0r -gsm -ieee1394 -jack -jpeg2k -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -v4l -v4l2 -vaapi -vdpau -vpx" VIDEO_CARDS="-nvidia" 3,415 kB
[ebuild  N     ] media-video/ffmpeg-0.6.90_rc0-r2  USE="alsa bzip2 encode faac hardcoded-tables mmx mmxext mp3 network ssse3 theora threads truetype vorbis vpx x264 xvid zlib -3dnow -3dnowext -X (-altivec) -amr -avx -bindist -cpudetection -custom-cflags -debug -dirac -doc -frei0r -gsm -ieee1394 -jack -jpeg2k -oss -pic -qt-faststart -rtmp -schroedinger -sdl -speex -static-libs -test -v4l -v4l2 -vaapi -vdpau" VIDEO_CARDS="-nvidia" 4,426 kB                                 
[ebuild  N     ] virtual/ffmpeg-0.6.90  USE="mp3 theora threads x264 -X -encode -sdl -vaapi -vdpau" 0 kB
[blocks B      ] media-video/ffmpeg ("media-video/ffmpeg" is blocking media-video/libav-0.7_pre20110327)

Total: 3 packages (3 new), Size of downloads: 7,840 kB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (media-video/ffmpeg-0.6.90_rc0-r2::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/ffmpeg-0.6.90_rc0-r2[X=,encode=,mp3=,sdl=,theora=,threads=,vaapi=,vdpau=,x264=]

  (media-video/libav-0.7_pre20110327::gentoo, ebuild scheduled for merge) pulled in by
    >=media-video/libav-0.6.90_rc[-X,-encode,mp3,-sdl,theora,threads,-vaapi,-vdpau,x264] required by (virtual/ffmpeg-0.6.90::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 1 Zac Medico gentoo-dev 2012-06-23 19:57:04 UTC
*** Bug 385547 has been marked as a duplicate of this bug. ***