Return-Path: Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by mail.openembedded.org (Postfix) with ESMTP id 83BB9618A5 for ; Fri, 6 Mar 2020 18:04:13 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id z15so3451088wrl.1 for ; Fri, 06 Mar 2020 10:04:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mime-version:content-disposition :user-agent; bh=XTksptV/xdpvJhoPBEhaaYlvAQ2QVQHS0Qr2KyPhjrc=; b=HS54lvW1sSzrGRoSAzKlOrYU9BblsI5wEG/eCTJ8GTgjMbk/Gw620Hgual6npkwsRz 9DqYnt9yT3e7farODTIktPGlveh2IWb4lMjIHckaTmN9p6SpmPK3h1GZbZJJQWG4P+KM prWMWRQwxTTUAIsyQ/X08P4hKSChmS55Jp6MOgVlNnlA9+Aixtk2E3Pa7g1iAH9TncmP MUxjKS7a0s3UKYPtQFxS8/lOyMl5ENN31vpNNmEJW0VSd3ha2gNdDoAjmmNZ6zw3+aFE Ad33ug1j+iEO750lcWLctiHd2ktjLFR5cpN8h8SV8y8HcXd7gQ2fcppn7M6RBhzcooIq jFrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition:user-agent; bh=XTksptV/xdpvJhoPBEhaaYlvAQ2QVQHS0Qr2KyPhjrc=; b=GrzYrfurygaxqcerOH3Kqv3Ou8oHKJJ7KPZ/9lKgVyHQS5LEqvlr1majc6UukyM7NZ RJ9NaQfGZWeH24HafIDxbZCCUSu3X3t/oV2xE+h+AUMQHfWarGe+xvIg7CE+TQNIX+Mk LQrm+hXIeZ30/5SA5V1KTGcPaSVPwiopsSmwlrCiG0jM37kGbJpKK21OGRUQoZGaD3Yj CLzuHmKrWLlvtbluFzVU5m1tP7XGc6X3i1LLM9E+8zReorwQUsdgBqNuW8i3RrpoqmHE Ar+VxrD9xTVzDmRq+YaaeCJQ+QcSNcmF8futTpKdin1PhxeE3PftrhKhmBFb4RGsLTxY l73Q== X-Gm-Message-State: ANhLgQ20rBee2sJ5Sn1DVufhQ4q81oJI/jXjwvYn3spp6tQm5++cMoCh uCzILLVps5xrDVYnbLM0CSyH2kA2 X-Google-Smtp-Source: ADFU+vsAGIjzxEmgHZZszq+BH7DzQZeJgWoerppX0mZCqRDANlCaFH0IkC4DJJnSgfuAw7jclObYSg== X-Received: by 2002:adf:c449:: with SMTP id a9mr5072347wrg.366.1583517854693; Fri, 06 Mar 2020 10:04:14 -0800 (PST) Received: from localhost ([109.238.218.228]) by smtp.gmail.com with ESMTPSA id i6sm16984419wra.42.2020.03.06.10.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 10:04:13 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Fri, 6 Mar 2020 19:04:13 +0100 To: Yocto-mailing-list , openembedded-core@lists.openembedded.org Message-ID: <20200306180413.z4e5km64jcm6azbv@jama> MIME-Version: 1.0 User-Agent: NeoMutt/20180716 Subject: Re: [yocto] [zeus] icu-native-64.2-r0 do_configure: configure failed X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2020 18:04:14 -0000 X-Groupsio-MsgNum: 136093 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="toqsx5ubbpgwpyqs" Content-Disposition: inline --toqsx5ubbpgwpyqs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On 30/10/2019 06:25, star at gmx.li wrote: > > Build of image failed, I got strange and long error messages like: > >=20 > > | from distutils.sysconfig import parse_makefile > > | ModuleNotFoundError: No module named 'distutils.sysconfig' > > | configure: error: Python failed to run; see above error. >=20 > > a) What goes wrong here and how can this be avoid? >=20 > distutils.sysconfig is part of the standard Python library. What=20 > distribution are you using? It's possible that you've only got a=20 > 'minimal' Python installed instead of the full thing. I came across this old thread when trying "bitbake world" in really minimalistic docker container with ubuntu-18.04 where I've installed only the dependencies explicitly checked by sanity check and HOSTTOOLS. And indeed python3 package in ubuntu doesn't depend on python3-distutils, I don't know how "standard Python library" is defined, but this wasn't explicitly "minimal" python, just the default what you get with python3 in ubuntu. Maybe it would be worth adding python3native in icu to catch issues like this? Luckily it's needed only in zeus, because icu 65.1 currently in dunfell/master doesn't depend on python3-distutils anymore since: https://github.com/unicode-org/icu/commit/b4d41b0561b6e8de38b99850ce0e4be8e= f536bb1 There is only one more recipe with this issue (at least in the layers i was testing and that's: openembedded-core/meta/recipes-core/ovmf/ovmf_git.bb in zeus as well as master which is explicitly using python3 from host: export PYTHON_COMMAND =3D "${HOSTTOOLS_DIR}/python3" and then fails with: | Python reported: "No module named 'distutils.util" |=20 | GNUmakefile:11: recipe for target 'test' failed --toqsx5ubbpgwpyqs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQRU+ejDffEzV2Je2oc3VSO3ZXaAHAUCXmKQnAAKCRA3VSO3ZXaA HLakAJ4qI18B74Q0bnAnvkBi7CKjYNy2OACbBBbHAvjdhp3Td8IbrqN+BsYxC1M= =JK9X -----END PGP SIGNATURE----- --toqsx5ubbpgwpyqs--