Bug 11713 - testimage for core-image-sato-sdk fails on musl due to iptables compile failures
Summary: testimage for core-image-sato-sdk fails on musl due to iptables compile failures
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4 M2
Assignee: Jose Perez C
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-23 19:22 UTC by Khem Raj
Modified: 2017-07-10 12:48 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/