Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: What is the correct version of ncurses on ~amd64 now?
Date: Tue, 01 Sep 2015 03:25:14
Message-Id: BLU436-SMTP3853C00E18E4C91F9EE4ED8D6A0@phx.gbl
In Reply to: Re: [gentoo-user] Re: What is the correct version of ncurses on ~amd64 now? by Fernando Rodriguez
1 On Monday, August 31, 2015 10:55:36 PM Fernando Rodriguez wrote:
2 > On Monday, August 31, 2015 7:20:29 PM walt wrote:
3 > > On Mon, 31 Aug 2015 20:33:42 -0400
4 > > Fernando Rodriguez <frodriguez.developer@×××××××.com> wrote:
5 > >
6 > > > On Tuesday, September 01, 2015 12:13:25 AM Alan McKinnon wrote:
7 > > > > On 31/08/2015 23:13, walt wrote:
8 > > > > > I ask this strange question because this (badly broken) machine
9 > > > > > once again flipped between 6.0 and 6.0-r1 after rsyncing this
10 > > > > > morning.
11 > > > > >
12 > > > > > First, it emerged 6.0, which turned out to be almost catastrophic
13 > > > > > because the qmerge phase of the emerge failed (although it claimed
14 > > > > > success afterwards) and deleted the entire /usr/share/terminfo
15 > > > > > subdirectory. That was fun, but I won't bore you with the
16 > > > > > details. (The ncurses-6.0 files in /lib64 are dated August 28,
17 > > > > > BTW.)
18 > > > > >
19 > > > > > Right now emerge tries to install ncurses-6.0-r1 but the 32-bit
20 > > > > > part of the build fails because emerge never ran make in the
21 > > > > > work/cross/progs directory, and so the 32-bit tools didn't get
22 > > > > > compiled.
23 > > > > >
24 > > > > > I hacked around this by running make in that directory manually,
25 > > > > > which allowed the ebuild install and ebuild package phases to
26 > > > > > succeed.
27 > > > > >
28 > > > > > Now I have an ncurses-6.0-r1 binary package available but I'm too
29 > > > > > scared to install it because I might need to kill myself
30 > > > > > afterwards :/
31 > > > > >
32 > > > > > Any suggestions before I take the plunge? Is ncurses-6.0-r1 the
33 > > > > > right version as of today, Aug 31?
34 > > > > >
35 > > > > > Thanks.
36 > > > > >
37 > > > > >
38 > > > > >
39 > > > >
40 > > > >
41 > > > >
42 > > > > This machine was entirely unaffected by all the recent ncurses
43 > > > > issues:
44 > > > >
45 > > > > [I] sys-libs/ncurses
46 > > > > Available versions:
47 > > > > (0) 5.9-r3 (~)5.9-r4 5.9-r5(0/5) (~)6.0-r1(0/6)
48 > > > > (5) 5.9-r99(5/5) (~)5.9-r101(5/5) (~)6.0(5/6)
49 > > > > {ada +cxx debug doc gpm minimal profile static-libs test
50 > > > > threads tinfo trace unicode ABI_MIPS="n32 n64 o32" ABI_PPC="32 64"
51 > > > > ABI_S390="32 64" ABI_X86="32 64 x32"}
52 > > > > Installed versions: 6.0-r1(12:52:29 30/08/2015)(cxx gpm
53 > > > > threads unicode -ada -debug -doc -minimal -profile -static-libs
54 > > > > -test -tinfo -trace ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
55 > > > > ABI_S390="-32 -64" ABI_X86="32 64 -x32")
56 > > > > Homepage: https://www.gnu.org/software/ncurses/
57 > > > > http://dickey.his.com/ncurses/
58 > > > > Description: console display library
59 > > > >
60 > > > > So 6.0-r1 works completely relaible on at least one Gentoo machine
61 > > > > in this world :-)
62 > > >
63 > > > Hmm, I keyworded ncurses and this is what portage wants to do:
64 > > >
65 > > > [ebuild r U ~] sys-libs/ncurses-6.0-r1:0/6::gentoo
66 > > > [5.9-r5:0/5::fernan] USE="cxx doc gpm tinfo unicode -ada -debug
67 > > > -minimal -profile -static-libs {- test%} -threads% -trace"
68 > > > ABI_X86="32 (64) -x32" 3,059 KiB [ebuild U ~]
69 > > > sys-libs/ncurses-5.9-r101:5::gentoo [5.9-r99:5::gentoo] USE="gpm
70 > > > tinfo unicode (-ada%) (-cxx%*) (-static-libs%)" ABI_X86="32 (64) -
71 > > > x32" 0 KiB [ebuild rR ~] sys-devel/gdb-7.10::gentoo USE="client
72 > > > expat python server zlib -lzma -multitarget -nls {-test} -vanilla"
73 > > > PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4"
74 > > > PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB [ebuild rR
75 > > > ] app-misc/screen-4.3.1::gentoo USE="pam -debug -multiuser - nethack
76 > > > -selinux" 0 KiB [ebuild rR ] app-emulation/wine-1.6.2::gentoo
77 > > > USE="X alsa cups custom- cflags fontconfig gecko jpeg lcms ldap mp3
78 > > > ncurses openal opengl perl png prelink pulseaudio run-exes samba ssl
79 > > > threads truetype udisks v4l xcomposite xinerama xml -capi -dos
80 > > > -gphoto2 -gsm -gstreamer -mono -nls -odbc -opencl - osmesa -oss
81 > > > -realtime -scanner -selinux {-test}" ABI_X86="32 64 -x32"
82 > > > LINGUAS="-ar -bg -ca -cs -da -de -el -en -en_US -eo -es -fa -fi -fr
83 > > > -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR
84 > > > -pt_PT -rm -ro -ru -sk - sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th
85 > > > -tr -uk -wa -zh_CN -zh_TW" 0 KiB
86 > > >
87 > > >
88 > > > That looks dangerous to me because the first build will upgrade my
89 > > > 5.9 installation to 6.0 and the second will reinstall 5.9.
90 > >
91 > > That's exactly what happened to me last week and it was a disaster.
92 > > Don't allow that to happen. After hours of frustration I finally
93 > > got 6.0-r1 installed and everything Just Works again, but 6.0 was
94 > > another disaster. Do whatever you need to do to avoid 6.0.
95 > >
96 > > > So what happens in between when I have no 5.9 installed but
97 > > > everything is linked against it? Won't it need bash to build the
98 > > > second one? What if the 2nd build fails? Will stuff linked against
99 > > > 5.9 work with 6.0?
100 > >
101 > > No, but packages linked against 5.9 will continue to work if portage
102 > > doesn't delete the files from 5.9 (@preserved-rebuild, etc)
103 >
104 > Of course, stupid me isn't thinking right :)
105 > I'm paranoid of this package because it made my system unbootable at one
106 point
107 > after removing the tinfo flag and libtinfo didn't get preserved but I think
108 > that was because it was a rebuild. I just installed the -r101 version first.
109
110 Actually I did do that but I stopped it before the merge phase to check what
111 it was installing (because I patch the ebuild so it installs tinfo along with
112 a full ncurses), when I let it go through to install phase it detects
113 collisions with the old version. I guess that's the slot move issue that was
114 mentioned on the other thread. So I'll let portage do what it wants and we'll
115 see what happens. I did the quickpkg in case it blows up.
116
117 --
118 Fernando Rodriguez