Hello. portage-9999 from master @ 75fbbcf. $ pwd /home/coacher/Work/overlay/app-misc/bar $ cat bar.ebuild # Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 DESCRIPTION="Bar" HOMEPAGE="http://example.com" SRC_URI="" LICENSE="HPND" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND}" $ repoman -x full RepoMan scours the neighborhood... Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/repoman", line 37, in <module> repoman_main(sys.argv[1:]) File "/usr/lib64/python3.4/site-packages/repoman/main.py", line 117, in repoman_main scanner.scan_pkgs(can_force) File "/usr/lib64/python3.4/site-packages/repoman/scanner.py", line 332, in scan_pkgs _continue = func(**self.set_func_kwargs(mod[0], dynamic_data)) File "/usr/lib64/python3.4/site-packages/repoman/modules/scan/ebuild/ebuild.py", line 192, in check_isebuild myaux = dict(zip(allvars, self.portdb.aux_get(cpv, allvars))) File "/usr/lib64/python3.4/site-packages/portage/dbapi/porttree.py", line 513, in aux_get myebuild, mylocation = self.findname2(mycpv, mytree) File "/usr/lib64/python3.4/site-packages/portage/dbapi/porttree.py", line 386, in findname2 raise InvalidPackageName(mycpv) portage.exception.InvalidPackageName: app-misc/bar If I rename bar.ebuild to bar-0.1.ebuild, repoman doesn't crash. Please fix.
This error/traceback is the same in current portage-2.2.28. Looks like we'll need to "try: except:" it, there already is an "ebuild.invalidname" error in qa_data... I'll have to see whay it's not trapping that error already.
Fixed in git: https://gitweb.gentoo.org/proj/portage.git/commit/?id=94472883f86338c8c877bfc3af57d4d6815915ed Thank you for the great debug testing :)
I can confirm that this is no longer reproducible with portage from master @ 9447288. Thank you.