Running the chkhsgr test during cross compile fails ./chkshsgr || ( cat warn-shsgr; exit 1 ) Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups.
All OE based targets have working getgroups()/setgroups() implementation, so its a safe assumption and therefore make the test to be a dummy Signed-off-by: Khem Raj <[email protected]> --- meta/recipes-core/runit/socklog_2.1.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/runit/socklog_2.1.0.bb b/meta/recipes-core/runit/socklog_2.1.0.bb index 85c20d75a7..fc3fbd9826 100644 --- a/meta/recipes-core/runit/socklog_2.1.0.bb +++ b/meta/recipes-core/runit/socklog_2.1.0.bb @@ -19,6 +19,7 @@ do_compile() { cd ${S}/src echo "$CC -D_GNU_SOURCE $CFLAGS" >conf-cc echo "$CC $LDFLAGS -Wl,-z -Wl,noexecstack" >conf-ld + echo "int main() { return 0; }" >${S}/src/chkshsgr.c oe_runmake } -- 2.25.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
