Gentoo Archives: gentoo-user

From: james <garftd@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Problem understanding "eix"
Date: Wed, 22 Apr 2020 16:15:24
Message-Id: 2c6906ca-4dd9-3a59-458e-4aceb79f2596@verizon.net
In Reply to: [gentoo-user] Re: Problem understanding "eix" by Dr Rainer Woitok
1 On 4/22/20 6:41 AM, Dr Rainer Woitok wrote:
2 > Martin,
3 >
4 > On Tuesday, 2020-04-21 18:02:37 -0000, you wrote:
5 >
6 >> ...
7 >> DEFAULT_ARCH is normally not used, because it should be set in
8 >> the profile. Does
9 >> eix --print ARCH
10 >> also show amd64?
11 >
12 > BINGO! No, it doesn't:
13 >
14 > $ eix --print ARCH
15 > x86_64
16 > $
17 >
18 > And that rings a bell: for historical reasons my "~/.profile" initializ-
19 > ation script contains the line
20 >
21 > export ARCH=$(arch || uname -m) 2> /dev/null
22 >
23 > which helped me getting my personal environment right on every of the
24 > computing center's zillions of hosts I had to login in my previous life.
25 >
26 > Thankyou so much for hunting this down for me :-)
27 >
28 > But unsetting ARCH or setting it to amd64 doesn't change things, prob-
29 > ably because the wrong value meanwhile is part of the database used by
30 > "eix". Will it suffice to run "eix-update" with "ARCH" being unset?
31 >
32 >> ...
33 >>> app-crypt/tpm2-tss 2.2.3-r2 1 1
34 >>> app-crypt/tpm2-tss 2.3.3 1 1
35 >>
36 >> This is strange: Both versions are only ~amd64, and in your previous
37 >> posting the output for {isstable} was indeed 0.
38 >
39 > No. It was only 0 in the output of the "installedversions" call, where-
40 > as the lines quoted above originated from the "availableversions" call.
41 > And the problem is that "{isstable}" and "{isunstable}" must not be 1
42 > at the same time, even if ARCH is erroneously set to "x86_64".
43 >
44 > So this might finally be a bug in "eix" ...
45 >
46 > Sincerely,
47 > Rainer
48 >
49
50 Hello Rainer,
51 '
52 I'd install and check out the latest version of 'eix' (0.33.11) on my
53 sytems; but I have not updated in over a week. Often bugs are fix and
54 the fix is first available in the latest version of the (gentoo)
55 package. If no fix, then file a bug; or at least that's how I roll.
56
57 Not a recommendation, just what "I" do.
58
59 try 'eix -R eix'
60
61 hth,
62 James