Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] curses of ncurses :(
Date: Thu, 27 Aug 2015 15:34:01
Message-Id: 55DF2DCD.3080105@gmail.com
In Reply to: Re: [gentoo-user] curses of ncurses :( by gevisz
1 On 27/08/2015 17:25, gevisz wrote:
2 > 2015-08-27 17:52 GMT+03:00 Marc Joliet <marcec@×××.de>:
3 >> Am Thu, 27 Aug 2015 17:34:24 +0300
4 >> schrieb gevisz <gevisz@×××××.com>:
5 >>
6 >>> I do not understand:
7 >>> 1) why portage wants to upgrade ncurses-5.9-r3 to ncurses-5.9-r101
8 >>> (because it is marked),
9 >>> 2) why it can not,
10 >>> 3) what to do with this block.
11 >>>
12 >>> $ eix ncurses
13 >>>
14 >>> [I] sys-libs/ncurses
15 >>> Available versions:
16 >>> (0) 5.9-r3 ~5.9-r4 ~6.0(0/6)
17 >>> (5) ~5.9-r101(5/5)
18 >>> {ada +cxx debug doc gpm minimal profile static-libs test
19 >>> threads tinfo trace unicode ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
20 >>> ABI_S390="32 64" ABI_X86="32 64 x32"}
21 >>> Installed versions: 5.9-r3(10:48:01 PM 03/29/2015)(cxx gpm
22 >>> unicode -ada -debug -doc -minimal -profile -static-libs -tinfo -trace
23 >>> ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64"
24 >>> ABI_X86="32 64 -x32")
25 >>> Homepage: https://www.gnu.org/software/ncurses/
26 >>> http://dickey.his.com/ncurses/
27 >>> Description: console display library
28 >>>
29 >>> # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask world
30 >>>
31 >>> These are the packages that would be merged, in order:
32 >>>
33 >>> Calculating dependencies... done!
34 >>> [ebuild U ] dev-util/diffstat-1.60 [1.58]
35 >>> [ebuild U ] dev-libs/libnl-3.2.26 [3.2.25]
36 >>> [ebuild U ] dev-libs/openssl-1.0.2d [1.0.1p] USE="asm%* -sctp%"
37 >>> [ebuild NS ~] sys-libs/ncurses-5.9-r101 [5.9-r3] USE="gpm unicode
38 >>> -tinfo" ABI_X86="32 (64) (-x32)"
39 >>> [ebuild U ] www-client/firefox-38.2.0 [38.1.1]
40 >>> [blocks B ] <sys-libs/ncurses-6:0 ("<sys-libs/ncurses-6:0" is
41 >>> blocking sys-libs/ncurses-5.9-r101)
42 >>>
43 >>> * Error: The above package list contains packages which cannot be
44 >>> * installed at the same time on the same system.
45 >>>
46 >>> (sys-libs/ncurses-5.9-r101:5/5::gentoo, ebuild scheduled for merge)
47 >>> pulled in by
48 >>> >=sys-libs/ncurses-5.7-r7[unicode?]
49 >>> (>=sys-libs/ncurses-5.7-r7[unicode]) required by
50 >>> (sys-process/procps-3.3.9-r2:0/0::gentoo, installed)
51 >>> >=sys-libs/ncurses-5.2-r2 required by
52 >>> (app-editors/vim-7.4.273:0/0::gentoo, installed)
53 >>> >=sys-libs/ncurses-5.2-r2 required by
54 >>> (app-editors/gvim-7.4.273:0/0::gentoo, installed)
55 >>> >=sys-libs/ncurses-5.1 required by
56 >>> (app-shells/zsh-5.0.5:0/0::gentoo, installed)
57 >>> sys-libs/ncurses required by
58 >>> (dev-lang/ruby-1.9.3_p551-r1:1.9/1.9::gentoo, installed)
59 >>> >=sys-libs/ncurses-5.2 required by (sys-apps/less-478:0/0::gentoo,
60 >>> installed)
61
62
63 ...
64
65
66 > P.S. I have too much "required by" lines. So, if the portage will not
67 > resolve this issue automatically, I will stop to update my system at all.
68
69
70 I don't think that's the right attitude, portage really only needs to
71 tell you the first one.
72
73 What is happening is two SLOTs of the same package want to be updated,
74 but the specific versions block each other (this is definitely a bug of
75 some kind as the whole point of SLOTs is you *can* have both)
76
77 So portage is telling you that it can't do what it wants to do with
78 ncurses as there is a blocker. It needs to update ncurses because procps
79 wants it. And so does Vim. And gvim, zsh, ruby and more. Why so many?
80 Because ncurses is a very basic piece of code and lots of things use it,
81 and portage blindly printed all of them
82
83 You only have one error. The 50 or more Required lines are total noise
84 at this point and distract you from seeing things in the proper light.
85 Portage is well known for often giving really sucky output, this is such
86 a time.
87
88 Fix the real error, and all that junk on the screen goes away. No reason
89 to stop updating.
90
91
92 >
93 > P.P.S. This "blocking" issue was a fun only during the first two years with
94 > Gentoo. Now, it becomes more and more annoying...
95 >
96 >> The funny thing is that the day before, on another computer, portage resolved
97 >> the blocker automatically by re-emerging llvm and octave (slot-operator ("rR")
98 >> type re-emerge).
99 >>
100 >> HTH
101 >> --
102 >> Marc Joliet
103 >> --
104 >> "People who think they know everything really annoy those of us who know we
105 >> don't" - Bjarne Stroustrup
106 >
107
108
109 --
110 Alan McKinnon
111 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] curses of ncurses :( "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] curses of ncurses :( Neil Bothwick <neil@××××××××××.uk>