Skip to contentSkip to conversation

setools: Add bison and flex to DEPENDS

PATCH Superseded Chong Lu 2 participants 3 messages May 22, 2014 – May 23, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Chong Lu

author
#0 lore raw

PATCH 1/1 setools: Add bison and flex to DEPENDS

Avoid policy_scan.c: No such file or directory

---
 recipes-security/setools/setools_3.3.8.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/setools/setools_3.3.8.bb +1 -1
index 1e95a60..3425064 100644
@@ -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"
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 12 lines · Chong Lu

Avoid policy_scan.c: No such file or directory

---
  recipes-security/setools/setools_3.3.8.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/setools/setools_3.3.8.bb +0 -0
index 1e95a60..3425064 100644

recipes-security/setools/setools_3.3.8.bb LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \ · line 30

Quoted 5 lines
recipes-security/setools/setools_3.3.8.bb +1 -1
@@ -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

Quoted 4 lines
recipes-security/setools/setools_3.3.8.bb +0 -0
  PACKAGE_BEFORE_PN += "${PN}-libs"
 
 
author
#2 lore raw
Quoted 17 lines · Mark Hatle
Quoted 16 lines · Chong Lu

Avoid policy_scan.c: No such file or directory

---
  recipes-security/setools/setools_3.3.8.bb |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/setools/setools_3.3.8.bb +0 -0
index 1e95a60..3425064 100644
@@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = 
 "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \
 file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \

file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24"

Quoted 8 lines

recipes-security/setools/setools_3.3.8.bb LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \ · line 30

Quoted 2 lines
recipes-security/setools/setools_3.3.8.bb +1 -1
-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

Quoted 6 lines
Quoted 5 lines

  PACKAGE_BEFORE_PN += "${PN}-libs"