Skip to contentSkip to conversation

core: recipes: fix some native tools dependencies

PATCH Superseded Sumit Garg 3 participants 4 messages Jan 21, 2020 – Jan 30, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sumit Garg

author
#0 lore raw

PATCH 1/1 core: recipes: fix some native tools dependencies

Some native tools dependency issues were seen while building with external GCC tool-set rather than source GCC tool-set. While building with source tool-set these dependencies were implicitly met which is not the case with external tool-set. So explicitly state these native tools dependencies.

---
 meta/recipes-extended/man-db/man-db_2.8.7.bb       | 2 +-
 meta/recipes-extended/psmisc/psmisc.inc            | 2 +-
 meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/man-db/man-db_2.8.7.bb +1 -1
index 083b237..0d73b03 100644
@@ -10,7 +10,7 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
 SRC_URI[md5sum] = "ec0b23c8314a1654c4d059b2c18ce43d"
 SRC_URI[sha256sum] = "b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326"
 
-DEPENDS = "libpipeline gdbm groff-native base-passwd"
+DEPENDS = "libpipeline gdbm groff-native base-passwd flex-native"
 RDEPENDS_${PN} += "base-passwd"
 
 # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr'
meta/recipes-extended/psmisc/psmisc.inc +1 -1
index 594a10c..6de5acb 100644
@@ -7,7 +7,7 @@ command sends a specified signal (SIGTERM if nothing is specified) to \
 processes identified by name.  The fuser command identifies the PIDs \
 of processes that are using specified files or filesystems."
 SECTION = "base"
-DEPENDS = "ncurses virtual/libintl gettext-native"
+DEPENDS = "ncurses virtual/libintl gettext-native xz-native"
 LICENSE = "GPLv2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
meta/recipes-graphics/xorg-app/xorg-app-common.inc +1 -1
index 3529cb2..211e399 100644
@@ -12,6 +12,6 @@ INC_PR = "r8"
 
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 5 lines · Sumit Garg

Some native tools dependency issues were seen while building with external GCC tool-set rather than source GCC tool-set. While building with source tool-set these dependencies were implicitly met which is not the case with external tool-set. So explicitly state these native tools dependencies.

Do these changes need to be in master?

- armin

Quoted 45 lines
---
 meta/recipes-extended/man-db/man-db_2.8.7.bb       | 2 +-
 meta/recipes-extended/psmisc/psmisc.inc            | 2 +-
 meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/man-db/man-db_2.8.7.bb +1 -1
index 083b237..0d73b03 100644
@@ -10,7 +10,7 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
 SRC_URI[md5sum] = "ec0b23c8314a1654c4d059b2c18ce43d"
 SRC_URI[sha256sum] = "b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326"
 
-DEPENDS = "libpipeline gdbm groff-native base-passwd"
+DEPENDS = "libpipeline gdbm groff-native base-passwd flex-native"
 RDEPENDS_${PN} += "base-passwd"
 
 # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr'
meta/recipes-extended/psmisc/psmisc.inc +1 -1
index 594a10c..6de5acb 100644
@@ -7,7 +7,7 @@ command sends a specified signal (SIGTERM if nothing is specified) to \
 processes identified by name.  The fuser command identifies the PIDs \
 of processes that are using specified files or filesystems."
 SECTION = "base"
-DEPENDS = "ncurses virtual/libintl gettext-native"
+DEPENDS = "ncurses virtual/libintl gettext-native xz-native"
 LICENSE = "GPLv2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
meta/recipes-graphics/xorg-app/xorg-app-common.inc +1 -1
index 3529cb2..211e399 100644
@@ -12,6 +12,6 @@ INC_PR = "r8"
 
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"
#2 lore raw

I think a separate, somewhat different patch was sent for master?

Alex

Quoted 65 lines · On Wed, 29 Jan 2020 at 17:15, akuster808 <[email protected]> wrote:
Quoted 5 lines · Sumit Garg

Some native tools dependency issues were seen while building with external GCC tool-set rather than source GCC tool-set. While building with source tool-set these dependencies were implicitly met which is not the case with external tool-set. So explicitly state these native tools dependencies.

Do these changes need to be in master?

- armin

Review

Quoted 8 lines
---
 meta/recipes-extended/man-db/man-db_2.8.7.bb       | 2 +-
 meta/recipes-extended/psmisc/psmisc.inc            | 2 +-
 meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/meta/recipes-extended/man-db/man-db_2.8.7.bb

meta/recipes-extended/man-db/man-db_2.8.7.bb SRC_URI =

Quoted 4 lines

index 083b237..0d73b03 100644

meta/recipes-extended/man-db/man-db_2.8.7.bb +0 -0
@@ -10,7 +10,7 @@ SRC_URI =

"${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \

meta/recipes-extended/man-db/man-db_2.8.7.bb SRC_URI = · line 11

Quoted 2 lines
meta/recipes-extended/man-db/man-db_2.8.7.bb +0 -0
 SRC_URI[md5sum] = "ec0b23c8314a1654c4d059b2c18ce43d"
 SRC_URI[sha256sum] =

"b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326"

meta/recipes-extended/man-db/man-db_2.8.7.bb SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \

Quoted 6 lines
meta/recipes-extended/man-db/man-db_2.8.7.bb +1 -1
-DEPENDS = "libpipeline gdbm groff-native base-passwd"
+DEPENDS = "libpipeline gdbm groff-native base-passwd flex-native"
 RDEPENDS_${PN} += "base-passwd"
 
 # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939:

undefined reference to `_nl_msg_cat_cntr'

Review

Quoted 1 line
(quoted diff) +0 -0

b/meta/recipes-extended/psmisc/psmisc.inc

meta/recipes-extended/psmisc/psmisc.inc command sends a specified signal (SIGTERM if nothing is

Quoted 4 lines

index 594a10c..6de5acb 100644

meta/recipes-extended/psmisc/psmisc.inc +0 -0
@@ -7,7 +7,7 @@ command sends a specified signal (SIGTERM if nothing is

specified) to \

Review

Quoted 9 lines
meta/recipes-extended/psmisc/psmisc.inc +1 -1
 processes identified by name.  The fuser command identifies the PIDs \
 of processes that are using specified files or filesystems."
 SECTION = "base"
-DEPENDS = "ncurses virtual/libintl gettext-native"
+DEPENDS = "ncurses virtual/libintl gettext-native xz-native"
 LICENSE = "GPLv2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
(quoted diff) +0 -0

b/meta/recipes-graphics/xorg-app/xorg-app-common.inc

Quoted 11 lines

index 3529cb2..211e399 100644

meta/recipes-graphics/xorg-app/xorg-app-common.inc +1 -1
@@ -12,6 +12,6 @@ INC_PR = "r8"
 
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"
author
#3 lore raw
Quoted 3 lines · Alexander Kanavin

I think a separate, somewhat different patch was sent for master?

Correct.

Patch for master: https://patchwork.openembedded.org/patch/169288/
Patch for zeus: https://patchwork.openembedded.org/patch/169289/

-Sumit

Quoted 61 lines

Alex

Quoted 58 lines · On Wed, 29 Jan 2020 at 17:15, akuster808 <[email protected]> wrote:
Quoted 5 lines · Sumit Garg

Some native tools dependency issues were seen while building with external GCC tool-set rather than source GCC tool-set. While building with source tool-set these dependencies were implicitly met which is not the case with external tool-set. So explicitly state these native tools dependencies.

Do these changes need to be in master?

- armin

Quoted 45 lines
---
 meta/recipes-extended/man-db/man-db_2.8.7.bb       | 2 +-
 meta/recipes-extended/psmisc/psmisc.inc            | 2 +-
 meta/recipes-graphics/xorg-app/xorg-app-common.inc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/man-db/man-db_2.8.7.bb +1 -1
index 083b237..0d73b03 100644
@@ -10,7 +10,7 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
 SRC_URI[md5sum] = "ec0b23c8314a1654c4d059b2c18ce43d"
 SRC_URI[sha256sum] = "b9cd5bb996305d08bfe9e1114edc30b4c97be807093b88af8033ed1cf9beb326"
 
-DEPENDS = "libpipeline gdbm groff-native base-passwd"
+DEPENDS = "libpipeline gdbm groff-native base-passwd flex-native"
 RDEPENDS_${PN} += "base-passwd"
 
 # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr'
meta/recipes-extended/psmisc/psmisc.inc +1 -1
index 594a10c..6de5acb 100644
@@ -7,7 +7,7 @@ command sends a specified signal (SIGTERM if nothing is specified) to \
 processes identified by name.  The fuser command identifies the PIDs \
 of processes that are using specified files or filesystems."
 SECTION = "base"
-DEPENDS = "ncurses virtual/libintl gettext-native"
+DEPENDS = "ncurses virtual/libintl gettext-native xz-native"
 LICENSE = "GPLv2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
meta/recipes-graphics/xorg-app/xorg-app-common.inc +1 -1
index 3529cb2..211e399 100644
@@ -12,6 +12,6 @@ INC_PR = "r8"
 
 SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.bz2"
 
-inherit autotools pkgconfig distro_features_check
+inherit autotools pkgconfig distro_features_check gettext
 
 FILES_${PN} += " ${libdir}/X11/${BPN} ${datadir}/X11/app-defaults/"