Summary: | sys-apps/portage-2.2.24 - emerge --sync: ValueError: need more than 2 values to unpack in _sync_callback in sync/controller.py | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Mario Kicherer <dev> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dilfridge |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 549914 |
Description
Mario Kicherer
2015-12-10 13:29:53 UTC
The SyncManager.sync method is at fault. It needs to return a 4-tuple in all cases. (In reply to Mario Kicherer from comment #0) > emerge --sync fails every time with the following output: > > # emerge --sync > !!! Repository 'dlang' has sync-type attribute set to unsupported value: > 'laymansync' If you remove the repos.conf section that contains "sync-type = laymansync" then that will suppress the bug. There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_567932 You can test it like this: echo '=sys-apps/portage-9999 **' >> /etc/portage/package.accept_keywords portage_LIVE_BRANCH=bug_567932 \ portage_LIVE_REPO=https://github.com/zmedico/portage.git \ emerge -1 =sys-apps/portage-9999 I've posted it for review here: https://archives.gentoo.org/gentoo-portage-dev/message/840f33ff47a8facb6b6cc29c539f2b83 This is in the master branch: https://gitweb.gentoo.org/proj/portage.git/commit/?id=32b372bf79633bbfe6c7b1f5bca2f290a32695d4 I removed the offending line in the config and it works. I will test the patch with the next portage version because I can't use this machine for experiments. Thank you very much! *** Bug 571268 has been marked as a duplicate of this bug. *** Fixed in 2.2.27. |