Gentoo Archives: gentoo-portage-dev

From: Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>
To: "gentoo-portage-dev@l.g.o" <gentoo-portage-dev@l.g.o>
Subject: [gentoo-portage-dev] KeyError: 'ED' ?
Date: Wed, 05 May 2021 16:47:45
Message-Id: 6b0a45170080a36c69c9a76df3558831036e48e7.camel@infinera.com
1 I am upgrading an old portage(2.3.76) to 3.0.18 using qmerge(binary pkg) and I get this:
2 qmerge -OK sys-apps/portage
3 [R] sys-apps/portage-3.0.18
4 * Checking for suitable kernel configuration options...
5 [ ok ]
6 * Using python3.8 in global scope
7 FEATURES variable contains unknown value(s): disabled
8 Traceback (most recent call last):
9 File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
10 return _run_code(code, main_globals, None,
11 File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
12 exec(code, run_globals)
13 File "/var/tmp/qmerge/sys-apps/portage-3.0.18/image/usr/lib/python3.8/site-packages/portage/_compat_upgrade/default_locations.py", line 93, in <module>
14 main()
15 File "/var/tmp/qmerge/sys-apps/portage-3.0.18/image/usr/lib/python3.8/site-packages/portage/_compat_upgrade/default_locations.py", line 63, in main
16 config_path = os.path.join(os.environ['ED'], GLOBAL_CONFIG_PATH.lstrip(os.sep), 'make.globals')
17 File "/usr/lib/python3.8/os.py", line 675, in __getitem__
18 raise KeyError(key) from None
19 KeyError: 'ED'
20
21 so portage fails to install properly, I am guessin this is becuse I have an old portage to begin with?
22 Can it be fixed?
23
24 Also, these "FEATURES variable contains unknown value(s): disabled" could tell me which value it does not like.
25
26 Jocke

Replies

Subject Author
Re: [gentoo-portage-dev] KeyError: 'ED' ? Joakim Tjernlund <Joakim.Tjernlund@××××××××.com>