Created attachment 342776 [details] 0001-resolver-output-check-for-None-mainRepo. Found a bug when --verbose is used on emerge --binpkgonly without a full portage tree on the machine I get a backtrace about calling name on a NoneType. So, we need to check that mainRepo() is not returning None (as it can). Note: I am building a new OS based on the ChromeOS SDK so this use case isn't common, but a real bug.
Thanks, your patch is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=35798ff1b1b6b5c0de4141b5440b0fe0bd750da8
I've tweaked the logic so --verbose-main-repo-display still works when the main repo is missing: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=77df7ad2311f8d30533b89d4560651f3eac72cef
Thanks for the fast merge! This problem was found in 2.1.11.31 if you want to backport it too. I am applying the patch in my own overlay.
This will be included in the next release, which will be 2.1.11.58. The latest version with stable keywords is currently 2.1.11.55. I would encourage people to use at least that version in their overlay, if possible.
(In reply to comment #4) > This will be included in the next release, which will be 2.1.11.58. > > The latest version with stable keywords is currently 2.1.11.55. I would > encourage people to use at least that version in their overlay, if possible. Will do. Thanks.
This is fixed in 2.1.11.58 and 2.2.0_alpha169.
Confirmed 2.1.11.58 works in my environment. Thanks!