[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] mesa: move crypto configs to versioned recipe
From:       "Belal, Awais" <Awais_Belal () mentor ! com>
Date:       2016-06-30 13:07:38
Message-ID: 2021B186DC632746BD5A3CE32F12BD28011FC8CC40 () EU-MBX-03 ! mgc ! mentorg ! com
[Download RAW message or body]

Jussi,

Your observation is correct but the warning is reproducible with the git recipe that \
is available in oe-core. I'm only updating the SRCREV in my layers.

BR,
Awais
________________________________
From: Jussi Kukkonen [jussi.kukkonen@intel.com]
Sent: Thursday, June 30, 2016 6:02 PM
To: Belal, Awais
Cc: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] mesa: move crypto configs to versioned recipe

On 30 June 2016 at 15:40, Awais Belal \
<awais_belal@mentor.com<mailto:awais_belal@mentor.com>> wrote: Fixes
WARNING: mesa-2_11.0.8+gitAUTOINC+b9b19162ee-r0 do_configure: QA Issue: mesa: \
configure was passed unrecognised options: --with-sha1 [unknown-configure-option] for \
git based recipe as it is on an older version of mesa which does not support crypto \
configs.

I was about to suggest removing the git recipe (or at least bumping the revision) \
instead... but mesa-2_11.0.8 is actually not a oe-core recipe/version at all?

 Jussi

Signed-off-by: Awais Belal <awais_belal@mentor.com<mailto:awais_belal@mentor.com>>
---
 meta/recipes-graphics/mesa/mesa.inc       | 6 ------
 meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb> | 6 ++++++
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc \
b/meta/recipes-graphics/mesa/mesa.inc index 1d084c0..b227abc 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -64,12 +64,6 @@ PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm \
--enable-llvm-shared-libs,  export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
 PACKAGECONFIG[xa]  = "--enable-xa, --disable-xa"

-# Mesa requires one of the following crypto implementation, pick one of them
-MESA_CRYPTO ??= "openssl"
-PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
-PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
-PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
-
 # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
 FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"

diff --git a/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb> \
b/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb> index \
                a864b54..87c12c8 100644
--- a/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb>
+++ b/meta/recipes-graphics/mesa/mesa_11.2.2.bb<http://mesa_11.2.2.bb>
@@ -1,5 +1,11 @@
 require ${BPN}.inc

+# Mesa requires one of the following crypto implementation, pick one of them
+MESA_CRYPTO ??= "openssl"
+PACKAGECONFIG[openssl] = "--with-sha1=libcrypto,,openssl"
+PACKAGECONFIG[nettle] = "--with-sha1=libnettle,,nettle"
+PACKAGECONFIG[gcrypt] = "--with-sha1=libgcrypt,,libgcrypt"
+
 SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz \
            file://replace_glibc_check_with_linux.patch \
 "
--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org<mailto:Openembedded-core@lists.openembedded.org>
 http://lists.openembedded.org/mailman/listinfo/openembedded-core


[Attachment #3 (text/html)]

<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: \
10pt;">Jussi,<br> <br>
Your observation is correct but the warning is reproducible with the git recipe that \
is available in oe-core. I'm only updating the SRCREV in my layers.<br> <div><br>
<div style="font-family:Tahoma; font-size:13px"><font face="Tahoma"></font>
<div style="font-size:13px">
<div><font face="Tahoma" size="2"><span lang="en-US">
<div style="margin:0">BR,</div>
<div style="margin:0"><i>Awais</i></div>
</span></font></div>
</div>
<font face="Tahoma"></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF69592"><font face="Tahoma" size="2" \
color="#000000"><b>From:</b> Jussi Kukkonen [jussi.kukkonen@intel.com]<br> \
<b>Sent:</b> Thursday, June 30, 2016 6:02 PM<br> <b>To:</b> Belal, Awais<br>
<b>Cc:</b> Patches and discussions about the oe-core layer<br>
<b>Subject:</b> Re: [OE-core] [PATCH] mesa: move crypto configs to versioned \
recipe<br> </font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 30 June 2016 at 15:40, Awais Belal <span dir="ltr">&lt;<a \
href="mailto:awais_belal@mentor.com" \
target="_blank">awais_belal@mentor.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; \
border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex"> \
                Fixes<br>
WARNING: mesa-2_11.0.8&#43;gitAUTOINC&#43;b9b19162ee-r0 do_configure: QA Issue: mesa: \
configure was passed unrecognised options: --with-sha1 [unknown-configure-option]<br> \
for git based recipe as it is on an older version of mesa<br> which does not support \
crypto configs.<br> </blockquote>
<div><br>
</div>
<div>I was about to suggest removing the git recipe (or at least bumping the \
revision) instead... but mesa-2_11.0.8 is actually not a oe-core recipe/version at \
all?</div> <div>&nbsp;</div>
<div>&nbsp;Jussi</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; \
border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); \
                padding-left:1ex">
Signed-off-by: Awais Belal &lt;<a href="mailto:awais_belal@mentor.com" \
                target="_blank">awais_belal@mentor.com</a>&gt;<br>
---<br>
&nbsp;meta/recipes-graphics/mesa/mesa.inc&nbsp; &nbsp; &nbsp; &nbsp;| 6 ------<br>
&nbsp;meta/recipes-graphics/mesa/<a href="http://mesa_11.2.2.bb" rel="noreferrer" \
target="_blank">mesa_11.2.2.bb</a> | 6 &#43;&#43;&#43;&#43;&#43;&#43;<br> &nbsp;2 \
files changed, 6 insertions(&#43;), 6 deletions(-)<br> <br>
diff --git a/meta/recipes-graphics/mesa/mesa.inc \
b/meta/recipes-graphics/mesa/mesa.inc<br> index 1d084c0..b227abc 100644<br>
--- a/meta/recipes-graphics/mesa/mesa.inc<br>
&#43;&#43;&#43; b/meta/recipes-graphics/mesa/mesa.inc<br>
@@ -64,12 &#43;64,6 @@ PACKAGECONFIG[gallium-llvm] = &quot;--enable-gallium-llvm \
--enable-llvm-shared-libs,<br> &nbsp;export WANT_LLVM_RELEASE = \
&quot;${MESA_LLVM_RELEASE}&quot;<br> &nbsp;PACKAGECONFIG[xa]&nbsp; = \
&quot;--enable-xa, --disable-xa&quot;<br> <br>
-# Mesa requires one of the following crypto implementation, pick one of them<br>
-MESA_CRYPTO ??= &quot;openssl&quot;<br>
-PACKAGECONFIG[openssl] = &quot;--with-sha1=libcrypto,,openssl&quot;<br>
-PACKAGECONFIG[nettle] = &quot;--with-sha1=libnettle,,nettle&quot;<br>
-PACKAGECONFIG[gcrypt] = &quot;--with-sha1=libgcrypt,,libgcrypt&quot;<br>
-<br>
&nbsp;# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)<br>
&nbsp;FULL_OPTIMIZATION_append = &quot; -fno-omit-frame-pointer&quot;<br>
<br>
diff --git a/meta/recipes-graphics/mesa/<a href="http://mesa_11.2.2.bb" \
rel="noreferrer" target="_blank">mesa_11.2.2.bb</a> b/meta/recipes-graphics/mesa/<a \
href="http://mesa_11.2.2.bb" rel="noreferrer" target="_blank">mesa_11.2.2.bb</a><br> \
                index a864b54..87c12c8 100644<br>
--- a/meta/recipes-graphics/mesa/<a href="http://mesa_11.2.2.bb" rel="noreferrer" \
target="_blank">mesa_11.2.2.bb</a><br> &#43;&#43;&#43; \
b/meta/recipes-graphics/mesa/<a href="http://mesa_11.2.2.bb" rel="noreferrer" \
target="_blank">mesa_11.2.2.bb</a><br> @@ -1,5 &#43;1,11 @@<br>
&nbsp;require ${BPN}.inc<br>
<br>
&#43;# Mesa requires one of the following crypto implementation, pick one of them<br>
&#43;MESA_CRYPTO ??= &quot;openssl&quot;<br>
&#43;PACKAGECONFIG[openssl] = &quot;--with-sha1=libcrypto,,openssl&quot;<br>
&#43;PACKAGECONFIG[nettle] = &quot;--with-sha1=libnettle,,nettle&quot;<br>
&#43;PACKAGECONFIG[gcrypt] = &quot;--with-sha1=libgcrypt,,libgcrypt&quot;<br>
&#43;<br>
&nbsp;SRC_URI = &quot;<a \
href="ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz" rel="noreferrer" \
target="_blank">ftp://ftp.freedesktop.org/pub/mesa/${PV}/mesa-${PV}.tar.xz</a> \<br> \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file://replace_glibc_check_with_linux.patch \
\<br> &nbsp;&quot;<br>
<span class=""><font color="#888888">--<br>
1.9.1<br>
<br>
--<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" \
target="_blank">Openembedded-core@lists.openembedded.org</a><br> <a \
href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" \
rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core<br>
 </a><br>
</font></span></blockquote>
<div>&nbsp;</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>



-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--===============0502669980==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic