All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 05/28] python3: update to 3.8.1
Date: Wed, 15 Jan 2020 19:26:41 +0100	[thread overview]
Message-ID: <CANNYZj8wVGSVRHrgyeXUKT-E0OJLKgCqzaunXN8kg7rOgQ1M9w@mail.gmail.com> (raw)
In-Reply-To: <f0c8a17ce2765737f45f6b4b07910cb27d59b1b8.camel@linuxfoundation.org>

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

On Tue, 14 Jan 2020 at 19:37, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

>
> The autobuilder failed with this again, I went in and the first bit of
> debugging I added was to say which file its failing on. Answer was:
>
> WARNING: python3-3.8.1-r0 do_package:
> ./package/usr/libx32/python3.8/__pycache__/_bootlocale.cpython-38.opt-2.pyc
>
> so for some reason the ownership of the pyc file (or files) is suspect.
>
> I did a quick inspection of the pseudo database and its only this one
> file. That leads me to suspect its a race in how its being
> generated/owned...
>

I started looking into this - the likely culprit is this commit
https://github.com/python/cpython/commit/1a2dd82f56bd813aacc570e172cefe55a8a41504
which introduces parallel .pyc compilation. Previously (in 3.7) the
bootlocale.py file was compiled only once, and now I am seeing this in
log.do_install:

/home/alexander/development/poky/build-x86-64/tmp/hosttools/install -c -m
644 ../Python-3.8.1/Lib/_bootlocale.py /usr/lib/python3.8
Compiling
'/home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/python3/3.8.1-r0/image/usr/lib/python3.8/_bootlocale.py'...
Compiling
'/home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/python3/3.8.1-r0/image/usr/lib/python3.8/_bootlocale.py'...
Compiling
'/home/alexander/development/poky/build-x86-64/tmp/work/core2-64-poky-linux/python3/3.8.1-r0/image/usr/lib/python3.8/_bootlocale.py'...

I don't yet know how this file ends up being compiled several times, or
whether they indeed race.

Also I am still unsure how it ends up with the wrong ownership. Hints?

Alex

[-- Attachment #2: Type: text/html, Size: 2239 bytes --]

  reply	other threads:[~2020-01-15 18:26 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-08 13:27 [PATCH 01/28] rpm: upgrade to 4.15.1 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 02/28] rpm: switch to openssl from nss Alexander Kanavin
2020-01-08 13:27 ` [PATCH 03/28] rpm: fix with musl and latest elfutils Alexander Kanavin
2020-01-08 13:27 ` [PATCH 04/28] nss: update to 3.48 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 05/28] python3: update to 3.8.1 Alexander Kanavin
2020-01-08 23:02   ` Richard Purdie
2020-01-09  1:23     ` Khem Raj
2020-01-09 15:31     ` Alexander Kanavin
2020-01-09 19:28       ` André Draszik
2020-01-09 19:37         ` André Draszik
2020-01-09 19:49           ` Alexander Kanavin
2020-01-09 22:14             ` Richard Purdie
2020-01-13 14:15               ` Alexander Kanavin
2020-01-14 10:23                 ` Richard Purdie
2020-01-14 12:19                   ` Alexander Kanavin
2020-01-14 18:37                     ` Richard Purdie
2020-01-15 18:26                       ` Alexander Kanavin [this message]
2020-01-08 13:27 ` [PATCH 06/28] gstreamer1.0-python: add a patch to fix python 3.8 builds Alexander Kanavin
2020-01-08 13:27 ` [PATCH 07/28] acl/attr: update to latest upstream releases Alexander Kanavin
2020-01-09  1:30   ` Khem Raj
2020-01-10 11:02   ` Richard Purdie
2020-01-10 14:48     ` Alexander Kanavin
2020-01-08 13:27 ` [PATCH 08/28] pseudo: adjust for attr 2.4.48 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 09/28] ltp: update to 20190930 Alexander Kanavin
2020-01-09  9:15   ` Richard Purdie
2020-01-08 13:27 ` [PATCH 10/28] resolvconf: update to 1.82 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 11/28] ifupdown: update 0.8.22 -> 0.8.35 Alexander Kanavin
2020-01-08 21:23   ` Richard Purdie
2020-01-09 13:47     ` Alexander Kanavin
2020-01-09 13:54       ` Alexander Kanavin
2020-01-09 13:55         ` Richard Purdie
2020-01-09 14:36           ` Alexander Kanavin
2020-01-09 14:44             ` Tom Rini
2020-01-09 14:47               ` Alexander Kanavin
2020-01-09 15:01                 ` Tom Rini
2020-01-09 15:33                   ` Alexander Kanavin
2020-01-09 15:55                     ` Tom Rini
2020-01-09 16:12                       ` Alexander Kanavin
2020-01-10 15:00                         ` Adrian Bunk
2020-01-10 15:12                           ` Alexander Kanavin
2020-01-15  1:10             ` Randy MacLeod
2020-01-08 13:27 ` [PATCH 12/28] ovmf: update to 201911 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 13/28] elfutils: upgrade 0.177 -> 0.178 Alexander Kanavin
2020-01-09  1:27   ` Khem Raj
2020-01-08 13:27 ` [PATCH 14/28] libcap: update to 2.30 Alexander Kanavin
2020-01-08 21:22   ` Richard Purdie
2020-01-09  1:31     ` Khem Raj
2020-01-09 11:46       ` Adrian Bunk
2020-01-09 13:16         ` Alexander Kanavin
2020-01-08 13:27 ` [PATCH 15/28] virglrenderer: update to 0.8.1 Alexander Kanavin
2020-01-08 13:27 ` [PATCH 16/28] systemtap: remove the unneeded patch Alexander Kanavin
2020-01-08 13:27 ` [PATCH 17/28] lib/oe/package_manager.py: put the sdk_provides_dummy_target upfront Alexander Kanavin
2020-01-08 13:27 ` [PATCH 18/28] dummy-sdk-package.inc: do multilib expanesion for RREPLACES as well Alexander Kanavin
2020-01-08 13:27 ` [PATCH 19/28] staging.bbclass: correctly exclude ptest directories Alexander Kanavin
2020-01-08 13:27 ` [PATCH 20/28] ptest: report ptests that couldn't be run at all Alexander Kanavin
2020-01-08 13:27 ` [PATCH 21/28] ptest-packagelists.inc: add a couple of missed ptests Alexander Kanavin
2020-01-08 13:27 ` [PATCH 22/28] gzip: do not pull in perl-ptest for gzip-ptest Alexander Kanavin
2020-01-08 13:27 ` [PATCH 23/28] gettext: additional ptest fixing Alexander Kanavin
2020-01-08 13:27 ` [PATCH 24/28] gawk: fix failing ptests Alexander Kanavin
2020-01-08 13:27 ` [PATCH 25/28] kbd: " Alexander Kanavin
2020-01-08 13:27 ` [PATCH 26/28] perl: package Config.pm from arch directory into the main perl package Alexander Kanavin
2020-01-08 13:27 ` [PATCH 27/28] perl: install typemap and other extutils metadata as part of perl-core Alexander Kanavin
2020-01-08 13:27 ` [PATCH 28/28] libmodule-build-perl: fix ptests Alexander Kanavin
2020-01-08 13:32 ` ✗ patchtest: failure for "rpm: upgrade to 4.15.1..." and 27 more Patchwork

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