Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 472464

Summary: sys-apps/busybox: `depmod -b /` is broken
Product: Gentoo Linux Reporter: Richard Yao (RETIRED) <ryao>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: genkernel, lxnay, zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 472312    

Description Richard Yao (RETIRED) gentoo-dev 2013-06-06 05:01:37 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2022-06-30 21:41:08 UTC
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(+)