eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc
PATCH 1/1 eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only
* 37ff0fea8f7180b1a9d91d24dfe1735730427497 changed RPROVIDES_eglibc-utils, but ie FILES_ were still using eglibc-utils instead of ${PN}-utils, unify all eglibc-utils
--- meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++---- meta/recipes-core/eglibc/eglibc.inc | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-)
meta/recipes-core/eglibc/eglibc-package.inc +4 -4
@@ -65,11 +65,11 @@ FILES_libsotruss${PKGSUFFIX} = "${libdir}/audit/sotruss-lib.so" FILES_eglibc-dev_append += "${bindir}/rpcgen ${libdir}/*.a \ ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal" FILES_nscd${PKGSUFFIX} = "${sbindir}/nscd*" -FILES_eglibc-utils = "${bindir}/* ${sbindir}/*" +FILES_${PN}-utils = "${bindir}/* ${sbindir}/*" FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/audit/.debug" FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" -RDEPENDS_eglibc-utils += "bash" +RDEPENDS_${PN}-utils += "bash" FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so" FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so" RPROVIDES_eglibc-dev += "libc-dev"
@@ -82,8 +82,8 @@ SUMMARY_eglibc-extra-nss = "hesiod, NIS and NIS+ nss libraries" DESCRIPTION_eglibc-extra-nss = "eglibc: nis, nisplus and hesiod search services." SUMMARY_ldd = "print shared library dependencies" DESCRIPTION_ldd = "/usr/bin/ldd prints shared library dependencies for each program or shared library specified on the command line." -SUMMARY_eglibc-utils = "Miscellaneous utilities provided by eglibc" -DESCRIPTION_eglibc-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." +SUMMARY_${PN}-utils = "Miscellaneous utilities provided by eglibc" +DESCRIPTION_${PN}-utils = "Miscellaneous utilities including getconf, iconf, locale, gencat, tzselect, zic, rpcinfo, ..." DESCRIPTION_libsotruss = "Library to support sotruss which traces calls through PLTs" inherit libc-common multilib_header
meta/recipes-core/eglibc/eglibc.inc +0 -2
@@ -41,8 +41,6 @@ EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}"" EXTRA_OEMAKE += ${EGLIBCPARALLELISM} PARALLEL_MAKE = "" -PACKAGES = "glibc catchsegv sln nscd ldd glibc-utils glibc-dev glibc-doc libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile" - OE_FEATURES = "${@features_to_eglibc_settings(d)}" do_configure_prepend() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
Signature · 1 line
1.7.6
Quoted 5 lines · Martin Jansa
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only
*37ff0fea8f7180b1a9d91d24dfe1735730427497changed RPROVIDES_eglibc-utils, but ieFILES_were still using eglibc-utils instead of ${PN}-utils, unify all eglibc-utils
BTW: there is still problem with ie
RPROVIDES_${PN}-utils = "glibc-utils"
leading to
ERROR: Trying to resolve runtime dependency glibc-utils resulted in conflicting PREFERRED_PROVIDER entries being found.
The providers found were: ['virtual:nativesdk:/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb', '/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb'] The PREFERRED_PROVIDER entries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc']
NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain)
NOTE: consider defining a PREFERRED_PROVIDER entry to match glibc-utils
now with glibc recipes removed, do we need to RPROVIDE this or can we fix recipes RDEPENDing on glibc-utils to use eglibc-utils directly?
otherwise we should fix right side to use ${PN/eglibc/glibc} to keep eglibc-nativesdk from providing glibc-utils (glibc-nativesdk-utils only).
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 16 lines · Martin Jansa
Quoted 5 lines · Martin Jansa
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only
*37ff0fea8f7180b1a9d91d24dfe1735730427497changed RPROVIDES_eglibc-utils, but ieFILES_were still using eglibc-utils instead of ${PN}-utils, unify all eglibc-utilsBTW: there is still problem with ie
RPROVIDES_${PN}-utils = "glibc-utils"
leading to
ERROR: Trying to resolve runtime dependency glibc-utils resulted in conflictingPREFERRED_PROVIDERentries being found.
The providers found were: ['virtual:nativesdk:/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb', '/OE/shr-core/openembedded-core/meta/recipes-core/eglibc/eglibc_2.13.bb'] ThePREFERRED_PROVIDERentries resulting in this conflict were: ['PREFERRED_PROVIDER_virtual/libc-nativesdk = eglibc-nativesdk', 'PREFERRED_PROVIDER_virtual/libc = eglibc']
NOTE: multiple providers are available for runtime glibc-utils (eglibc, eglibc-nativesdk, external-csl-toolchain, external-poky-toolchain)
NOTE: consider defining aPREFERRED_PROVIDERentry to match glibc-utils
Quoted 6 lines
now with glibc recipes removed, do we need to RPROVIDE this or can we fix recipes RDEPENDing on glibc-utils to use eglibc-utils directly?
otherwise we should fix right side to use ${PN/eglibc/glibc} to keep eglibc-nativesdk from providing glibc-utils (glibc-nativesdk-utils only).
Martin,
Richard pushed a fix to this and possibly addressed most of your changes in the above patch also, please rebase you patch against the oe-core/master and resend if you have any additional fixes to make in this area.
Thanks
Sau!
Quoted 9 lines
Regards,
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
PATCH 10/10 eglibc: remove PACKAGES from eglibc.inc
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only
--- meta/recipes-core/eglibc/eglibc.inc | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
meta/recipes-core/eglibc/eglibc.inc +0 -2
@@ -41,8 +41,6 @@ EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}"" EXTRA_OEMAKE += ${EGLIBCPARALLELISM} PARALLEL_MAKE = "" -PACKAGES = "glibc catchsegv sln nscd ldd glibc-utils glibc-dev glibc-doc libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile" - OE_FEATURES = "${@features_to_eglibc_settings(d)}" do_configure_prepend() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
Signature · 1 line
1.7.6
Richard Purdie
AppliedRe: [PATCH 10/10] eglibc: remove PACKAGES from eglibc.inc
Quoted 13 lines · Martin Jansa
* PACKAGES were defined in eglibc.inc as well as eglibc-package.inc, definition from eglibc.inc was overriden from recipes including eglibc.inc only
Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-core/eglibc/eglibc.inc | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)meta/recipes-core/eglibc/eglibc.inc +0
-0
meta/recipes-core/eglibc/eglibc.inc EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}"" · line 46
Quoted 8 lines
meta/recipes-core/eglibc/eglibc.inc +0
-2@@ -41,8 +41,6 @@ EGLIBCPARALLELISM := "PARALLELMFLAGS="${PARALLEL_MAKE}"" EXTRA_OEMAKE += ${EGLIBCPARALLELISM} PARALLEL_MAKE = "" -PACKAGES = "glibc catchsegv sln nscd ldd glibc-utils glibc-dev glibc-doc libsegfault glibc-extra-nss glibc-thread-db glibc-pcprofile" - OE_FEATURES = "${@features_to_eglibc_settings(d)}" do_configure_prepend() { sed -e "s#@BASH@#/bin/sh#" -i ${S}/elf/ldd.bash.in
Merged to master, thanks.
Richard