Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/4] gdk-pixbuf: convert from autotools to meson
Date: Sat, 23 Feb 2019 13:36:26 +0000	[thread overview]
Message-ID: <b17f7567b65f6b1ee4e33345364b489058d96b80.camel@linuxfoundation.org> (raw)
In-Reply-To: <04f40efe02dcc883306aa15a611952ad2aeddece.camel@linuxfoundation.org>

On Sat, 2019-02-23 at 13:25 +0000, Richard Purdie wrote:
> On Sat, 2019-02-23 at 13:51 +0100, Alexander Kanavin wrote:
> > I'm at the same time staring at this bit in pixbufcache.bbclass:
> > 
> > gdkpixbuf_complete() {
> > GDK_PIXBUF_FATAL_LOADER=1
> > ${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders
> > --update-cache || exit 1
> > }
> > 
> > DEPENDS_append_class-native = " gdk-pixbuf-native"
> > SYSROOT_PREPROCESS_FUNCS_append_class-native = "
> > pixbufcache_sstate_postinst"
> > 
> > # See base.bbclass for the other half of this
> > pixbufcache_sstate_postinst() {
> >         mkdir -p ${SYSROOT_DESTDIR}${bindir}
> >         dest=${SYSROOT_DESTDIR}${bindir}/postinst-${PN}
> >         echo '#!/bin/sh' > $dest
> >         echo "${gdkpixbuf_complete}" >> $dest
> >         chmod 0755 $dest
> > }
> > 
> > It's all written for -native, yet the script that fails, resides in
> > tmp/sysroots/qemux86-64/usr/bin/postinst-gdk-pixbuf-native (e.g.
> > the
> > target sysroot which is racing with the native one). Why is it even
> > there?
> > I haven't written this code :) and haven't really seen it before,
> > but
> > this might be a lead.
> 
> I'm sure I've worked on the above before, my memory of why we need it
> is fuzzy. I do now have a reproducer though:
> 
> bitbake gdk-pixbuf gdk-pixbuf-native
> then
> bitbake build-sysroots -c build_target_sysroot
> 
> If you bake build_native_sysroot first, the problem goes away.

I think the problem is in staging_populate_sysroot_dir(). It's
confusing target and native package_archs since in the case we see this
its x86_64 where the target and build archs match.

Not entirely sure how we'll fix this but that is where I think the
problem is.

Not sure why we're suddenly seeing it now and whether the patches
somehow trigger it or not...

Cheers,

Richard




  reply	other threads:[~2019-02-23 13:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20 20:10 [PATCH 1/4] pango: convert from autotools to meson Alexander Kanavin
2019-02-20 20:10 ` [PATCH 2/4] llvm: switch to the official git repository Alexander Kanavin
2019-02-20 20:10 ` [PATCH 3/4] gdk-pixbuf: convert from autotools to meson Alexander Kanavin
2019-02-22 10:18   ` Burton, Ross
2019-02-22 13:12     ` Alexander Kanavin
2019-02-23 12:29   ` Richard Purdie
2019-02-23 12:41     ` Alexander Kanavin
2019-02-23 12:42     ` Richard Purdie
2019-02-23 12:51       ` Alexander Kanavin
2019-02-23 13:25         ` Richard Purdie
2019-02-23 13:36           ` Richard Purdie [this message]
2019-02-23 13:43             ` Alexander Kanavin
2019-02-23 13:46               ` Richard Purdie
2019-03-01 19:15     ` Stefan Agner
2019-03-01 23:00       ` Stefan Agner
2019-02-20 20:10 ` [PATCH 4/4] glib-2.0: " Alexander Kanavin
2019-02-22 10:20   ` Burton, Ross
  -- strict thread matches above, loose matches on Subject: below --
2019-02-20 13:50 [PATCH 1/4] pango: " Alexander Kanavin
2019-02-20 13:50 ` [PATCH 3/4] gdk-pixbuf: " Alexander Kanavin

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=b17f7567b65f6b1ee4e33345364b489058d96b80.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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