* ERROR: sys-apps/coreutils-9.0-r1::gentoo failed (pretend phase): * __eapi7_ver_compare: invalid version: * * Call stack: * ebuild.sh, line 127: Called pkg_pretend * coreutils-9.0-r1.ebuild, line 85: Called ver_test '' '-lt' '2.0.7' * eapi7-ver-funcs.sh, line 189: Called __eapi7_ver_compare '' '2.0.7' * eapi7-ver-funcs.sh, line 99: Called die * The specific snippet of code: * [[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}" * This is due to: local kmodv minver kmodv="$(grep kmod <(zfs -V 2>/dev/null))" # Convert zfs-kmod-2.1.1-r3-gentoo -> 2.1.1-r3 kmodv="${kmodv//zfs-kmod-}" in the ebuild, and: # zfs -V zfs-2.1.1-r5-gentoo zfs_version_kernel() failed: No such file or directory because (strace): write(1, "zfs-2.1.1-r5-gentoo\n", 20zfs-2.1.1-r5-gentoo ) = 20 openat(AT_FDCWD, "/sys/module/zfs/version", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) (this works in the native environment, just can't access all of sysfs randomly from a bubblewrap environment)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b02ae2fc1b05e3ed4f336cf758de3d9c8e9576e commit 5b02ae2fc1b05e3ed4f336cf758de3d9c8e9576e Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-01-15 22:20:19 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-01-15 22:21:43 +0000 sys-apps/coreutils: remove zfs check it has served it's purpose and no longer needed coreutils-9 will go stable soon too Closes: https://bugs.gentoo.org/830830 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-apps/coreutils/coreutils-9.0-r1.ebuild | 42 +----------------------------- sys-apps/coreutils/coreutils-9.0.ebuild | 42 +----------------------------- 2 files changed, 2 insertions(+), 82 deletions(-)