Skip to contentSkip to conversation

socklog: Disable the chkshsgr tests

PATCH In review Khem Raj 2 participants 2 messages Jan 28, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 socklog: Disable the chkshsgr tests

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

---
 meta/recipes-core/runit/socklog_2.1.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/runit/socklog_2.1.0.bb +1 -0
index 85c20d75a7..fc3fbd9826 100644
@@ -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
 }
 
Signature · 1 line
2.25.0
#1 lore raw

✗ patchtest: failure for socklog: Disable the chkshsgr tests

== Series Details ==

Series: socklog: Disable the chkshsgr tests
Revision: 1
URL : https://patchwork.openembedded.org/series/22332/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 9031b66c7c)

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe