<div><br><div class="gmail_quote"><div dir="auto">On Mon, Jul 3, 2017 at 12:25 PM Jose Perez Carranza &lt;<a href="mailto:jose.perez.carranza@linux.intel.com">jose.perez.carranza@linux.intel.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 07/03/2017 11:59 AM, Khem Raj wrote:<br>
&gt; On Mon, Jul 3, 2017 at 9:26 AM,  &lt;<a href="mailto:jose.perez.carranza@linux.intel.com" target="_blank">jose.perez.carranza@linux.intel.com</a>&gt; wrote:<br>
&gt;&gt; From: Jose Perez Carranza &lt;<a href="mailto:jose.perez.carranza@linux.intel.com" target="_blank">jose.perez.carranza@linux.intel.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Buildiptables test cases are conflicting with images built with “musl”<br>
&gt;&gt; as standard C library, in order to avoid those issues gzip package was<br>
&gt;&gt; selected to be used on the tests as this does not conflicts with “musl”.<br>
&gt;&gt;<br>
&gt;&gt; [YOCTO #11713]<br>
&gt; I see that gzip recipes also have musl appends for do_configure, I<br>
&gt; understand, that this test case will compile on device so it will get<br>
&gt; hosted env and it might be working fine. I would think it will be good<br>
&gt; to use a package which we dont patch even in OE<br>
I did some test also suing &quot;Lzip&quot;, I did not see any reference to &quot;musl&quot;<br>
on that recipe, did you see any problem using &quot;lzip&quot;instead &quot;gzip&quot;?</blockquote><div dir="auto"><br></div><div dir="auto">Lzip should be ok </div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Regards<br>
José<br>
&gt;<br>
&gt;&gt; Signed-off-by: Jose Perez Carranza &lt;<a href="mailto:jose.perez.carranza@linux.intel.com" target="_blank">jose.perez.carranza@linux.intel.com</a>&gt;<br>
&gt;&gt; ---<br>
&gt;&gt;   meta/lib/oeqa/sdk/cases/{buildiptables.py =&gt; buildgzip.py} | 8 ++++----<br>
&gt;&gt;   1 file changed, 4 insertions(+), 4 deletions(-)<br>
&gt;&gt;   rename meta/lib/oeqa/sdk/cases/{buildiptables.py =&gt; buildgzip.py} (84%)<br>
&gt;&gt;<br>
&gt;&gt; diff --git a/meta/lib/oeqa/sdk/cases/buildiptables.py b/meta/lib/oeqa/sdk/cases/buildgzip.py<br>
&gt;&gt; similarity index 84%<br>
&gt;&gt; rename from meta/lib/oeqa/sdk/cases/buildiptables.py<br>
&gt;&gt; rename to meta/lib/oeqa/sdk/cases/buildgzip.py<br>
&gt;&gt; index 419c7ebd09b..a92df65c28b 100644<br>
&gt;&gt; --- a/meta/lib/oeqa/sdk/cases/buildiptables.py<br>
&gt;&gt; +++ b/meta/lib/oeqa/sdk/cases/buildgzip.py<br>
&gt;&gt; @@ -3,15 +3,15 @@ from oeqa.sdk.case import OESDKTestCase<br>
&gt;&gt;   from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; -class BuildIptablesTest(OESDKTestCase):<br>
&gt;&gt; +class BuildGzipTest(OESDKTestCase):<br>
&gt;&gt;       td_vars = [&#39;DATETIME&#39;]<br>
&gt;&gt;<br>
&gt;&gt;       @classmethod<br>
&gt;&gt;       def setUpClass(self):<br>
&gt;&gt;           dl_dir = self.td.get(&#39;DL_DIR&#39;, None)<br>
&gt;&gt;<br>
&gt;&gt; -        self.project = SDKBuildProject(self.tc.sdk_dir + &quot;/iptables/&quot;, self.tc.sdk_env,<br>
&gt;&gt; -                        &quot;<a href="http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2" rel="noreferrer" target="_blank">http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2</a>&quot;,<br>
&gt;&gt; +        self.project = SDKBuildProject(self.tc.sdk_dir + &quot;/gzip/&quot;, self.tc.sdk_env,<br>
&gt;&gt; +                        &quot;<a href="http://downloads.yoctoproject.org/mirror/sources/gzip-1.8.tar.gz" rel="noreferrer" target="_blank">http://downloads.yoctoproject.org/mirror/sources/gzip-1.8.tar.gz</a>&quot;,<br>
&gt;&gt;                           self.tc.sdk_dir, <a href="http://self.td" rel="noreferrer" target="_blank">self.td</a>[&#39;DATETIME&#39;], dl_dir=dl_dir)<br>
&gt;&gt;           self.project.download_archive()<br>
&gt;&gt;<br>
&gt;&gt; @@ -21,7 +21,7 @@ class BuildIptablesTest(OESDKTestCase):<br>
&gt;&gt;                   self.tc.hasTargetPackage(&quot;gcc&quot;)):<br>
&gt;&gt;               raise unittest.SkipTest(&quot;SDK doesn&#39;t contain a cross-canadian toolchain&quot;)<br>
&gt;&gt;<br>
&gt;&gt; -    def test_iptables(self):<br>
&gt;&gt; +    def test_gzip(self):<br>
&gt;&gt;           self.assertEqual(self.project.run_configure(), 0,<br>
&gt;&gt;                           msg=&quot;Running configure failed&quot;)<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; 2.12.0<br>
&gt;&gt;<br>
<br>
--<br>
Saludos<br>
José<br>
<br>
</blockquote></div></div>