$ repoman RepoMan scours the neighborhood... [ERROR] Exception in callback portdbapi.async_fetch_map.<locals>.aux_get_done(<Future finis...=['7', '( )']>) at /usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py:789 handle: <Handle portdbapi.async_fetch_map.<locals>.aux_get_done(<Future finis...=['7', '( )']>) at /usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py:789> Traceback (most recent call last): File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run self._callback(*self._args) File "/usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py", line 814, in aux_get_done {'EAPI':eapi,'SRC_URI':myuris}, use=useflags)) File "/usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py", line 1531, in _parse_uri_map eapi=metadata['EAPI']) File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 526, in use_reduce _("expected: dependency string, got: ')', token %s") % (pos+1,)) portage.exception.InvalidDependString: expected: dependency string, got: ')', token 1 --Return-- > /usr/lib64/python3.6/site-packages/portage/util/_eventloop/asyncio_event_loop.py(76)_internal_caller_exception_handler()->None -> pdb.set_trace() (Pdb)
Created attachment 570588 [details] foo-1.ebuild Minimal example ebuild to reproduce the bug.
To clarify, it is clear that SRC_URI="( )" is illegal syntax. Still, repoman should not crash when it is presented such input.
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.