Summary: | =sys-kernel/vanilla-kernel-bin-5.4.6 : pkg_postinst(): has_version: invalid atom: ~sys-kernel/vanilla-kernel-bin-5.3.7-gentoo | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Gysel (bearsh) <me> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markus.kaindl, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge info |
Description
Martin Gysel (bearsh)
2019-12-26 10:14:02 UTC
This also happens for sys-kernel/vanilla-kernel (without -bin). Only happens, if /usr/src/linux still points to another linux-source with a version-string not existing for vanilla-kernel(-bin), e.g. gentoo-sources. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63aed098518786d1b135a6c8665d84483be2f829 commit 63aed098518786d1b135a6c8665d84483be2f829 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-12-28 20:30:57 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-12-28 20:34:34 +0000 sys-kernel/vanilla-kernel-bin: Verify version passed to has_version Verify the version read from /usr/src/linux symlink and make sure that it consists of plain [0-9.] before passing it to has_version. If it doesn't conform, it isn't our symlink anyway. Closes: https://bugs.gentoo.org/703822 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-kernel/vanilla-kernel-bin/vanilla-kernel-bin-5.4.6.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fe7b1894a7fbbf7e29e7515eac4e5c78d4eee6 commit 46fe7b1894a7fbbf7e29e7515eac4e5c78d4eee6 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-12-28 20:29:45 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-12-28 20:34:33 +0000 sys-kernel/vanilla-kernel: Verify version passed to has_version Verify the version read from /usr/src/linux symlink and make sure that it consists of plain [0-9.] before passing it to has_version. If it doesn't conform, it isn't our symlink anyway. Closes: https://bugs.gentoo.org/703822 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-kernel/vanilla-kernel/vanilla-kernel-5.4.6-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |