Summary: | sys-apps/portage-2.2.27: KeyError: 'PORTAGE_SSH_OPTS' | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Albert W. Hopkins <marduk> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | patrick |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=470002 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 573774 |
Description
Albert W. Hopkins
2016-01-21 09:16:23 UTC
I confirm this bug. This is fixed in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=1cf4d1e8381a44d9628feb7e3892b4ef70390ce8 (In reply to Zac Medico from comment #2) > This is fixed in git: > > https://gitweb.gentoo.org/proj/portage.git/commit/ > ?id=1cf4d1e8381a44d9628feb7e3892b4ef70390ce8 Will you make new minor release to fix this bug or I have to switch to 9999 version of sys-apps/portage to fix it? (In reply to Rinaldus from comment #3) > Will you make new minor release to fix this bug or I have to switch to 9999 > version of sys-apps/portage to fix it? There will likely be a release soon, but you can easily apply the patch as follows: mkdir -p /etc/portage/patches/sys-apps/portage-2.2.27 wget -O /etc/portage/patches/sys-apps/portage-2.2.27/portage_ssh_opts.patch "https://gitweb.gentoo.org/proj/portage.git/patch/?id=1cf4d1e8381a44d9628feb7e3892b4ef70390ce8" emerge -1 =portage-2.2.27 *** Bug 576848 has been marked as a duplicate of this bug. *** Fixed in 2.2.28. Hello Devs. I get the very same error with portage-2.2.8 too. / # equery l portage * Searching for portage ... [IP-] [ ] sys-apps/portage-2.2.28:0 / # emerge -pvg perl-cleaner ================================================================================================ ======== Traceback for invalid call to portage.package.ebuild.config.config.__getitem__ ======== File "/usr/lib/python-exec/python2.7/emerge", line 50, in <module> retval = emerge_main() File "/usr/lib64/python2.7/site-packages/_emerge/main.py", line 1185, in emerge_main return run_action(emerge_config) File "/usr/lib64/python2.7/site-packages/_emerge/actions.py", line 2866, in run_action getbinpkgs="--getbinpkg" in emerge_config.opts) File "/usr/lib64/python2.7/site-packages/portage/dbapi/bintree.py", line 525, in populate self._populate(getbinpkgs) File "/usr/lib64/python2.7/site-packages/portage/dbapi/bintree.py", line 909, in _populate fcmd_vars[k] = self.settings[k] File "/usr/lib64/python2.7/site-packages/portage/package/ebuild/config.py", line 2570, in __getitem__ return self._getitem(key) File "/usr/lib64/python2.7/site-packages/portage/package/ebuild/config.py", line 2623, in _getitem raise KeyError(mykey) KeyError: u'PORTAGE_SSH_OPTS' ================================================================================================ --2016-06-02 14:24:51-- https://multibinhost01/Packages Resolving multibinhost01 Connecting to multibinhost01|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 285286 (279K) [application/octet-stream] Saving to: ‘/tmp/tmp_4A1rn’ /tmp/tmp_4A1rn 100%[======================================================================>] 278.60K --.-KB/s in 0.004s 2016-06-02 14:24:51 (68.0 MB/s) - ‘/tmp/tmp_4A1rn’ saved [285286/285286] These are the packages that would be merged, in order: Calculating dependencies... done! [binary R ] app-admin/perl-cleaner-2.20::gentoo 0 KiB Total: 1 package (1 reinstall, 1 binary), Size of downloads: 0 KiB / # (In reply to Thomas Stein from comment #7) > Hello Devs. > > I get the very same error with portage-2.2.8 too. You can ignore that message. It's fixed in git now: https://gitweb.gentoo.org/proj/portage.git/commit/?id=90e142b8fccba0507687b747478c5e060effcb00 |