Summary: | sys-apps/portage-3.0.20-r4 can't handle SRC_URI with a file (without url) + url for EAPI-8 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ionen Wolkens <ionen> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hjckr, mgorny, sam |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/portage/pull/732 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 785484 |
Description
Ionen Wolkens
2021-06-20 06:38:48 UTC
This also affects me. I've tried with EAPIs 5,6 and 7. Unfortunately, I cannot try EAPI 8, as I use eutils which is banned on 8. Any workaround/fix for this? (In reply to Nikolay Kichukov from comment #1) > This also affects me. I've tried with EAPIs 5,6 and 7. Unfortunately, I > cannot try EAPI 8, as I use eutils which is banned on 8. > > Any workaround/fix for this? ... you shouldn't need to use eutils at all on EAPI 8. The split eclasses (like desktop.eclass) or built-ins should replace it (sometimes exactly)? For now I have downgraded portage to 3.0.18 which solves the problem. off-topic: Re eutils, do you mean I just need to remove the 'inherit eutils' completely and it should work out of the box? (In reply to Nikolay Kichukov from comment #3) > For now I have downgraded portage to 3.0.18 which solves the problem. > > off-topic: > Re eutils, do you mean I just need to remove the 'inherit eutils' completely > and it should work out of the box? Yes, but if it doesn't, come to #gentoo-dev-help. Obviously, ideally, you'd audit the functions you think are from eutils/you don't recognise and check them. You may need to replace the inherit with something like 'inherit desktop'. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=2ce11f06e48290efb2d4b6743c8edf01c176b0fc commit 2ce11f06e48290efb2d4b6743c8edf01c176b0fc Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-06-20 17:53:02 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-06-20 18:54:21 +0000 fetch: Fix AttributeError when no URL specified Closes: https://github.com/gentoo/portage/pull/732 Bug: https://bugs.gentoo.org/796812 Signed-off-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/package/ebuild/fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f486914f2296b591c37bdc210e090945ad1e664 commit 7f486914f2296b591c37bdc210e090945ad1e664 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2021-06-20 19:08:16 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2021-06-20 19:11:43 +0000 sys-apps/portage: 3.0.20-r5 revbump for EAPI 8 fix #796812 fetch: Fix AttributeError when no URL specified Bug: https://bugs.gentoo.org/785484 Closes: https://bugs.gentoo.org/796812 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + .../portage/{portage-3.0.20-r4.ebuild => portage-3.0.20-r5.ebuild} | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) |