Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7ED44C46467 for ; Sat, 7 Jan 2023 21:39:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D77DF85369; Sat, 7 Jan 2023 22:39:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="igXN+Sm4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA4C185369; Sat, 7 Jan 2023 22:39:34 +0100 (CET) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 12C6B85355 for ; Sat, 7 Jan 2023 22:39:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id bp44so5178709qtb.0 for ; Sat, 07 Jan 2023 13:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Xax4WXJ64g4IJT5TL72seD8Ucl4RY/fHqX2VDVP0yIk=; b=igXN+Sm4ABgJIswU1S8jc3LrPyb046vZbhTvUX1V5mRqyNHTzeJ12AyzbRRMONNjAN hY8+3mDgvNCUOHf+58A+8sdY/IOnjnVldMAQQAmeNUJaxdXoShfBOItfdhQ1+LxeQDbd pAqstF2Rz4zH9NaI6yZLQZZj/+8E0OsaIfoGU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Xax4WXJ64g4IJT5TL72seD8Ucl4RY/fHqX2VDVP0yIk=; b=pcClwgf0jDKZ7iWP7Zv2M5HOUTquT+iowxNiBzRzReeaT1Q36EAUldFM9p9t80t0Ap pyr87IYxAUTtS5rH2DMI4CCT4ItaRDdK6L3F/hFvmSUkNB7VynJlr8CQRwZmldSMXyAL eVPq0jReeQq9L4e6iCF6ixVXjGTq6gVvI2WE4S4Fd2VU8cZgpqgs8Zt52i+3/lEhqJW3 ZfN6LFOGZQacdVnsAS9auttEgs8TFiv5KIV9tavyN/1S1hLnCj7X/k7w7RPlg9Nls32h sf/Uaa2bH9JJqNE/EKEw3k7aKRCNLh2+UUfx1rSQt6XIoaMskSzks0TA2Blxu6RGZUIK AaFg== X-Gm-Message-State: AFqh2kr+jLc4p6Rvr+DhywlVgT4AzYpR4h9GyxOrbuyZggUyOsM7weO1 FPBDMdPryOuMlsKEJ1/B9WXRDQ== X-Google-Smtp-Source: AMrXdXvliLUNoRXU6UVSO5FAVwvfnattkYKfuE057HgDCam8mrmnUANUFA9sPdWU+gzkPMJAkGM8gw== X-Received: by 2002:ac8:7c8d:0:b0:3a9:763b:4a61 with SMTP id y13-20020ac87c8d000000b003a9763b4a61mr80476922qtv.28.1673127564912; Sat, 07 Jan 2023 13:39:24 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-64a1-0c30-ebd7-ca7b.res6.spectrum.com. [2603:6081:7b00:6400:64a1:c30:ebd7:ca7b]) by smtp.gmail.com with ESMTPSA id t34-20020a05622a182200b003a527d29a41sm2355923qtc.75.2023.01.07.13.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 13:39:24 -0800 (PST) Date: Sat, 7 Jan 2023 16:39:22 -0500 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Philippe Schenker , Marek Vasut , Simon Glass , u-boot@lists.denx.de Subject: Re: Broken powerpc compilation since commit 141659187667 ("pylibfdt: Fix disable version normalization") Message-ID: <20230107213922.GV3787616@bill-the-cat> References: <20230107212306.ahs2utfjinnnvdu6@pali> <20230107212400.GT3787616@bill-the-cat> <20230107212543.77lnae4hnnw5f6kv@pali> <20230107212805.GU3787616@bill-the-cat> <20230107213625.rj7hhoovi63aajcl@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="US7+cWlyAHdnjzKe" Content-Disposition: inline In-Reply-To: <20230107213625.rj7hhoovi63aajcl@pali> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --US7+cWlyAHdnjzKe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2023 at 10:36:25PM +0100, Pali Roh=E1r wrote: > On Saturday 07 January 2023 16:28:05 Tom Rini wrote: > > On Sat, Jan 07, 2023 at 10:25:43PM +0100, Pali Roh=E1r wrote: > > > On Saturday 07 January 2023 16:24:00 Tom Rini wrote: > > > > On Sat, Jan 07, 2023 at 10:23:06PM +0100, Pali Roh=E1r wrote: > > > >=20 > > > > > Hello! Now I was going to test urgent release workaround/fix for = this > > > > > issue https://lists.denx.de/pipermail/u-boot/2023-January/503900.= html > > > > > but I figured out that I cannot compile u-boot from master branch= for > > > > > powerpc platform. make throws following error: > > > > >=20 > > > > > LDS u-boot.lds > > > > > HOSTLD scripts/dtc/dtc > > > > > Traceback (most recent call last): > > > > > File "scripts/dtc/pylibfdt/setup.py", line 23, in > > > > > from setuptools import setup, Extension, sic > > > > > ImportError: cannot import name 'sic' from 'setuptools' (/usr= /lib/python3/dist-packages/setuptools/__init__.py) > > > > > make[2]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Erro= r 1 > > > > > make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfd= t] Error 2 > > > > > make: *** [Makefile:2031: scripts_dtc] Error 2 > > > > >=20 > > > > > git bisect showed me that problematic commit is one from yesterda= y: > > > > >=20 > > > > > 141659187667 ("pylibfdt: Fix disable version normalization") > > > > >=20 > > > > > Reverting it on top of master branch compiled u-boot for powerpc = without > > > > > issues. > > > > >=20 > > > > > It looks like a bit complicated issue as that commit is fixing an= other > > > > > commit from two weeks before: > > > > >=20 > > > > > 440098c42e73 ("pylibfdt: Fix version normalization warning") > > > > >=20 > > > > > Tom, do you have an idea how to handle this? > > > >=20 > > > > What host distro are you on? > > >=20 > > > On this build machine I have currently Debian 10. > >=20 > > OK, and does undoing the mentioned commit and trying: > > https://github.com/u-boot/u-boot/pull/266/commits/eb76bf5864b53938db639= 867ad5d75893b5a571e > > instead work there? >=20 > I checkout master branch, then I reverted commit 141659187667 and then > I applied a495b8f497dc from github. But it does not work, it throws error: >=20 > LDS u-boot.lds > HOSTCC scripts/dtc/dtc-lexer.lex.o > HOSTCC scripts/dtc/dtc-parser.tab.o > Traceback (most recent call last): > File "scripts/dtc/pylibfdt/setup.py", line 25, in > from packaging import version > ModuleNotFoundError: No module named 'packaging' > make[2]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1 > make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfdt] Error= 2 > make[1]: *** Waiting for unfinished jobs.... > make: *** [Makefile:2031: scripts_dtc] Error 2 Sigh, let me see if I can come up with something. I assume you're doing a local revert for the moment to test the memsize thing? --=20 Tom --US7+cWlyAHdnjzKe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmO55oMACgkQFHw5/5Y0 tyxl/wv+Isg3Y28FbGUImE5D9hkCol2WruWnahxyErMXJBBAxlioGMPAJ49nc/jb hOEaPj2NXaHorB+P0kW3N+0pxwzbu9vL6bRj5UaI3XgNBcqzwil0JlNbkEh2aMX+ 2xDFOKL6O8NkxKMB6vgXW+i0bz5WxuzJvmOKCwRlrVnjjf5f2AtXddCYB67Azit6 KO5Vc33WbKO3KhOcdLB9faomLW6w6iSbS/TI/9qqF4ASPzE6vuMfg/u2Gw6Ff0zm 5nPB69chBhmtBILH0hBIXqu4HoztCwMEnZ+YvYoX1gdOftsRkXGlcq9IlF+uZQlV 0TUSdC3cChBJAqEXoJFpgGTyiwdAa9UJXxaWuzJy3ggv0Xq2NcaB7BDcUX2+nTay U0/mCGiPm+LgIuVrp6qlyEy89Pjauzox4bAiDoF1SC21QdHr75oE1DiRGC7NQkUf nYXORIvH04ci3AVdEIlMo+ShSkj1Ck3i24TGXBNbnVHnoehEl/a4SICHwUOJxTXi KgHO/W7m =zL0y -----END PGP SIGNATURE----- --US7+cWlyAHdnjzKe--