* [PATCH 0/1] rpm 5.4.9: DEPENDS on bison-native
@ 2012-09-18 10:18 Robert Yang
2012-09-18 10:18 ` [PATCH 1/1] " Robert Yang
2012-09-21 22:16 ` [PATCH 0/1] " Saul Wold
0 siblings, 2 replies; 5+ messages in thread
From: Robert Yang @ 2012-09-18 10:18 UTC (permalink / raw)
To: openembedded-core; +Cc: Zhenfeng.Zhao
The following changes since commit 913944d904266bf90af0cad94b4f0fb3652bd29d:
upstream_tracking: update lsb and ltp (2012-09-14 17:12:52 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/rpmdepend
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/rpmdepend
Robert Yang (1):
rpm 5.4.9: DEPENDS on bison-native
meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.7.11.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] rpm 5.4.9: DEPENDS on bison-native
2012-09-18 10:18 [PATCH 0/1] rpm 5.4.9: DEPENDS on bison-native Robert Yang
@ 2012-09-18 10:18 ` Robert Yang
2012-09-18 10:28 ` Richard Purdie
2012-09-21 22:16 ` [PATCH 0/1] " Saul Wold
1 sibling, 1 reply; 5+ messages in thread
From: Robert Yang @ 2012-09-18 10:18 UTC (permalink / raw)
To: openembedded-core; +Cc: Zhenfeng.Zhao
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"
# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
# in order to extract the distribution SRPM into a format we can extract...
--
1.7.11.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] rpm 5.4.9: DEPENDS on bison-native
2012-09-18 10:18 ` [PATCH 1/1] " Robert Yang
@ 2012-09-18 10:28 ` Richard Purdie
2012-09-18 11:45 ` Robert Yang
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2012-09-18 10:28 UTC (permalink / raw)
To: Robert Yang; +Cc: Zhenfeng.Zhao, openembedded-core
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"
?
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] rpm 5.4.9: DEPENDS on bison-native
2012-09-18 10:28 ` Richard Purdie
@ 2012-09-18 11:45 ` Robert Yang
0 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2012-09-18 11:45 UTC (permalink / raw)
To: Richard Purdie; +Cc: Zhenfeng.Zhao, openembedded-core
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
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] rpm 5.4.9: DEPENDS on bison-native
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-21 22:16 ` Saul Wold
1 sibling, 0 replies; 5+ messages in thread
From: Saul Wold @ 2012-09-21 22:16 UTC (permalink / raw)
To: Robert Yang; +Cc: Zhenfeng.Zhao, openembedded-core
On 09/18/2012 03:18 AM, Robert Yang wrote:
> The following changes since commit 913944d904266bf90af0cad94b4f0fb3652bd29d:
>
> upstream_tracking: update lsb and ltp (2012-09-14 17:12:52 +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib robert/rpmdepend
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/rpmdepend
>
> Robert Yang (1):
> rpm 5.4.9: DEPENDS on bison-native
>
> meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-09-21 22:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-09-21 22:16 ` [PATCH 0/1] " Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox