Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690262 - sys-kernel/genkernel-4.0.0_beta6: --cross-compile= validation fails on "_" (x86_64-*)
Summary: sys-kernel/genkernel-4.0.0_beta6: --cross-compile= validation fails on "_" (x...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-07-20 05:32 UTC by Denis Kaganovich
Modified: 2019-07-21 21:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adding "_" into triplet mask (genkernel-4-triplet.patch,379 bytes, patch)
2019-07-20 05:32 UTC, Denis Kaganovich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2019-07-20 05:32:00 UTC
Created attachment 583684 [details, diff]
adding "_" into triplet mask

sys-kernel/genkernel-4.0.0_beta6 --cross-compile= validation fails on "_" (x86_64-*). Adding "_" into pattern is trivial.
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-20 12:02:41 UTC
Thank you for the report. I am going to pick a different regex -- this is only a basic check to bail out earlier to save time so it can be even more relaxed.
Comment 2 Larry the Git Cow gentoo-dev 2019-07-21 16:26:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a1060b6f27a547b28a5c603768b43cfa84137ec0

commit a1060b6f27a547b28a5c603768b43cfa84137ec0
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-07-20 12:03:28 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-07-20 12:03:28 +0000

    gen_funcs.sh: is_valid_triplet(): Relax regex
    
    Bug: https://bugs.gentoo.org/690262
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 gen_funcs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2019-07-21 21:05:22 UTC
Released with >=sys-kernel/genkernel-4.0.0_beta8.