From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 Sep 2024 15:43:49 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1smZFe-001tTl-1H for lore@lore.pengutronix.de; Fri, 06 Sep 2024 15:43:49 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1smZFd-0008V0-CD; Fri, 06 Sep 2024 15:43:49 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1smZFH-0008Uq-Qk; Fri, 06 Sep 2024 15:43:27 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smZFH-005xTz-7Y; Fri, 06 Sep 2024 15:43:27 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1smZFH-000mFD-0b; Fri, 06 Sep 2024 15:43:27 +0200 Date: Fri, 6 Sep 2024 15:43:27 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] Random compile errors in host-system-python3-jinja2 package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Fri, Aug 23, 2024 at 08:11:40AM +0200, Bruno Thomsen wrote: > 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. I've not seen this. Some things to try: Does "ptxdist install host-system-python3-jinja2" after "ptxdist clean"? If yes, then it's probably not actually a missing dependency, but maybe something breaks because the site-packages are modified while setup.py is executed. In that case: Are you compiling with '-j'? If yes, take a look at the logfile. Is an install stage running at the same time as host-system-python3-jinja2.compile? Michael > --------------------------------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 > 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 > 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 > __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 > 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 > 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 > 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 > 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.... > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |