Summary: | sys-apps/portage-3.0.48 emerge --sync: AttributeError: 'RepoConfig' object has no attribute 'sync_openpgp_key_server' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hank Leininger <hlein> |
Component: | Current packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | amanzharov, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/portage/pull/1050 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 907502 | ||
Bug Blocks: |
Description
Hank Leininger
2023-06-04 00:22:54 UTC
I webrsync overnight every day (via cron): sync-type = webrsync sync-uri = rsync://rsync.gentoo.org/gentoo-portage auto-sync = yes sync-webrsync-verify-signature = true Yesterday there were no updates (I'm using ~). On investigation today (manual emerge --sync) I have the error reported in this bug. I put this in /etc/portage/package.mask/portage: #https://bugs.gentoo.org/907816 =sys-apps/portage-3.0.48 emerge --sync now works. This is a particularly bad bug because it seems that it will require a change to be made by every gentoo user who encounters it. It's not a difficult change (masking 3.0.48) but it's going to be hard to find. Yep, I'll be pushing the fix later. I was working on tests for the sync side. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=2660f630e18ea5893c3463972516b174c2e8443c commit 2660f630e18ea5893c3463972516b174c2e8443c Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-06 10:18:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-06 10:30:55 +0000 sync: webrsync: fix passing down PORTAGE_SYNC_WEBRSYNC_GPG This needs to be a string, not an int, because an int doesn't mean anything when we're passing it as an argument to an external process by shelling out. Bug: https://bugs.gentoo.org/907816 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/portage/pull/1050 lib/portage/sync/modules/webrsync/webrsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/proj/portage.git/commit/?id=3dc119d927916e75d380a692bd9bca32fd9d42fe commit 3dc119d927916e75d380a692bd9bca32fd9d42fe Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-06 10:12:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-06 10:30:16 +0000 sync: webrsync: fix keyserver variable typo Much like with the news item issues, I think we need some full end-to-end tests for sync. Bug: https://bugs.gentoo.org/907816 Signed-off-by: Sam James <sam@gentoo.org> NEWS | 6 ++++++ lib/portage/sync/modules/webrsync/webrsync.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=997d11dbaeb7a031f8020522a41b8c319d449005 commit 997d11dbaeb7a031f8020522a41b8c319d449005 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-06 10:58:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-06 10:58:07 +0000 sys-apps/portage: add 3.0.48.1 Closes: https://bugs.gentoo.org/907502 Closes: https://bugs.gentoo.org/907816 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.48.1.ebuild | 296 +++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+) |