Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710130 - sys-app/portage-2.3.89 [ERROR] Exception in callback portdbapi.async_fetch_map.
Summary: sys-app/portage-2.3.89 [ERROR] Exception in callback portdbapi.async_fetch_map.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 711148
  Show dependency tree
 
Reported: 2020-02-19 01:33 UTC by Alessandro Barbieri
Modified: 2020-05-08 23:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
aldor-1.2.0_p20190730.ebuild (aldor-1.2.0_p20190730.ebuild,2.04 KB, text/plain)
2020-02-19 01:34 UTC, Alessandro Barbieri
Details
info (info,13.84 KB, text/plain)
2020-02-19 01:35 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-02-19 01:33:07 UTC
Repoman crashed trying to rebuilding metadata of the attached ebuild
Probably it doesn't like line 16 of the ebuild

[ERROR] Exception in callback portdbapi.async_fetch_map.<locals>.aux_get_done(<Future finis...dor.el.nw )']>) at /usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py:783
handle: <Handle portdbapi.async_fetch_map.<locals>.aux_get_done(<Future finis...dor.el.nw )']>) at /usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py:783>
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 808, in aux_get_done
    {'EAPI':eapi,'SRC_URI':myuris}, use=useflags))
  File "/usr/lib64/python3.6/site-packages/portage/dbapi/porttree.py", line 1536, in _parse_uri_map
    eapi=metadata['EAPI'])
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 699, in use_reduce
    _("no matching '%s' for '%s', token %s") % ("(", ")", pos+1))
portage.exception.InvalidDependString: no matching '(' for ')', token 7
--Return--
> /usr/lib64/python3.6/site-packages/portage/util/_eventloop/asyncio_event_loop.py(81)_internal_caller_exception_handler()->None
-> pdb.set_trace()
Comment 1 Alessandro Barbieri 2020-02-19 01:34:26 UTC
Manifest, not metadata
Comment 2 Alessandro Barbieri 2020-02-19 01:34:45 UTC
Created attachment 614460 [details]
aldor-1.2.0_p20190730.ebuild

ebuild
Comment 3 Alessandro Barbieri 2020-02-19 01:35:58 UTC
Created attachment 614462 [details]
info

emerge --info
Comment 4 Larry the Git Cow gentoo-dev 2020-02-20 09:55:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=3de00842d69669a15adaf9e81b0007a7052da5d0

commit 3de00842d69669a15adaf9e81b0007a7052da5d0
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-02-20 09:51:34 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-02-20 09:52:33 +0000

    async_fetch_map: handle _parse_uri_map exception (bug 710130)
    
    If _parse_uri_map raises an exception then raise it to the
    caller via the returned future.
    
    Bug: https://bugs.gentoo.org/710130
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/dbapi/porttree.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)