Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package
@ 2013-04-02  3:18 Khem Raj
  2013-04-02 16:46 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2013-04-02  3:18 UTC (permalink / raw)
  To: openembedded-core

eglibc-extra-nss-dev is a dependency for libc6-dev but
the package is empty and is not created as a result target
install of libc6-dev fails. This will create an empty package

[Yocto Bug #4168]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 88a00a4..ca0cc4c 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -17,7 +17,9 @@ python __anonymous () {
 # Set this to zero if you don't want ldconfig in the output package
 USE_LDCONFIG ?= "1"
 
-PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
+PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
+
+ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"
 
 # The ld.so in this eglibc supports the GNU_HASH
 RPROVIDES_${PN} = "glibc rtld(GNU_HASH)"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package
  2013-04-02  3:18 [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package Khem Raj
@ 2013-04-02 16:46 ` Richard Purdie
  2013-04-02 19:27   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2013-04-02 16:46 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Mon, 2013-04-01 at 20:18 -0700, Khem Raj wrote:
> eglibc-extra-nss-dev is a dependency for libc6-dev but
> the package is empty and is not created as a result target
> install of libc6-dev fails. This will create an empty package
> 
> [Yocto Bug #4168]
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
> index 88a00a4..ca0cc4c 100644
> --- a/meta/recipes-core/eglibc/eglibc-package.inc
> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
> @@ -17,7 +17,9 @@ python __anonymous () {
>  # Set this to zero if you don't want ldconfig in the output package
>  USE_LDCONFIG ?= "1"
>  
> -PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
> +PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
> +
> +ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"

As discussed in the bug, I think this is an issue with smart erroring on
recommends which it shouldn't do. More investigation/discussion
therefore needed as this patch just fixes one issue and there will be
others.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package
  2013-04-02 16:46 ` Richard Purdie
@ 2013-04-02 19:27   ` Khem Raj
  2013-04-02 19:41     ` Mark Hatle
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2013-04-02 19:27 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core


On Apr 2, 2013, at 9:46 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:

> On Mon, 2013-04-01 at 20:18 -0700, Khem Raj wrote:
>> eglibc-extra-nss-dev is a dependency for libc6-dev but
>> the package is empty and is not created as a result target
>> install of libc6-dev fails. This will create an empty package
>> 
>> [Yocto Bug #4168]
>> 
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
>> index 88a00a4..ca0cc4c 100644
>> --- a/meta/recipes-core/eglibc/eglibc-package.inc
>> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
>> @@ -17,7 +17,9 @@ python __anonymous () {
>> # Set this to zero if you don't want ldconfig in the output package
>> USE_LDCONFIG ?= "1"
>> 
>> -PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
>> +PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
>> +
>> +ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"
> 
> As discussed in the bug, I think this is an issue with smart erroring on
> recommends which it shouldn't do. More investigation/discussion
> therefore needed as this patch just fixes one issue and there will be
> others.
> 

I agree. If its smart issue lets fix smart instead.

> Cheers,
> 
> Richard
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package
  2013-04-02 19:27   ` Khem Raj
@ 2013-04-02 19:41     ` Mark Hatle
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2013-04-02 19:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Paul Eggleton

On 4/2/13 2:27 PM, Khem Raj wrote:
>
> On Apr 2, 2013, at 9:46 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
>
>> On Mon, 2013-04-01 at 20:18 -0700, Khem Raj wrote:
>>> eglibc-extra-nss-dev is a dependency for libc6-dev but
>>> the package is empty and is not created as a result target
>>> install of libc6-dev fails. This will create an empty package
>>>
>>> [Yocto Bug #4168]
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>> meta/recipes-core/eglibc/eglibc-package.inc |    4 +++-
>>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
>>> index 88a00a4..ca0cc4c 100644
>>> --- a/meta/recipes-core/eglibc/eglibc-package.inc
>>> +++ b/meta/recipes-core/eglibc/eglibc-package.inc
>>> @@ -17,7 +17,9 @@ python __anonymous () {
>>> # Set this to zero if you don't want ldconfig in the output package
>>> USE_LDCONFIG ?= "1"
>>>
>>> -PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc"
>>> +PACKAGES = "${PN}-dbg catchsegv sln nscd ldd ${PN}-utils eglibc-thread-db ${PN}-pic libcidn libmemusage libsegfault ${PN}-pcprofile libsotruss ${PN} eglibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc eglibc-extra-nss-dev"
>>> +
>>> +ALLOW_EMPTY_eglibc-extra-nss-dev  = "1"
>>
>> As discussed in the bug, I think this is an issue with smart erroring on
>> recommends which it shouldn't do. More investigation/discussion
>> therefore needed as this patch just fixes one issue and there will be
>> others.
>>
>
> I agree. If its smart issue lets fix smart instead.

Bug 3723 - smart: Performance enhancement for attemptonly and complementary installs

The purpose of this bug is to fix recommends processing to deal with failures 
gracefully.  It should simply detect the failure and then back off the one item, 
but continue the install progress.

--Mark

>> Cheers,
>>
>> Richard
>>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-02 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-02  3:18 [PATCH] eglibc: Let eglibc-extra-nss-dev exist as empty package Khem Raj
2013-04-02 16:46 ` Richard Purdie
2013-04-02 19:27   ` Khem Raj
2013-04-02 19:41     ` Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox