All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS
@ 2014-05-22  3:28 Chong Lu
  2014-05-22 13:56 ` Mark Hatle
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Lu @ 2014-05-22  3:28 UTC (permalink / raw)
  To: yocto

Avoid policy_scan.c: No such file or directory

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
 recipes-security/setools/setools_3.3.8.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/setools/setools_3.3.8.bb b/recipes-security/setools/setools_3.3.8.bb
index 1e95a60..3425064 100644
--- a/recipes-security/setools/setools_3.3.8.bb
+++ b/recipes-security/setools/setools_3.3.8.bb
@@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \
                     file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
                     file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24"
 
-DEPENDS += "python libsepol libselinux libxml2"
+DEPENDS += "bison flex python libsepol libselinux libxml2"
 
 PACKAGE_BEFORE_PN += "${PN}-libs"
 
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS
  2014-05-22  3:28 [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS Chong Lu
@ 2014-05-22 13:56 ` Mark Hatle
  2014-05-23  1:50   ` Chong Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2014-05-22 13:56 UTC (permalink / raw)
  To: yocto

On 5/21/14, 10:28 PM, Chong Lu wrote:
> Avoid policy_scan.c: No such file or directory
>
> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
> ---
>   recipes-security/setools/setools_3.3.8.bb |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-security/setools/setools_3.3.8.bb b/recipes-security/setools/setools_3.3.8.bb
> index 1e95a60..3425064 100644
> --- a/recipes-security/setools/setools_3.3.8.bb
> +++ b/recipes-security/setools/setools_3.3.8.bb
> @@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \
>                       file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
>                       file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24"
>
> -DEPENDS += "python libsepol libselinux libxml2"
> +DEPENDS += "bison flex python libsepol libselinux libxml2"

I suspect the above is incorrect, shouldn't this be "bison-native" (or 
"bison-native bison")?

During cross compilation, it's the native bison that produces the .c code.

--Mark

>
>   PACKAGE_BEFORE_PN += "${PN}-libs"
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS
  2014-05-22 13:56 ` Mark Hatle
@ 2014-05-23  1:50   ` Chong Lu
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Lu @ 2014-05-23  1:50 UTC (permalink / raw)
  To: Mark Hatle, yocto


On 05/22/2014 09:56 PM, Mark Hatle wrote:
> On 5/21/14, 10:28 PM, Chong Lu wrote:
>> Avoid policy_scan.c: No such file or directory
>>
>> Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
>> ---
>>   recipes-security/setools/setools_3.3.8.bb |    2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-security/setools/setools_3.3.8.bb 
>> b/recipes-security/setools/setools_3.3.8.bb
>> index 1e95a60..3425064 100644
>> --- a/recipes-security/setools/setools_3.3.8.bb
>> +++ b/recipes-security/setools/setools_3.3.8.bb
>> @@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = 
>> "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \
>> file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
>> file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24"
>>
>> -DEPENDS += "python libsepol libselinux libxml2"
>> +DEPENDS += "bison flex python libsepol libselinux libxml2"
>
> I suspect the above is incorrect, shouldn't this be "bison-native" (or 
> "bison-native bison")?
>
> During cross compilation, it's the native bison that produces the .c 
> code.
>
> --Mark
Yes, you are right. This should be bison-native and flex-native.
I will resend V2.

Best Regards
Chong
>
>>
>>   PACKAGE_BEFORE_PN += "${PN}-libs"
>>
>>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-23  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22  3:28 [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS Chong Lu
2014-05-22 13:56 ` Mark Hatle
2014-05-23  1:50   ` Chong Lu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.