Summary: | sys-fs/zfs should not inherit linux-mod to avoid virtual/linux-sources dependency | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | anonymous <fakih18716> |
Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gyakovlev |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
anonymous
2019-09-07 13:05:49 UTC
as a workaround you can use package.provided for now. we use some functions from linux-mod.eclass and I see no immediate solution. probably eclass needs an override for not adding dependencies in some cases like this. I took another look at it and looks like remove_moduledb call is not needed at all as sys-fs/zfs does not provide modules. I'll try to test and remove eclass inherit soon. actually it's needed but only for 9999 to get rebuilds in sync. I made it inherit it conditionally so only 9999 will pull it for now, so at least versioned users could avoid kernel dep. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e865d5c345bfdc20f459d096e4e8be2ca590f21 commit 5e865d5c345bfdc20f459d096e4e8be2ca590f21 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-02-07 04:52:12 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-02-07 05:12:17 +0000 sys-fs/zfs: update live ebuild require linux-mod only for live ebuilds, it's required for moduledb call to work but pulls kernel virtual Bug: https://bugs.gentoo.org/693678 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-fs/zfs/zfs-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a8fc3d832d03e405a2dcfae98fd246012b63c7a commit 2a8fc3d832d03e405a2dcfae98fd246012b63c7a Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-02-07 04:37:58 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-02-07 05:11:19 +0000 sys-fs/zfs: revbump 0.8.3, drop py2, gcc10 compat, fixes Bug: https://bugs.gentoo.org/693678 Bug: https://bugs.gentoo.org/706534 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-fs/zfs/files/0.8.3-fno-common.patch | 83 ++++++++++++++++++++++ sys-fs/zfs/files/0.8.3-zfs-functions.patch | 51 +++++++++++++ .../zfs/{zfs-0.8.3.ebuild => zfs-0.8.3-r1.ebuild} | 19 +++-- 3 files changed, 146 insertions(+), 7 deletions(-) ok I don't think anything else can be done here. We still need it for 9999 ebuilds, but versioned sys-fs/zfs should no longer pull it. please re-open if needed. |