All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] eglibc-locale: fix localedef packaging
@ 2011-06-28 15:30 Koen Kooi
  2011-06-28 16:11 ` Richard Purdie
  0 siblings, 1 reply; 14+ messages in thread
From: Koen Kooi @ 2011-06-28 15:30 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

the ${PN} still needs some checking, since it will now inheriting the default FILES_${PN}

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/recipes-core/eglibc/eglibc-locale.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index ed6c099..fdc4fb4 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -26,12 +26,12 @@ BINARY_LOCALE_ARCHES ?= "arm.* i[3-6]86 x86_64 powerpc mips"
 # set "0" for qemu emulation of native localedef for locale generation
 LOCALE_GENERATION_WITH_CROSS-LOCALEDEF = "1"
 
-PR = "r0"
+PR = "r1"
 
 PKGSUFFIX = ""
 PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
 
-PACKAGES = "eglibc-locale localedef${PKGSUFFIX}"
+PACKAGES = "localedef${PKGSUFFIX} glibc-locale"
 
 PACKAGES_DYNAMIC = "locale-base-* \
                     eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
-- 
1.6.6.1




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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-28 15:30 [PATCH] eglibc-locale: fix localedef packaging Koen Kooi
@ 2011-06-28 16:11 ` Richard Purdie
  2011-06-28 20:32   ` Koen Kooi
  2011-06-29 22:31   ` Koen Kooi
  0 siblings, 2 replies; 14+ messages in thread
From: Richard Purdie @ 2011-06-28 16:11 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi

On Tue, 2011-06-28 at 17:30 +0200, Koen Kooi wrote:
> the ${PN} still needs some checking, since it will now inheriting the default FILES_${PN}
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

I merged a different version of this which drops PN-locale and fixes
glibc too.

Cheers,

Richard




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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-28 16:11 ` Richard Purdie
@ 2011-06-28 20:32   ` Koen Kooi
  2011-06-29 13:36     ` Phil Blundell
  2011-06-29 22:31   ` Koen Kooi
  1 sibling, 1 reply; 14+ messages in thread
From: Koen Kooi @ 2011-06-28 20:32 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer


Op 28 jun 2011, om 18:11 heeft Richard Purdie het volgende geschreven:

> On Tue, 2011-06-28 at 17:30 +0200, Koen Kooi wrote:
>> the ${PN} still needs some checking, since it will now inheriting the default FILES_${PN}
>> 
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> 
> I merged a different version of this which drops PN-locale and fixes
> glibc too.

From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9

+libc6 -> libc6_dev;

So libc6 now depends on libc6-dev :(





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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-28 20:32   ` Koen Kooi
@ 2011-06-29 13:36     ` Phil Blundell
  2011-06-29 13:49       ` Richard Purdie
  0 siblings, 1 reply; 14+ messages in thread
From: Phil Blundell @ 2011-06-29 13:36 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2011-06-28 at 22:32 +0200, Koen Kooi wrote:
> From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9
> 
> +libc6 -> libc6_dev;
> 
> So libc6 now depends on libc6-dev :(

I guess it would be straightforward to patch insane.bbclass to detect
that particular failure (which does indeed seem to happen to libc
distressingly often).  It already diagnoses the case where a package
erroneously depends on a -dbg package, and I can't think of any reason
why the same logic couldn't be applied to -dev.

p.





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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-29 13:36     ` Phil Blundell
@ 2011-06-29 13:49       ` Richard Purdie
  2011-06-30 11:17         ` Phil Blundell
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Purdie @ 2011-06-29 13:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-06-29 at 14:36 +0100, Phil Blundell wrote:
> On Tue, 2011-06-28 at 22:32 +0200, Koen Kooi wrote:
> > From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9
> > 
> > +libc6 -> libc6_dev;
> > 
> > So libc6 now depends on libc6-dev :(
> 
> I guess it would be straightforward to patch insane.bbclass to detect
> that particular failure (which does indeed seem to happen to libc
> distressingly often).  It already diagnoses the case where a package
> erroneously depends on a -dbg package, and I can't think of any reason
> why the same logic couldn't be applied to -dev.

I'd love to see a patch for this! :)

Cheers,

Richard




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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-28 16:11 ` Richard Purdie
  2011-06-28 20:32   ` Koen Kooi
@ 2011-06-29 22:31   ` Koen Kooi
  1 sibling, 0 replies; 14+ messages in thread
From: Koen Kooi @ 2011-06-29 22:31 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer


Op 28 jun 2011, om 18:11 heeft Richard Purdie het volgende geschreven:

> On Tue, 2011-06-28 at 17:30 +0200, Koen Kooi wrote:
>> the ${PN} still needs some checking, since it will now inheriting the default FILES_${PN}
>> 
>> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> 
> I merged a different version of this which drops PN-locale and fixes
> glibc too.

It's getting late here, so I haven't double checked the bug, but:

 * check_data_file_clashes: Package eglibc-utils wants to install file /usr/bin/localedef
        But that file is already provided by package  * localedef

This seems fixable by a strategically placed 'rm' in eglibc-package.inc


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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-29 13:49       ` Richard Purdie
@ 2011-06-30 11:17         ` Phil Blundell
  2011-06-30 11:24           ` Koen Kooi
                             ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Phil Blundell @ 2011-06-30 11:17 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
> On Wed, 2011-06-29 at 14:36 +0100, Phil Blundell wrote:
> > On Tue, 2011-06-28 at 22:32 +0200, Koen Kooi wrote:
> > > From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9
> > > 
> > > +libc6 -> libc6_dev;
> > > 
> > > So libc6 now depends on libc6-dev :(
> > 
> > I guess it would be straightforward to patch insane.bbclass to detect
> > that particular failure (which does indeed seem to happen to libc
> > distressingly often).  It already diagnoses the case where a package
> > erroneously depends on a -dbg package, and I can't think of any reason
> > why the same logic couldn't be applied to -dev.
> 
> I'd love to see a patch for this! :)

Your wish, naturally, is my command.  I've built micro-base-image with
this and verified that I didn't get any false positives; I also checked
(via some manual fiddling) that it did indeed detect the case that we
want it to.  

I guess it might be a good idea for someone to test it with a slightly
larger dataset before actually checking it in, just in case.

p.

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 35809b9..f7e5524 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -103,6 +103,7 @@ def package_qa_get_machine_dict():
 # 8 - .la contains reference to the workdir
 # 9 - LDFLAGS ignored
 # 10 - Build paths in binaries
+# 11 - package depends on devel package
 
 def package_qa_clean_path(path,d):
     """ Remove the common prefix from the path. In this case it is the TMPDIR"""
@@ -134,6 +135,7 @@ def package_qa_write_error(error_class, name, path, d):
         ".la contains reference to the workdir",
         "LDFLAGS ignored",
         "package contains reference to tmpdir paths",
+	"package depends on devel package",
     ]
 
     log_path = os.path.join( bb.data.getVar('T', d, True), "log.qa_package" )
@@ -493,12 +495,14 @@ def package_qa_check_rdepends(pkg, pkgdest, d):
         # Now check the RDEPENDS
         rdepends = bb.utils.explode_deps(bb.data.getVar('RDEPENDS', localdata, True) or "")
 
-
         # Now do the sanity check!!!
         for rdepend in rdepends:
             if "-dbg" in rdepend:
                 error_msg = "%s rdepends on %s" % (pkgname,rdepend)
                 sane = package_qa_handle_error(2, error_msg, pkgname, rdepend, d)
+	    if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"):
+	        error_msg = "%s rdepends on %s" % (pkgname, rdepend)
+                sane = package_qa_handle_error(11, error_msg, pkgname, rdepend, d)
 
     return sane
 





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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 11:17         ` Phil Blundell
@ 2011-06-30 11:24           ` Koen Kooi
  2011-06-30 13:04             ` Phil Blundell
  2011-06-30 14:54           ` Richard Purdie
  2011-07-05 13:05           ` Richard Purdie
  2 siblings, 1 reply; 14+ messages in thread
From: Koen Kooi @ 2011-06-30 11:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 30 jun 2011, om 13:17 heeft Phil Blundell het volgende geschreven:

> On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
>> On Wed, 2011-06-29 at 14:36 +0100, Phil Blundell wrote:
>>> On Tue, 2011-06-28 at 22:32 +0200, Koen Kooi wrote:
>>>> From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9
>>>> 
>>>> +libc6 -> libc6_dev;
>>>> 
>>>> So libc6 now depends on libc6-dev :(
>>> 
>>> I guess it would be straightforward to patch insane.bbclass to detect
>>> that particular failure (which does indeed seem to happen to libc
>>> distressingly often).  It already diagnoses the case where a package
>>> erroneously depends on a -dbg package, and I can't think of any reason
>>> why the same logic couldn't be applied to -dev.
>> 
>> I'd love to see a patch for this! :)
> 
> Your wish, naturally, is my command.  I've built micro-base-image with
> this and verified that I didn't get any false positives; I also checked
> (via some manual fiddling) that it did indeed detect the case that we
> want it to.  
> 
> I guess it might be a good idea for someone to test it with a slightly
> larger dataset before actually checking it in, just in case.

Does it whitelist recipes that inherit task.bbclass? I have tasks used for beagleboard workshops that drag in the native toolchain and headers for the things we need to build against (e.g. opencv, qt).

regards,

Koen


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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 11:24           ` Koen Kooi
@ 2011-06-30 13:04             ` Phil Blundell
  2011-06-30 13:40               ` Koen Kooi
  2011-06-30 14:54               ` Richard Purdie
  0 siblings, 2 replies; 14+ messages in thread
From: Phil Blundell @ 2011-06-30 13:04 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2011-06-30 at 13:24 +0200, Koen Kooi wrote:
> Does it whitelist recipes that inherit task.bbclass? I have tasks used for beagleboard workshops that drag in the native toolchain and headers for the things we need to build against (e.g. opencv, qt).

No.  The existing logic for -dbg packages, which I just reused for this
case, does:

    if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg:

but it doesn't have a check for inheritance as such.  If you can suggest
a good way to identify recipes that have inherited task then I'd be
happy to adjust the patch accordingly.

p.




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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 13:04             ` Phil Blundell
@ 2011-06-30 13:40               ` Koen Kooi
  2011-06-30 14:54               ` Richard Purdie
  1 sibling, 0 replies; 14+ messages in thread
From: Koen Kooi @ 2011-06-30 13:40 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 30 jun 2011, om 15:04 heeft Phil Blundell het volgende geschreven:

> On Thu, 2011-06-30 at 13:24 +0200, Koen Kooi wrote:
>> Does it whitelist recipes that inherit task.bbclass? I have tasks used for beagleboard workshops that drag in the native toolchain and headers for the things we need to build against (e.g. opencv, qt).
> 
> No.  The existing logic for -dbg packages, which I just reused for this
> case, does:
> 
>    if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg:
> 
> but it doesn't have a check for inheritance as such.  If you can suggest
> a good way to identify recipes that have inherited task then I'd be
> happy to adjust the patch accordingly.

The current logic seems to do what I want, but I remember something about being able to do 'if inherits(task)', but that was about 5 years :)


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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 11:17         ` Phil Blundell
  2011-06-30 11:24           ` Koen Kooi
@ 2011-06-30 14:54           ` Richard Purdie
  2011-06-30 15:53             ` Saul Wold
  2011-07-05 13:05           ` Richard Purdie
  2 siblings, 1 reply; 14+ messages in thread
From: Richard Purdie @ 2011-06-30 14:54 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2011-06-30 at 12:17 +0100, Phil Blundell wrote:
> On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
> > I'd love to see a patch for this! :)
> 
> Your wish, naturally, is my command.  I've built micro-base-image with
> this and verified that I didn't get any false positives; I also checked
> (via some manual fiddling) that it did indeed detect the case that we
> want it to.  
> 
> I guess it might be a good idea for someone to test it with a slightly
> larger dataset before actually checking it in, just in case.

Thanks, I'll let Saul try this against a wider build and assuming it
doesn't throw out too many issues we can get it merged.

Cheers,

Richard

> p.
> 
> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
> index 35809b9..f7e5524 100644
> --- a/meta/classes/insane.bbclass
> +++ b/meta/classes/insane.bbclass
> @@ -103,6 +103,7 @@ def package_qa_get_machine_dict():
>  # 8 - .la contains reference to the workdir
>  # 9 - LDFLAGS ignored
>  # 10 - Build paths in binaries
> +# 11 - package depends on devel package
>  
>  def package_qa_clean_path(path,d):
>      """ Remove the common prefix from the path. In this case it is the TMPDIR"""
> @@ -134,6 +135,7 @@ def package_qa_write_error(error_class, name, path, d):
>          ".la contains reference to the workdir",
>          "LDFLAGS ignored",
>          "package contains reference to tmpdir paths",
> +	"package depends on devel package",
>      ]
>  
>      log_path = os.path.join( bb.data.getVar('T', d, True), "log.qa_package" )
> @@ -493,12 +495,14 @@ def package_qa_check_rdepends(pkg, pkgdest, d):
>          # Now check the RDEPENDS
>          rdepends = bb.utils.explode_deps(bb.data.getVar('RDEPENDS', localdata, True) or "")
>  
> -
>          # Now do the sanity check!!!
>          for rdepend in rdepends:
>              if "-dbg" in rdepend:
>                  error_msg = "%s rdepends on %s" % (pkgname,rdepend)
>                  sane = package_qa_handle_error(2, error_msg, pkgname, rdepend, d)
> +	    if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"):
> +	        error_msg = "%s rdepends on %s" % (pkgname, rdepend)
> +                sane = package_qa_handle_error(11, error_msg, pkgname, rdepend, d)
>  
>      return sane
>  
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 13:04             ` Phil Blundell
  2011-06-30 13:40               ` Koen Kooi
@ 2011-06-30 14:54               ` Richard Purdie
  1 sibling, 0 replies; 14+ messages in thread
From: Richard Purdie @ 2011-06-30 14:54 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2011-06-30 at 14:04 +0100, Phil Blundell wrote:
> On Thu, 2011-06-30 at 13:24 +0200, Koen Kooi wrote:
> > Does it whitelist recipes that inherit task.bbclass? I have tasks used for beagleboard workshops that drag in the native toolchain and headers for the things we need to build against (e.g. opencv, qt).
> 
> No.  The existing logic for -dbg packages, which I just reused for this
> case, does:
> 
>     if not "-dbg" in pkg and not "task-" in pkg and not "-image" in pkg:
> 
> but it doesn't have a check for inheritance as such.  If you can suggest
> a good way to identify recipes that have inherited task then I'd be
> happy to adjust the patch accordingly.

Would bb.data.inherits_class('task', d) help?

Cheers,

Richard




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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 14:54           ` Richard Purdie
@ 2011-06-30 15:53             ` Saul Wold
  0 siblings, 0 replies; 14+ messages in thread
From: Saul Wold @ 2011-06-30 15:53 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Phil Blundell

On 06/30/2011 07:54 AM, Richard Purdie wrote:
> On Thu, 2011-06-30 at 12:17 +0100, Phil Blundell wrote:
>> On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
>>> I'd love to see a patch for this! :)
>>
>> Your wish, naturally, is my command.  I've built micro-base-image with
>> this and verified that I didn't get any false positives; I also checked
>> (via some manual fiddling) that it did indeed detect the case that we
>> want it to.
>>
>> I guess it might be a good idea for someone to test it with a slightly
>> larger dataset before actually checking it in, just in case.
>
> Thanks, I'll let Saul try this against a wider build and assuming it
> doesn't throw out too many issues we can get it merged.
>
Phil,

Can I get this as a proper patch email with a clean header, I will start 
testing with below.

Thanks
	Sau!


> Cheers,
>
> Richard
>
>> p.
>>
>> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
>> index 35809b9..f7e5524 100644
>> --- a/meta/classes/insane.bbclass
>> +++ b/meta/classes/insane.bbclass
>> @@ -103,6 +103,7 @@ def package_qa_get_machine_dict():
>>   # 8 - .la contains reference to the workdir
>>   # 9 - LDFLAGS ignored
>>   # 10 - Build paths in binaries
>> +# 11 - package depends on devel package
>>
>>   def package_qa_clean_path(path,d):
>>       """ Remove the common prefix from the path. In this case it is the TMPDIR"""
>> @@ -134,6 +135,7 @@ def package_qa_write_error(error_class, name, path, d):
>>           ".la contains reference to the workdir",
>>           "LDFLAGS ignored",
>>           "package contains reference to tmpdir paths",
>> +	"package depends on devel package",
>>       ]
>>
>>       log_path = os.path.join( bb.data.getVar('T', d, True), "log.qa_package" )
>> @@ -493,12 +495,14 @@ def package_qa_check_rdepends(pkg, pkgdest, d):
>>           # Now check the RDEPENDS
>>           rdepends = bb.utils.explode_deps(bb.data.getVar('RDEPENDS', localdata, True) or "")
>>
>> -
>>           # Now do the sanity check!!!
>>           for rdepend in rdepends:
>>               if "-dbg" in rdepend:
>>                   error_msg = "%s rdepends on %s" % (pkgname,rdepend)
>>                   sane = package_qa_handle_error(2, error_msg, pkgname, rdepend, d)
>> +	    if (not "-dev" in pkg and not "-staticdev" in pkg) and rdepend.endswith("-dev"):
>> +	        error_msg = "%s rdepends on %s" % (pkgname, rdepend)
>> +                sane = package_qa_handle_error(11, error_msg, pkgname, rdepend, d)
>>
>>       return sane
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



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

* Re: [PATCH] eglibc-locale: fix localedef packaging
  2011-06-30 11:17         ` Phil Blundell
  2011-06-30 11:24           ` Koen Kooi
  2011-06-30 14:54           ` Richard Purdie
@ 2011-07-05 13:05           ` Richard Purdie
  2 siblings, 0 replies; 14+ messages in thread
From: Richard Purdie @ 2011-07-05 13:05 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2011-06-30 at 12:17 +0100, Phil Blundell wrote:
> On Wed, 2011-06-29 at 14:49 +0100, Richard Purdie wrote:
> > On Wed, 2011-06-29 at 14:36 +0100, Phil Blundell wrote:
> > > On Tue, 2011-06-28 at 22:32 +0200, Koen Kooi wrote:
> > > > From http://git.angstrom-distribution.org/cgi-bin/cgit.cgi/testlab/commit/?h=yocto&id=0d0e14cda2ddd881d09798b0e6edd8086aa9b6d9
> > > > 
> > > > +libc6 -> libc6_dev;
> > > > 
> > > > So libc6 now depends on libc6-dev :(
> > > 
> > > I guess it would be straightforward to patch insane.bbclass to detect
> > > that particular failure (which does indeed seem to happen to libc
> > > distressingly often).  It already diagnoses the case where a package
> > > erroneously depends on a -dbg package, and I can't think of any reason
> > > why the same logic couldn't be applied to -dev.
> > 
> > I'd love to see a patch for this! :)
> 
> Your wish, naturally, is my command.  I've built micro-base-image with
> this and verified that I didn't get any false positives; I also checked
> (via some manual fiddling) that it did indeed detect the case that we
> want it to.  
> 
> I guess it might be a good idea for someone to test it with a slightly
> larger dataset before actually checking it in, just in case.

I merged an updated version of this into master as I think its a useful
check, thanks.

Richard




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

end of thread, other threads:[~2011-07-05 13:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-28 15:30 [PATCH] eglibc-locale: fix localedef packaging Koen Kooi
2011-06-28 16:11 ` Richard Purdie
2011-06-28 20:32   ` Koen Kooi
2011-06-29 13:36     ` Phil Blundell
2011-06-29 13:49       ` Richard Purdie
2011-06-30 11:17         ` Phil Blundell
2011-06-30 11:24           ` Koen Kooi
2011-06-30 13:04             ` Phil Blundell
2011-06-30 13:40               ` Koen Kooi
2011-06-30 14:54               ` Richard Purdie
2011-06-30 14:54           ` Richard Purdie
2011-06-30 15:53             ` Saul Wold
2011-07-05 13:05           ` Richard Purdie
2011-06-29 22:31   ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.