Skip to contentSkip to conversation

rpm 5.4.9: DEPENDS on bison-native

PATCH Applied Robert Yang 3 participants 5 messages Sep 18, 2012 – Sep 21, 2012

lore
Share & tools
lore
#0 lore raw

cover rpm 5.4.9: DEPENDS on bison-native

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(-)
Signature · 1 line
1.7.11.2
#1 lore raw

PATCH 1/1 rpm 5.4.9: DEPENDS on bison-native

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]

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +2 -2
index e276cc3..ee0e86f 100644
@@ -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...
Signature · 1 line
1.7.11.2
#2 lore raw
Quoted 27 lines · Robert Yang

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]

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +0 -0
index e276cc3..ee0e86f 100644

meta/recipes-devtools/rpm/rpm_5.4.9.bb HOMEPAGE = "http://rpm5.org/" · line 46

Quoted 7 lines
meta/recipes-devtools/rpm/rpm_5.4.9.bb +2 -2
@@ -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

#3 lore raw
Quoted 39 lines · Richard Purdie
Quoted 27 lines · Robert Yang

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]

---
  meta/recipes-devtools/rpm/rpm_5.4.9.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/rpm/rpm_5.4.9.bb +0 -0
index e276cc3..ee0e86f 100644

meta/recipes-devtools/rpm/rpm_5.4.9.bb HOMEPAGE = "http://rpm5.org/" · line 46

Quoted 7 lines
meta/recipes-devtools/rpm/rpm_5.4.9.bb +2 -2
@@ -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:

Quoted 4 lines

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

Quoted 7 lines

Cheers,

Richard

Applied
#4 lore raw
In reply to Robert Yang
Quoted 6 lines · Robert Yang

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:

Quoted 9 lines

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!