Summary: | sys-apps/portage-2.1.7.4: unable to update mplayer (backtracking issue) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Seblu <gentoo> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | fix backtracking display (from bug #291142) |
Description
Seblu
2009-11-06 00:18:53 UTC
Created attachment 209389 [details, diff] fix backtracking display (from bug #291142) If this patch is saved as /tmp/backtrack_display.patch, then it can be applied as follows: patch /usr/lib/portage/pym/_emerge/depgraph.py Please apply this patch, try the same update command again, and post the output. If the output is no different, then please post --debug output. (In reply to comment #1) > patch /usr/lib/portage/pym/_emerge/depgraph.py I mean: patch /usr/lib/portage/pym/_emerge/depgraph.py /tmp/backtrack_display.patch This should be fixed in 2.1.7.4 and 2.2_rc49 (if it's the same as bug 291142). Please reopen if not. problem is the same with 2.1.7.4 # emerge -ua mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/x264-0.0.20091021 [0.0.20090908] USE="pic%*" [ebuild U ] media-video/mplayer-1.0_rc4_p20091026-r1 [1.0_rc2_p20090731] USE="toolame%* twolame%* -bs2b% -nut% -opencore-amr%" Would you like to merge these packages? [Yes/No] ^C # emerge --ask --verbose --deep --with-bdeps=y --newuse --jobs 3 --update world... These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/libsdl-1.2.14 USE="X alsa audio dga libcaca opengl svga video xv -aalib -custom-cflags -directfb -fbcon -ggi -joystick -nas -oss -ps3% -pulseaudio -xinerama" 0 kB [ebuild U ] sys-libs/glibc-2.11 [2.10.1] USE="nls -debug -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 81 kB Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 81 kB !!! One or more updates have been skipped due to a dependency conflict: media-libs/x264:0 ('ebuild', '/', 'media-libs/x264-0.0.20091021', 'merge') conflicts with <media-libs/x264-0.0.20090923 required by ('installed', '/', 'media-video/ffmpeg-0.5_p19928', 'nomerge') !!! The following update(s) have been skipped due to unsatisfied dependencies !!! triggered by backtracking: media-video/mplayer:0 Would you like to merge these packages? [Yes/No] do you want i try your patch with 2.1.7.4 ? (In reply to comment #4) > !!! One or more updates have been skipped due to a dependency conflict: > > media-libs/x264:0 > > ('ebuild', '/', 'media-libs/x264-0.0.20091021', 'merge') conflicts with > <media-libs/x264-0.0.20090923 required by ('installed', '/', > 'media-video/ffmpeg-0.5_p19928', 'nomerge') The above output is the "fix". It's supposed to be a hint that you need to unmask a newer version of ffmpeg in order for the x264 and mplayer updates to proceed. It's normal to only see this message when you use --deep or --complete-graph, since otherwise, not all dependencies are accounted for. Thanks for explanation! After an update of mplayer and libx256, with --deep i have the same answer. (No deletion) # emerge --ask --verbose --deep --with-bdeps=y --newuse --update mplayer These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB Nothing to merge; would you like to auto-clean packages? [Yes/No] ^C and when the world, it wants i delete these two packets. emerge --ask --verbose --deep --with-bdeps=y --newuse --jobs 3 --update world... These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD] media-libs/x264-0.0.20090908 [0.0.20091021] USE="threads -debug (-pic%*)" 0 kB [ebuild UD] media-video/mplayer-1.0_rc2_p20090731 [1.0_rc4_p20091026-r1] USE="X a52 aac alsa ass cddb cdio cdparanoia dga dirac dts dv dvd dvdnav enca encode faac faad ftp gif iconv jpeg libcaca live lzo mad mmx mmxext mng mp2%* mp3 network opengl osdmenu png quicktime rar real rtc samba schroedinger sdl shm speex sse sse2 ssse3 svga teletext theora tremor truetype unicode vdpau vidix vorbis win32codecs x264 xscreensaver xv xvid xvmc zoran -3dnow -3dnowext -aalib (-altivec) -bidi -bindist -bl -cpudetection -custom-cflags% -custom-cpuopts -debug -directfb -doc -dvb -dxr3 -esd -fbcon -ggi -gmplayer -ipv6 -jack -joystick -ladspa -lirc -md5sum -nas -openal -oss -pnm -pulseaudio -pvr -radio -tga -v4l -v4l2 -xanim -xinerama (-bs2b%) (-nut%) (-opencore-amr%) (-toolame%*) (-twolame%*)" VIDEO_CARDS="nvidia -mga -s3virge -tdfx -vesa%" 0 kB Total: 2 packages (2 downgrades), Size of downloads: 0 kB !!! One or more updates have been skipped due to a dependency conflict: media-libs/x264:0 ('ebuild', '/', 'media-libs/x264-0.0.20091021', 'merge') conflicts with <media-libs/x264-0.0.20090923 required by ('installed', '/', 'media-video/ffmpeg-0.5_p19928', 'nomerge') !!! The following update(s) have been skipped due to unsatisfied dependencies !!! triggered by backtracking: media-video/mplayer:0 Would you like to merge these packages? [Yes/No] ^C i understanrd your explanation but why with --deep, emerge don't check that update of x264 broke a dependencency? (In reply to comment #7) > i understanrd your explanation but why with --deep, emerge don't check that > update of x264 broke a dependencency? It's a performance optimization. It would be a waste of time to have it enabled for every little dependency calculation, so if you want to account for all dependencies, you have to use --deep or --complete-graph. The --deep option alone is often close enough, but not always. When --deep is used together with world, it is equivalent to --complete-graph. ok it's perfectly clear for me. Thanks you! *** This bug has been marked as a duplicate of bug 291142 *** |