Bug 11713

Summary: testimage for core-image-sato-sdk fails on musl due to iptables compile failures
Product: [QA/Testing] Runtime Testing Reporter: Khem Raj <raj.khem>
Component: generalAssignee: Jose Perez C <jose.perez.carranza>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: ross.burton
Version: 2.4   
Target Milestone: 2.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Khem Raj 2017-06-23 19:22:12 UTC
We have a testcase
meta/lib/oeqa/sdk/cases/buildiptables.py

which tries to build vanilla iptables using SDK, however this fails with musl
since there are patches e.g.

http://git.openembedded.org/openembedded-core/tree/meta/recipes-extended/iptables/iptables/0001-fix-build-with-musl.patch

otherwise the build will fail. So vanilla compiles wont work. I think we have to device a way to use the patched sources from build area to test compile it.

That way we will always have chance to compile with out errors.
Comment 1 Ross Burton 2017-06-23 22:20:28 UTC
We *could* patch iptables but a simpler solution would be to change iptables to something else.
Comment 2 Jose Perez C 2017-06-30 20:52:30 UTC
Currently I'm not able to reproduce neither test a a possible fix due this Bug 11741
Comment 3 Jose Perez C 2017-07-03 20:14:17 UTC
Patch sent to the list 

https://patchwork.openembedded.org/patch/141496/
Comment 4 Khem Raj 2017-07-06 14:52:35 UTC
you also need 

https://patchwork.openembedded.org/patch/141620/

to complete the fix
Comment 5 Jose Perez C 2017-07-06 16:23:20 UTC
Additional work will be also needed to change "meta/lib/oeqa/runtime/cases/buildiptables.py" so moving this to M3
Comment 6 Jose Perez C 2017-07-06 21:05:20 UTC
Serie sent to the list 

https://patchwork.openembedded.org/series/7615/