From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: pylibfdt breakage Date: Sat, 4 Feb 2023 11:05:31 +1100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1Rev1wSU2gvYA+1e" Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=201602; t=1675484580; bh=DSqivICESbE8DIXS+kyM4eraxLOk3gpx1GnYwisMaQU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UkEAJpWpj4IbyD9uKgzvpasjhzDaYuAJwFaZSccpS+bGahMwogQCKyaVR0nU7dd6C OwCVSlpeCoHA9rk9m2X8wRlXloXjkyqMJ73HJu4tLYZctvaxrpZLxQD3k5oPCGZRQm KRnlHDQch40y+qu636JuaG9Hahbgz5ewOFSBsPIM= Content-Disposition: inline In-Reply-To: List-ID: To: Rob Herring Cc: Simon Glass , devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --1Rev1wSU2gvYA+1e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 03, 2023 at 07:56:52AM -0600, Rob Herring wrote: > On Fri, Feb 3, 2023 at 4:01 AM David Gibson = wrote: > > > > On Thu, Feb 02, 2023 at 09:00:05AM -0600, Rob Herring wrote: > > > On Thu, Feb 2, 2023 at 8:15 AM Rob Herring wrote: > > > > > > > > On Wed, Oct 19, 2022 at 3:09 AM David Gibson > > > > wrote: > > > > > > > > > > Hi Simon, > > > > > > > > > > I probably should have contacted you sooner about this. For some > > > > > time, I've been unable to compile and test the pylibfdt component= s on > > > > > my system (Fedora 36). I get this error: > > > > > > > > > > $ make > > > > > CHK version_gen.h > > > > > make[1]: Entering directory '/home/dwg/src/dtc' > > > > > CHK version_gen.h > > > > > PYMOD pylibfdt/_libfdt.so > > > > > /usr/lib/python3.10/site-packages/setuptools/installer.py:27: Set= uptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements= should be satisfied by a PEP 517 installer. > > > > > warnings.warn( > > > > > /home/dwg/src/dtc/.eggs/setuptools_scm-7.0.5-py3.10.egg/setuptool= s_scm/version.py:84: UserWarning: tag 'path-ref-fixup-staging' no version f= ound > > > > > > > > I think the problem is you have a git tag 'path-ref-fixup-staging' > > > > which doesn't match any version pattern (e.g. v1.0.0). The default > > > > pattern is: > > > > Hrm. I don't have a tag called 'path-ref-fixup-staging'. I do have > > one called 'path-ref-fixup-v1' (generated by git publish). I'm not > > sure why setuptools would be looking at tags unrelated to my current > > branch anyway. > > > > > > DEFAULT_TAG_REGEX =3D > > > > r"^(?:[\w-]+-)?(?P[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?$" > > > > > > > > https://github.com/pypa/setuptools_scm/blob/main/src/setuptools_scm= /config.py#L28 > > > > > > I tried adding non-version tags and still don't reproduce this. > > > >=20 > [...] >=20 > > ---- > > cmd: > > git --git-dir /home/dwg/src/dtc/.git describe --dirty --tags --lon= g --match "*[0-9]*" > > in: /home/dwg/src/dtc > > out: > > path-ref-fixup-staging-10-g2022bb1 >=20 > Here's where things start going sideways. I'd go look at .git/refs/tags/ = next. Yeah, that turns out to be unenlightening: $ ls .git/refs/tags/ -la total 0 drwxrwxr-x. 1 dwg dwg 0 Sep 26 15:23 ./ drwxrwxr-x. 1 dwg dwg 32 Nov 21 14:03 ../ --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --1Rev1wSU2gvYA+1e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoULxWu4/Ws0dB+XtgypY4gEwYSIFAmPdoTEACgkQgypY4gEw YSInwg/+NEKthSxjE6uz3C+VjO9GYXHvuq5IF64/3rLduVLy8iq0l1aBezEoWm0Q Xhh1zbkpfAuCDII5XtO6UnBQp6Prpf6ZwjBF2GYnfkwqt1T1SdQnUUrIWRhmfMj+ b+cSeuBK/DvhDMvWenRkVZsxDsh0gFQTb56yT+jxFuwRGHYOg6fk33fE1+aktiYD 05Zx4xXtACanbqle7GfqLyCNjkwhKmIXIqONAYOIIr/XL4EB/5QYMVexQF3McUm9 +ax8OQnA2NJHY56lZvaTep/i2ugHS5A/16lI8FxLG82VQJQFZqNX0ym1l9+GRnLF em8Al2mMHeQtZRznme9664X/vCzIJU4Sbm4yNKcVoZ8YLxUVoDxM5CXZmstvPyS1 VbUx8c01eAbC2qeIcft85ymmQqjl+mUwjMlizqbliPLecNgaD+EVxs8eJJF0rdBC SuPuGWoU6k1mvQDck0LPkhx1DzZ2HAYKIrUrnL6/yTtCYmRH/04Q+I8gF+/7BBri bfcpb+m8WZZUpy82uk84YsziFxZrQW8kbLLrBb/t/FDgek67ZgyBByyHfCSYPGnQ e98at+lZN9SsJBUbCaadEXVO+6cstn9M8WjjeG90aKpEqfgqmJMb460z00VE5neV +JrHeqXQNEtTDXzXa9FqrzNcSNlaXRVx11UUE8ZXlQxJoegHKEA= =04zW -----END PGP SIGNATURE----- --1Rev1wSU2gvYA+1e--