From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0EE48E00A2F; Thu, 22 May 2014 18:50:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,RDNS_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [147.11.146.13 listed in list.dnswl.org] * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Received: from mail1.windriver.com (unknown [147.11.146.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EAFF2E00A2F for ; Thu, 22 May 2014 18:50:10 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s4N1o9Vt016352 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 22 May 2014 18:50:09 -0700 (PDT) Received: from [128.224.162.204] (128.224.162.204) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.169.1; Thu, 22 May 2014 18:50:08 -0700 Message-ID: <537EA94D.5010509@windriver.com> Date: Fri, 23 May 2014 09:50:05 +0800 From: Chong Lu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Mark Hatle , References: <1400729319-1099-1-git-send-email-Chong.Lu@windriver.com> <537E01FE.9010804@windriver.com> In-Reply-To: <537E01FE.9010804@windriver.com> X-Originating-IP: [128.224.162.204] Subject: Re: [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 01:50:15 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 >> --- >> 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" >> >> >