Summary: | sys-apps/busybox with KBUILD_OUTPUT resulting in sandbox violation error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zyion Prayan <zyion.prayan> |
Component: | Current packages | Assignee: | Embedded Gentoo Team <embedded> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym, louis.leseur, plevine457, zhuyifei1999 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=88088 https://bugs.gentoo.org/show_bug.cgi?id=930513 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Zyion Prayan
2024-05-22 09:06:04 UTC
KBUILD_OUTPUT appears to be set by KCONFIG on the first call to make, which is in src_configure(). In commit https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/busybox?id=25e0a98682b9ab600cb3a6ea3fc3834ce1cce8f6, it appears `unset KBUILD_OUTPUT` was removed from src_prepare() but left in src_compile(). Thus, it's not present during the first call to bbmake() (i.e., emake()), when called in src_configure(). Ideally, it should be declared in src_configure() or bbmake() and removed elsewhere. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecfd5d6b7c9ffe7370e4901d1bdc7a34cc30314d commit ecfd5d6b7c9ffe7370e4901d1bdc7a34cc30314d Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-07-04 01:39:36 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-07-04 01:41:45 +0000 sys-apps/busybox: move KBUILD_OUTPUT and SKIP_STRIP Set/unset these before we call bbmake for the first time. Thanks to Peter Levine for the diagnosis. Closes: https://bugs.gentoo.org/932445 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/busybox/busybox-1.36.1-r1.ebuild | 6 +++--- sys-apps/busybox/busybox-1.36.1-r2.ebuild | 6 +++--- sys-apps/busybox/busybox-9999.ebuild | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) |