Gentoo Archives: gentoo-user

From: Daniel Campbell <lists@××××××××.us>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0]
Date: Sat, 02 Nov 2013 15:29:59
Message-Id: 52751A63.3090003@sporkbox.us
In Reply to: Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0] by Alan McKinnon
1 On 11/02/2013 06:07 AM, Alan McKinnon wrote:
2 > On 02/11/2013 12:49, Daniel Campbell wrote:
3 >> On 10/27/2013 12:08 PM, Alexander Kapshuk wrote:
4 >>> As I ran 'emerge --ask --update --deep --with-bdeps=y --newuse world', I
5 >>> got the message below.
6 >>>
7 >>> These are the packages that would be merged, in order:
8 >>>
9 >>> Calculating dependencies... done!
10 >>> [ebuild N ] dev-scheme/guile-1.8.8-r1 USE="deprecated nls regex
11 >>> threads -debug -debug-freelist -debug-malloc -discouraged -emacs
12 >>> -networking"
13 >>> [ebuild N ] sys-devel/autogen-5.15
14 >>> [ebuild U ~] net-libs/gnutls-3.2.5 [2.12.23-r1] USE="-dane%"
15 >>> LINGUAS="-cs% -de% -en% -fi% -fr% -it% -ms% -nl% -pl% -sv% -uk% -vi%
16 >>> -zh_CN%"
17 >>> [ebuild N ] media-libs/libpostproc-0.8.0.20121125 USE="-3dnow
18 >>> (-altivec) -mmx -mmxext -pic -static-libs"
19 >>> [ebuild U ~] media-video/vlc-2.1.0 [2.0.9] USE="-chromaprint% -fdk%
20 >>> -opencv% (-qt5) -rdp% {-test%} -vdpau%"
21 >>> [blocks B ] <media-video/ffmpeg-1.2:0 ("<media-video/ffmpeg-1.2:0"
22 >>> is blocking media-video/vlc-2.1.0)
23 >>> [blocks B ] media-video/ffmpeg:0 ("media-video/ffmpeg:0" is
24 >>> blocking media-libs/libpostproc-0.8.0.20121125)
25 >>> [blocks B ] media-libs/libpostproc ("media-libs/libpostproc" is
26 >>> blocking media-video/ffmpeg-1.0.7)
27 >>>
28 >>> !!! Multiple package instances within a single package slot have been pulled
29 >>> !!! into the dependency graph, resulting in a slot conflict:
30 >>>
31 >>> net-libs/gnutls:0
32 >>>
33 >>> (net-libs/gnutls-3.2.5::gentoo, ebuild scheduled for merge) pulled in by
34 >>> >=net-libs/gnutls-3.0.20:0 required by
35 >>> (media-video/vlc-2.1.0::gentoo, ebuild scheduled for merge)
36 >>>
37 >>> (net-libs/gnutls-2.12.23-r1::gentoo, installed) pulled in by
38 >>> (no parents that aren't satisfied by other packages in this slot)
39 >>>
40 >>>
41 >>> It may be possible to solve this problem by using package.mask to
42 >>> prevent one of those packages from being selected. However, it is also
43 >>> possible that conflicting dependencies exist such that they are
44 >>> impossible to satisfy simultaneously. If such a conflict exists in
45 >>> the dependencies of two different packages, then those packages can
46 >>> not be installed simultaneously. You may want to try a larger value of
47 >>> the --backtrack option, such as --backtrack=30, in order to see if
48 >>> that will solve this conflict automatically.
49 >>>
50 >>> For more information, see MASKED PACKAGES section in the emerge man
51 >>> page or refer to the Gentoo Handbook.
52 >>>
53 >>>
54 >>> * Error: The above package list contains packages which cannot be
55 >>> * installed at the same time on the same system.
56 >>>
57 >>> (media-video/vlc-2.1.0::gentoo, ebuild scheduled for merge) pulled in by
58 >>> media-video/vlc required by @selected
59 >>>
60 >>> (media-video/ffmpeg-1.0.7::gentoo, installed) pulled in by
61 >>>
62 >>>> =media-video/ffmpeg-0.10.3:0[X?,encode?,gsm?,jpeg2k?,mp3?,sdl?,speex?,theora?,threads?,truetype?,vaapi?,vdpau?,x264?]
63 >>> (>=media-video/ffmpeg-0.10.3:0[X,encode,mp3,sdl,truetype,x264]) required
64 >>> by (virtual/ffmpeg-0.10.3::gentoo, installed)
65 >>>
66 >>>
67 >>> For more information about Blocked Packages, please refer to the following
68 >>> section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
69 >>>
70 >>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
71 >>>
72 >>>
73 >>> The following keyword changes are necessary to proceed:
74 >>> (see "package.accept_keywords" in the portage(5) man page for more details)
75 >>> # required by media-video/vlc-2.1.0[gnutls]
76 >>> # required by @selected
77 >>> # required by @world (argument)
78 >>> =net-libs/gnutls-3.2.5 ~x86
79 >>>
80 >>> Use --autounmask-write to write changes to config files (honoring
81 >>> CONFIG_PROTECT). Carefully examine the list of proposed changes,
82 >>> paying special attention to mask or keyword changes that may expose
83 >>> experimental or unstable packages.
84 >>> ----------------------------------------------
85 >>> After reading the 'Blocked Packages' found here,
86 >>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked,
87 >>> would updating media-video/ffmpeg to version 1.2 [the current version of
88 >>> ffmpeg is 1.0.7], fix the blockage?
89 >>>
90 >>> Any input would be much appreciated.
91 >>>
92 >>>
93 >>
94 >> It looks like you just need to add `net-libs/gnutls` to
95 >> /etc/portage/package.accept_keywords, which will fetch the testing
96 >> version of gnutls. Is your version of vlc also from testing? That may be
97 >> why emerge is complaining. I also noticed a lot of -USE% flags, which
98 >> tells me they were removed. Did you change USE flags at the same time
99 >> you attempted this update? There's no problem with that, of course, but
100 >> it can complicate upgrades sometimes. :)
101 >>
102 >> Hope that helps.
103 >>
104 >
105 >
106 > The basic problem is a stable system with a bunch of unstable packages
107 > installed.
108 >
109 > The requested vlc version is ~arch, which wants a ~arch version of
110 > gnutls. This conflicts with other stable packages that want a stable
111 > version of gnutls.
112 >
113 > Mixing and matching arch and ~arch like this often causes unsolveable
114 > problems, especially with basic libs like gnutls used by lots of
115 > packages. In this specific case, I doubt very much that the problem is
116 > solveable. Either make the entire system ~arch or downgrade vlc to
117 > stable. Mixing is not recommended, not that it won't work (it often
118 > does), but because users so often run into these problems and devs
119 > usually will not help fix it. The user is thus totally on tehir own with
120 > this one.
121 >
122 >
123
124 Ah, I wasn't aware that it wasn't a supported thing. Good points; the
125 testing necessary to support mixed systems is more than any dev team
126 could handle realistically. I mix and match, but only for a select few
127 packages that simply don't have a stable version.
128
129 Alex: In order to get ~arch vlc, you had to put vlc in your
130 package.accept_keywords file. Try removing that to go back to the stable
131 build and see if that corrects things. If not, then I agree with Alan
132 and you should probably make the big decision of stable or testing.

Replies

Subject Author
Re: [gentoo-user] re: resolving blocked packages [media-video/ffmpeg-1.2:0] Alexander Kapshuk <alexander.kapshuk@×××××.com>