All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] bash-completion: remove allarch
@ 2014-03-06 17:04 Martin Jansa
  2014-03-06 17:59 ` Paul Eggleton
  2014-03-07  8:41 ` Matthieu CRAPET
  0 siblings, 2 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-06 17:04 UTC (permalink / raw)
  To: openembedded-devel

* it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
index ad7fd28..155fe90 100644
--- a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
+++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852
 
 PARALLEL_MAKE = ""
 
-inherit allarch autotools
+inherit autotools
 
 do_install_append() {
 	install -d ${D}${sysconfdir}/bash_completion.d/
-- 
1.9.0



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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-06 17:04 [meta-oe][PATCH] bash-completion: remove allarch Martin Jansa
@ 2014-03-06 17:59 ` Paul Eggleton
  2014-03-06 19:21   ` Martin Jansa
  2014-03-07  8:41 ` Matthieu CRAPET
  1 sibling, 1 reply; 11+ messages in thread
From: Paul Eggleton @ 2014-03-06 17:59 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch

As we've already discussed this is not universally true. There are other ways 
to solve this.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-06 17:59 ` Paul Eggleton
@ 2014-03-06 19:21   ` Martin Jansa
  2014-03-07 10:09       ` Paul Eggleton
  0 siblings, 1 reply; 11+ messages in thread
From: Martin Jansa @ 2014-03-06 19:21 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch
> 
> As we've already discussed this is not universally true. There are other ways 
> to solve this.

Like making it special case like packagegroups? That is still making me
headaches when some library (for some reason) included in packagegroup
is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
it breaks do_rootfs..

I would rather build bash-completion only once per architecture than
rebuilding it as "allarch" every time I'm building for MACHINE with
different TUNE_PKGARCH.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-06 17:04 [meta-oe][PATCH] bash-completion: remove allarch Martin Jansa
  2014-03-06 17:59 ` Paul Eggleton
@ 2014-03-07  8:41 ` Matthieu CRAPET
  2014-03-11 14:31   ` Martin Jansa
  1 sibling, 1 reply; 11+ messages in thread
From: Matthieu CRAPET @ 2014-03-07  8:41 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

Hi,

Does it mean that " allarch " is incompatible with "autotools" ? Is this true for all recipes?

M

-----Message d'origine-----
De : openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] De la part de Martin Jansa
Envoyé : jeudi 6 mars 2014 18:05
À : openembedded-devel@lists.openembedded.org
Objet : [oe] [meta-oe][PATCH] bash-completion: remove allarch

* it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
index ad7fd28..155fe90 100644
--- a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
+++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852
 
 PARALLEL_MAKE = ""
 
-inherit allarch autotools
+inherit autotools
 
 do_install_append() {
 	install -d ${D}${sysconfdir}/bash_completion.d/
-- 
1.9.0

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [oe] [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-06 19:21   ` Martin Jansa
@ 2014-03-07 10:09       ` Paul Eggleton
  0 siblings, 0 replies; 11+ messages in thread
From: Paul Eggleton @ 2014-03-07 10:09 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel, openembedded-core

On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > allarch
> > 
> > As we've already discussed this is not universally true. There are other
> > ways to solve this.
> 
> Like making it special case like packagegroups? That is still making me
> headaches when some library (for some reason) included in packagegroup
> is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> it breaks do_rootfs..

Did you report this? FWIW it's the first I recall hearing of the problem; 
perhaps I just missed it.

> I would rather build bash-completion only once per architecture than
> rebuilding it as "allarch" every time I'm building for MACHINE with
> different TUNE_PKGARCH.

As I said last time, I'm not arguing that rebuilding allarch recipes on 
machine change is preferable - obviously it isn't. On the other hand, what 
you're doing with this kind of change is telling the build system that the 
recipe needs to be built differently depending on what the target architecture 
is, which is *not* true; this is only being done to work around the build 
system making an assumption that the rebuild needs to happen. Fix the 
assumption and the problem is fixed, properly. 

If we need to make changes to the core or BitBake to make it easier to handle 
this properly, by all means let's do that; but if we go down the road of 
applying the workaround to every recipe where we hit this issue (and as we 
have seen it's not just one or two recipes) we will never get around to fixing 
the underlying problem.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
@ 2014-03-07 10:09       ` Paul Eggleton
  0 siblings, 0 replies; 11+ messages in thread
From: Paul Eggleton @ 2014-03-07 10:09 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel, openembedded-core

On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > allarch
> > 
> > As we've already discussed this is not universally true. There are other
> > ways to solve this.
> 
> Like making it special case like packagegroups? That is still making me
> headaches when some library (for some reason) included in packagegroup
> is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> it breaks do_rootfs..

Did you report this? FWIW it's the first I recall hearing of the problem; 
perhaps I just missed it.

> I would rather build bash-completion only once per architecture than
> rebuilding it as "allarch" every time I'm building for MACHINE with
> different TUNE_PKGARCH.

As I said last time, I'm not arguing that rebuilding allarch recipes on 
machine change is preferable - obviously it isn't. On the other hand, what 
you're doing with this kind of change is telling the build system that the 
recipe needs to be built differently depending on what the target architecture 
is, which is *not* true; this is only being done to work around the build 
system making an assumption that the rebuild needs to happen. Fix the 
assumption and the problem is fixed, properly. 

If we need to make changes to the core or BitBake to make it easier to handle 
this properly, by all means let's do that; but if we go down the road of 
applying the workaround to every recipe where we hit this issue (and as we 
have seen it's not just one or two recipes) we will never get around to fixing 
the underlying problem.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [oe] [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-07 10:09       ` Paul Eggleton
@ 2014-03-07 18:28         ` Martin Jansa
  -1 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-07 18:28 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2432 bytes --]

On Fri, Mar 07, 2014 at 10:09:00AM +0000, Paul Eggleton wrote:
> On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> > On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > > allarch
> > > 
> > > As we've already discussed this is not universally true. There are other
> > > ways to solve this.
> > 
> > Like making it special case like packagegroups? That is still making me
> > headaches when some library (for some reason) included in packagegroup
> > is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> > it breaks do_rootfs..
> 
> Did you report this? FWIW it's the first I recall hearing of the problem; 
> perhaps I just missed it.

I've discussed this with RP on IRC, but haven't filled the bugzilla
ticket, my fault, will do that later.

> > I would rather build bash-completion only once per architecture than
> > rebuilding it as "allarch" every time I'm building for MACHINE with
> > different TUNE_PKGARCH.
> 
> As I said last time, I'm not arguing that rebuilding allarch recipes on 
> machine change is preferable - obviously it isn't. On the other hand, what 
> you're doing with this kind of change is telling the build system that the 
> recipe needs to be built differently depending on what the target architecture 
> is, which is *not* true; this is only being done to work around the build 
> system making an assumption that the rebuild needs to happen. Fix the 
> assumption and the problem is fixed, properly. 
> 
> If we need to make changes to the core or BitBake to make it easier to handle 
> this properly, by all means let's do that; but if we go down the road of 
> applying the workaround to every recipe where we hit this issue (and as we 
> have seen it's not just one or two recipes) we will never get around to fixing 
> the underlying problem.

What I'm trying to do is to prevent rebuilding them until the
underlaying problem is fixed (which can be tracked in bugzilla with 2
very simple recipes as reproducer).

I don't want this to show in every build and as "known-possitive" in
every sstate-diff-machine.sh call. It's less pain to just rebuild them
once per TUNE_PKGARCH even when they could be allarch.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
@ 2014-03-07 18:28         ` Martin Jansa
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-07 18:28 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2432 bytes --]

On Fri, Mar 07, 2014 at 10:09:00AM +0000, Paul Eggleton wrote:
> On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> > On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > > allarch
> > > 
> > > As we've already discussed this is not universally true. There are other
> > > ways to solve this.
> > 
> > Like making it special case like packagegroups? That is still making me
> > headaches when some library (for some reason) included in packagegroup
> > is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> > it breaks do_rootfs..
> 
> Did you report this? FWIW it's the first I recall hearing of the problem; 
> perhaps I just missed it.

I've discussed this with RP on IRC, but haven't filled the bugzilla
ticket, my fault, will do that later.

> > I would rather build bash-completion only once per architecture than
> > rebuilding it as "allarch" every time I'm building for MACHINE with
> > different TUNE_PKGARCH.
> 
> As I said last time, I'm not arguing that rebuilding allarch recipes on 
> machine change is preferable - obviously it isn't. On the other hand, what 
> you're doing with this kind of change is telling the build system that the 
> recipe needs to be built differently depending on what the target architecture 
> is, which is *not* true; this is only being done to work around the build 
> system making an assumption that the rebuild needs to happen. Fix the 
> assumption and the problem is fixed, properly. 
> 
> If we need to make changes to the core or BitBake to make it easier to handle 
> this properly, by all means let's do that; but if we go down the road of 
> applying the workaround to every recipe where we hit this issue (and as we 
> have seen it's not just one or two recipes) we will never get around to fixing 
> the underlying problem.

What I'm trying to do is to prevent rebuilding them until the
underlaying problem is fixed (which can be tracked in bugzilla with 2
very simple recipes as reproducer).

I don't want this to show in every build and as "known-possitive" in
every sstate-diff-machine.sh call. It's less pain to just rebuild them
once per TUNE_PKGARCH even when they could be allarch.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-07  8:41 ` Matthieu CRAPET
@ 2014-03-11 14:31   ` Martin Jansa
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-11 14:31 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2299 bytes --]

On Fri, Mar 07, 2014 at 08:41:21AM +0000, Matthieu CRAPET wrote:
> Hi,
> 
> Does it mean that " allarch " is incompatible with "autotools" ? Is this true for all recipes?

No, autotools (the -native tools used by this bbclass) are OK, only
problem is when it tries to use CC (which is TUNE_PKGARCH specific).

There are even some recipes which are using autotools and were detecting
CC in configure.ac without any good reason, so they were patched to stop
doing this and to allow using allarch.

allarch.bbclass now resets couple variables to make sure that configure
will at fail if it tries to detect CC.

> -----Message d'origine-----
> De : openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] De la part de Martin Jansa
> Envoyé : jeudi 6 mars 2014 18:05
> À : openembedded-devel@lists.openembedded.org
> Objet : [oe] [meta-oe][PATCH] bash-completion: remove allarch
> 
> * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be allarch
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> index ad7fd28..155fe90 100644
> --- a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
> @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852
>  
>  PARALLEL_MAKE = ""
>  
> -inherit allarch autotools
> +inherit autotools
>  
>  do_install_append() {
>  	install -d ${D}${sysconfdir}/bash_completion.d/
> -- 
> 1.9.0
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [oe] [meta-oe][PATCH] bash-completion: remove allarch
  2014-03-07 18:28         ` Martin Jansa
@ 2014-03-15 16:01           ` Martin Jansa
  -1 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-15 16:01 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On Fri, Mar 07, 2014 at 07:28:58PM +0100, Martin Jansa wrote:
> On Fri, Mar 07, 2014 at 10:09:00AM +0000, Paul Eggleton wrote:
> > On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> > > On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > > > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > > > allarch
> > > > 
> > > > As we've already discussed this is not universally true. There are other
> > > > ways to solve this.
> > > 
> > > Like making it special case like packagegroups? That is still making me
> > > headaches when some library (for some reason) included in packagegroup
> > > is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> > > it breaks do_rootfs..
> > 
> > Did you report this? FWIW it's the first I recall hearing of the problem; 
> > perhaps I just missed it.
> 
> I've discussed this with RP on IRC, but haven't filled the bugzilla
> ticket, my fault, will do that later.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5970

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [meta-oe][PATCH] bash-completion: remove allarch
@ 2014-03-15 16:01           ` Martin Jansa
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Jansa @ 2014-03-15 16:01 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-devel, openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

On Fri, Mar 07, 2014 at 07:28:58PM +0100, Martin Jansa wrote:
> On Fri, Mar 07, 2014 at 10:09:00AM +0000, Paul Eggleton wrote:
> > On Thursday 06 March 2014 20:21:22 Martin Jansa wrote:
> > > On Thu, Mar 06, 2014 at 05:59:29PM +0000, Paul Eggleton wrote:
> > > > On Thursday 06 March 2014 18:04:50 Martin Jansa wrote:
> > > > > * it has runtime dependency on TUNE_PKGARCH bash, so it cannot be
> > > > > allarch
> > > > 
> > > > As we've already discussed this is not universally true. There are other
> > > > ways to solve this.
> > > 
> > > Like making it special case like packagegroups? That is still making me
> > > headaches when some library (for some reason) included in packagegroup
> > > is renamed thanks to debian.bbclass and packagegroup isn't rebuilt, so
> > > it breaks do_rootfs..
> > 
> > Did you report this? FWIW it's the first I recall hearing of the problem; 
> > perhaps I just missed it.
> 
> I've discussed this with RP on IRC, but haven't filled the bugzilla
> ticket, my fault, will do that later.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=5970

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2014-03-15 16:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 17:04 [meta-oe][PATCH] bash-completion: remove allarch Martin Jansa
2014-03-06 17:59 ` Paul Eggleton
2014-03-06 19:21   ` Martin Jansa
2014-03-07 10:09     ` [oe] " Paul Eggleton
2014-03-07 10:09       ` Paul Eggleton
2014-03-07 18:28       ` [oe] " Martin Jansa
2014-03-07 18:28         ` Martin Jansa
2014-03-15 16:01         ` [oe] " Martin Jansa
2014-03-15 16:01           ` Martin Jansa
2014-03-07  8:41 ` Matthieu CRAPET
2014-03-11 14:31   ` Martin Jansa

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.