mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Random compile errors in host-system-python3-jinja2 package
Date: Fri, 23 Aug 2024 08:11:40 +0200	[thread overview]
Message-ID: <CAH+2xPCCepgSZt1U44uw+7DJ_7v8YdxYa2Q+4S7z8HEBuKns4Q@mail.gmail.com> (raw)

Hi

After upgrading our ptxdist projects to 2024.07.0 we get compile errors
in around 10% of our builds in the host-system-python3-jinja2 package.

Has anyone else seen this?
I suspect a missing dependency in the rule, but have not looked into it yet.

/Bruno

--------------------------------8<----------------------------------

------------------------------------------
target: host-system-python3-jinja2.compile
------------------------------------------
Traceback (most recent call last):
  File "/builds/emperor/ptxdist/platform-emperor/build-host/system-Jinja2-3.1.3/setup.py",
line 1, in <module>
    from setuptools import setup
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/setuptools/__init__.py",
line 8, in <module>
    import _distutils_hack.override  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/_distutils_hack/override.py",
line 1, in <module>
    __import__('_distutils_hack').do_override()
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/_distutils_hack/__init__.py",
line 77, in do_override
    ensure_local_distutils()
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/_distutils_hack/__init__.py",
line 63, in ensure_local_distutils
    core = importlib.import_module('distutils.core')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/setuptools/_distutils/core.py",
line 22, in <module>
    from .dist import Distribution
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/setuptools/_distutils/dist.py",
line 27, in <module>
    from .util import check_environ, strtobool, rfc822_escape
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/setuptools/_distutils/util.py",
line 18, in <module>
    from .spawn import spawn
  File "/builds/emperor/ptxdist/platform-emperor/sysroot-host/usr/lib/system-python3/lib64/python3.12/site-packages/setuptools/_distutils/spawn.py",
line 15, in <module>
    from ._log import log
ModuleNotFoundError: No module named 'distutils._log'
make: *** [/usr/local/lib/ptxdist-2024.07.0/rules/post/ptxd_make_world_compile.make:19:
/builds/emperor/ptxdist/platform-emperor/state/host-system-python3-jinja2.compile]
Error 1
make: *** Waiting for unfinished jobs....



             reply	other threads:[~2024-08-23  6:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23  6:11 Bruno Thomsen [this message]
2024-09-06 13:43 ` Michael Olbrich

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=CAH+2xPCCepgSZt1U44uw+7DJ_7v8YdxYa2Q+4S7z8HEBuKns4Q@mail.gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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