Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Andreas Müller" <schnitzeltony@googlemail.com>
Cc: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>,
	Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: State of bitbake world, wrong PACKAGE_ARCHs 2015-09-08
Date: Wed, 9 Sep 2015 16:55:31 +0200	[thread overview]
Message-ID: <20150909145531.GA2390@jama> (raw)
In-Reply-To: <CALbNGRTUBBBni8YGkpVx4=HQ97Lz8PzmZo129efUteXhYbEvFQ@mail.gmail.com>

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

On Wed, Sep 09, 2015 at 09:14:20AM +0200, Andreas Müller wrote:
> On Wed, Sep 9, 2015 at 1:10 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Tue, Sep 08, 2015 at 11:39:20PM +0200, Andreas Müller wrote:
> >> On Tue, Sep 8, 2015 at 7:09 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> >> > ERROR: polkit-group-rule-datetime different signature for task do_configure.sigdata between qemux86copy and qemuarm
> >> > runtaskdeps changed from ['polkitpolkit-group-rule-datetime.bb.do_patch', 'polkitpolkit_0.113.bb.do_populate_sysroot', 'shadowshadow_4.2.1.bb.do_populate_sysroot:virtual:native'] to ['polkitpolkit-group-rule-datetime.bb.do_patch', 'polkitpolkit_0.113.bb.do_populate_sysroot', 'shadowshadow_4.2.1.bb.do_populate_sysroot:virtual:native']
> >> > /home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-extended/polkit/polkit_0.113.bb.do_populate_sysroot with hash 284d6bbd28ea723c466e0c5c88a09a50
> >> I missed many of these - because I am not up to date on oe-core (did
> >> not want to loose midori for my images) - will change that soon. For
> >> this type of error: is it correct that it is caused by allarch recipes
> >> depending on machine/architecture specific recipes?
> >
> > close, the important part is few lines bellow:
> >
> > /home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-extended/polkit/polkit_0.113.bb.do_populate_sysroot
> > with hash
> > 284d6bbd28ea723c466e0c5c88a09a50
> >  changed to
> > /home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-extended/polkit/polkit_0.113.bb.do_populate_sysroot
> > with hash
> > 06cf7139c6588d047fa11444d88175ab
> > Hash for dependent task polkitpolkit_0.113.bb.do_populate_sysroot
> > changed from 284d6bbd28ea723c466e0c5c88a09a50 to
> > 06cf7139c6588d047fa11444d88175ab
> >
> > so allarch recipe polkitpolkit-group-rule-datetime is depending on
> > TUNE_PKGARCH-specific recipe polkit (on it's do_populate_sysroot task
> > which is expected to be different for diferent TUNE_PKGARCHs)
> >
> So to fix we could
> 
> 1. either remove dependencies or
> 2. remove allarch or
> 3. ??

3a) add such dependency to SIGGEN_EXCLUDERECIPES_ABISAFE if it's
completely ABI safe (recipes depending on it shouldn't get rebuild after
any changes to it)
3b) add such dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS to exclude it
only for given recipe (in this case by saying that polkit-groups doesn't
need rebuild when polkit recipe is changed in any way)

> For e.g the polkit-groups 1 seems not possible what about package
> feeds when removing allarch?

I think in this case 3a) and 3b) don't apply as well, so easiest and
safest option is 2), package feeds should survive that, because new
package will have higher version (when PRserv is used) and also higher
package arch priority (all is lowest). Even the sysroot should now
survive ok, with new functionality which "uninstalls" staged file for
unreachable stamps.

Also polkit-groups build doesn't take very long, so we don't mind to
build it once per TUNE_PKGARCH instead of building it as allarch only
once but with unsafe deps.

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

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

  reply	other threads:[~2015-09-09 14:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 15:58 State of bitbake world, wrong PACKAGE_ARCHs 2015-09-08 Martin Jansa
2015-09-08 17:09 ` Martin Jansa
2015-09-08 21:39   ` Andreas Müller
2015-09-08 23:10     ` Martin Jansa
2015-09-09  7:14       ` Andreas Müller
2015-09-09 14:55         ` Martin Jansa [this message]
2015-09-09 15:14           ` Andreas Müller
2015-09-09 17:03             ` Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150909145531.GA2390@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=schnitzeltony@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox