1 |
On 2022.06.10 13:01, Jack wrote: |
2 |
> My usual "emerge -auDvN world" yesterdau failed over a bunch of slot |
3 |
> conflict for various dev-qt packages (appeared to be related to :0/30 |
4 |
> vs :0/30.30). However, in process of trying various options to at |
5 |
> least get something emerged, I have ended up getting, for most (but |
6 |
> not all) invocations of emerge, something like: |
7 |
> |
8 |
> Total: 114 packages (61 upgrades, 5 new, 48 reinstalls), Size of |
9 |
> downloads: 997,745 KiB |
10 |
> Conflict: 1 block (all satisfied) |
11 |
> Traceback (most recent call last): |
12 |
> File "/usr/lib/python-exec/python3.9/emerge", line 51, in <module> |
13 |
> retval = emerge_main() |
14 |
> File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1328, |
15 |
> in emerge_main |
16 |
> return run_action(emerge_config) |
17 |
> File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line |
18 |
> 3954, in run_action |
19 |
> retval = action_build(emerge_config, spinner=spinner) |
20 |
> File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line |
21 |
> 468, in action_build |
22 |
> mydepgraph.display_problems() |
23 |
> File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line |
24 |
> 10485, in display_problems |
25 |
> self._compute_abi_rebuild_info() |
26 |
> File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line |
27 |
> 923, in _compute_abi_rebuild_info |
28 |
> if dep.parent.installed: |
29 |
> AttributeError: 'SetArg' object has no attribute 'installed' |
30 |
> |
31 |
> That one was for a full world update, but I've also gotten it for |
32 |
> single packages. Some single package invocations worked, such as |
33 |
> updating portage itself from 3.0.30-r3 (stable) to 3.0.30-r4 (~amd64) |
34 |
> but the newer version has the same failures. |
35 |
> |
36 |
> I've done a bit of searching, but haven't been able to find anything |
37 |
> relevant. This failure doesn't seem related to any particular |
38 |
> conflict, as it appears immediately after what looks like a normal |
39 |
> list of packages to be upgraded or reinstalled. |
40 |
> |
41 |
> Thanks for any suggestions about which fine manual I should read, or |
42 |
> which version of portage might work any better. |
43 |
> |
44 |
Well, I finally managed to get all updates and dependencies emerged. I |
45 |
still have no idea what caused the AttributeError, but I do have an |
46 |
idea what triggered it. gnutls (and one or two others) needed |
47 |
upgrading, and caused lots of rebuilds. I believe the error was |
48 |
triggered by a change in subslots, although I admit I don't fully |
49 |
understand how that works. |
50 |
|
51 |
As the main example: "eix gnutls" (after upgrade) |
52 |
[I] net-libs/gnutls |
53 |
Available versions: 3.7.2(0/30)^t 3.7.3-r1(0/30)^t |
54 |
~3.7.5(0/30.30)^t 3.7.6(0/30.30)^t {brotli +cxx dane doc examples guile |
55 |
+idn nls +openssl pkcs11 seccomp sslv2 sslv3 static-libs test test-full |
56 |
+tls-heartbeat tools valgrind verify-sig zlib zstd ABI_MIPS="n32 n64 |
57 |
o32" ABI_S390="32 64" ABI_X86="32 64 x32"} |
58 |
Installed versions: 3.7.6(0/30.30)^t(11:02:20 AM 06/12/2022)(cxx |
59 |
idn nls openssl seccomp tls-heartbeat tools zlib -brotli -dane -doc |
60 |
-examples -guile -pkcs11 -sslv2 -sslv3 -static-libs -test -test-full |
61 |
-valgrind -verify-sig -zstd ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 |
62 |
-64" ABI_X86="32 64 -x32") |
63 |
Homepage: https://www.gnutls.org/ |
64 |
Description: A secure communications library implementing |
65 |
the SSL, TLS and DTLS protocols |
66 |
|
67 |
I was uprading from 3.7.3-r1(0/30) to 3.7.6(0/30.30). Some emerge |
68 |
attempts showed lots of slot conflicts between installed programs |
69 |
needing (0/30) and the propsed upgrade to (0/30.30). I don't know why |
70 |
this seemed to confuse portage, but I ended up doing an "emerge -1 |
71 |
--nodeps gnutls" and a later "emerge -auDvN world" got all the required |
72 |
rebuilds. |
73 |
|
74 |
I suspect the AttributeError is a bug in portage, only triggered by |
75 |
some apparently unlikely combination of pending upgrades and rebuilds |
76 |
due to the subslot change. Since I can no longer reliably trigger it, |
77 |
I don't plan on reporting it, unless someone thinks it's worth the |
78 |
effort. |
79 |
|
80 |
Jack |