The comments in modutils/depmod.c suggest that option -b is supported, but this does not appear to be the case when running `busybox depmod -b / -n`. On the other hand, `busybox depmod -n` works. A comment in a commit from the upstream repository suggests that -b should work: http://git.busybox.net/busybox/commit/modutils/depmod.c?h=1_15_stable&id=35261159e6ccddcb36fce427d04b93e119c116c0 It looks like getopt32() is failing. Fixing this should enable easy resolution of bug #472312, which is blocking genkernel stabilization.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea72eddb01f7c3ae377825425de84b8c808f784d commit ea72eddb01f7c3ae377825425de84b8c808f784d Author: Viorel Munteanu <ceamac.paragon@gmail.com> AuthorDate: 2022-04-17 11:55:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-30 21:40:16 +0000 sys-apps/busybox: Enable full version of depmod Closes: https://bugs.gentoo.org/472464 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sys-apps/busybox/busybox-1.34.1-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+)