* [PATCH] eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc
@ 2011-07-29 7:17 Martin Jansa
2011-07-29 7:34 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2011-07-29 7:17 UTC (permalink / raw)
To: openembedded-core
* 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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++----
meta/recipes-core/eglibc/eglibc.inc | 2 --
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 7646ea4..4de882e 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -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
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 1b2e630..0f97f82 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -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
--
1.7.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc
2011-07-29 7:17 [PATCH] eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc Martin Jansa
@ 2011-07-29 7:34 ` Martin Jansa
2011-08-02 17:27 ` Saul Wold
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2011-07-29 7:34 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
On Fri, Jul 29, 2011 at 09:17:31AM +0200, Martin Jansa wrote:
> * 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
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,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc
2011-07-29 7:34 ` Martin Jansa
@ 2011-08-02 17:27 ` Saul Wold
2011-08-08 7:56 ` [PATCH 10/10] eglibc: " Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Saul Wold @ 2011-08-02 17:27 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On 07/29/2011 12:34 AM, Martin Jansa wrote:
> On Fri, Jul 29, 2011 at 09:17:31AM +0200, Martin Jansa wrote:
>> * 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
>
> 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).
>
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!
> Regards,
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 10/10] eglibc: remove PACKAGES from eglibc.inc
2011-08-02 17:27 ` Saul Wold
@ 2011-08-08 7:56 ` Martin Jansa
2011-08-08 13:00 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2011-08-08 7:56 UTC (permalink / raw)
To: openembedded-core
* 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 <Martin.Jansa@gmail.com>
---
meta/recipes-core/eglibc/eglibc.inc | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 1b2e630..0f97f82 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -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
--
1.7.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 10/10] eglibc: remove PACKAGES from eglibc.inc
2011-08-08 7:56 ` [PATCH 10/10] eglibc: " Martin Jansa
@ 2011-08-08 13:00 ` Richard Purdie
0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2011-08-08 13:00 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Mon, 2011-08-08 at 09:56 +0200, Martin Jansa wrote:
> * 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 <Martin.Jansa@gmail.com>
> ---
> meta/recipes-core/eglibc/eglibc.inc | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
> index 1b2e630..0f97f82 100644
> --- a/meta/recipes-core/eglibc/eglibc.inc
> +++ b/meta/recipes-core/eglibc/eglibc.inc
> @@ -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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-08 13:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-29 7:17 [PATCH] eglibc: unify eglibc-utils/${PN}-utils and remove PACKAGES from eglibc.inc Martin Jansa
2011-07-29 7:34 ` Martin Jansa
2011-08-02 17:27 ` Saul Wold
2011-08-08 7:56 ` [PATCH 10/10] eglibc: " Martin Jansa
2011-08-08 13:00 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox