From: Robert Yang <liezhi.yang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Zhenfeng.Zhao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] rpm 5.4.9: DEPENDS on bison-native
Date: Tue, 18 Sep 2012 19:45:43 +0800 [thread overview]
Message-ID: <50585EE7.6070705@windriver.com> (raw)
In-Reply-To: <1347964133.13596.108.camel@ted>
On 09/18/2012 06:28 PM, Richard Purdie wrote:
> On Tue, 2012-09-18 at 18:18 +0800, Robert Yang wrote:
>> The rpm should depend on bison-native, otherwise errors when "bitbake
>> rpm-native" in a fresh build:
>>
>> | make[4]: Entering directory `/path/to/rpm-native-5.4.9-r46/rpm-5.4.9/syck/lib'
>> | bison -d -t -v -p syck -o gram.c gram.y
>> | make[4]: bison: Command not found
>>
>> Basically, both the rpm-native and rpm should depend on bison-native,
>> but don't need depend on bison, but it seems that it isn't necessary
>> to add another depend line:
>>
>> DEPENDS_virtclass-native = "libpcre-native ... bison-native"
>>
>> So just add it to the DEPENDS.
>>
>> [YOCTO #3123]
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
>> index e276cc3..ee0e86f 100644
>> --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
>> +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
>> @@ -42,8 +42,8 @@ HOMEPAGE = "http://rpm5.org/"
>> LICENSE = "LGPLv2.1"
>> LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
>>
>> -DEPENDS = "libpcre attr acl popt ossp-uuid file"
>> -PR = "r46"
>> +DEPENDS = "libpcre attr acl popt ossp-uuid file bison"
>> +PR = "r47"
>
> According to what you wrote above ("but don't need depend on bison"),
> this should be:
>
> DEPENDS = "libpcre attr acl popt ossp-uuid file bison-native"
>
> ?
>
Yes, thanks, what I had thought was that rpm-native would depend on
bison-native, but missed rpm's depends.
I have updated it and pushed into the git repo:
git://git.pokylinux.org/poky-contrib robert/rpmdepend
// Robert
> Cheers,
>
> Richard
>
>
>
>
next prev parent reply other threads:[~2012-09-18 12:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 10:18 [PATCH 0/1] rpm 5.4.9: DEPENDS on bison-native Robert Yang
2012-09-18 10:18 ` [PATCH 1/1] " Robert Yang
2012-09-18 10:28 ` Richard Purdie
2012-09-18 11:45 ` Robert Yang [this message]
2012-09-21 22:16 ` [PATCH 0/1] " Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50585EE7.6070705@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox