setools: Add bison and flex to DEPENDS
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
@@ -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
Quoted 12 lines · Chong Lu
Avoid
policy_scan.c: No such file or directorySigned-off-by Chong Lu <[email protected]>--- 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
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
-0PACKAGE_BEFORE_PN += "${PN}-libs"
Quoted 17 lines · Mark Hatle
Quoted 16 lines · Chong Lu
Avoid
policy_scan.c: No such file or directorySigned-off-by Chong Lu <[email protected]>--- 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@@ -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"