Re: [PATCH dt-schema 0/3] schemas: i2c: fix "smbus_alert" handling

Wolfram Sang <[email protected]>
Newsgroups org.kernel.vger.devicetree-spec,org.kernel.vger.linux-i2c,org.kernel.vger.linux-renesas-soc
Message-ID <Zr5xw9-dY0dXfIGt@shikoro>
> >   × Building wheel for pylibfdt (pyproject.toml) did not run successfully.
> >   │ exit code: 1
> >   ╰─> [14 lines of output]
> >       WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'

Thanks for bearing with me. I have to admit I stopped reading after
this...

> >       Traceback (most recent call last):
> >         File "/tmp/pip-build-env-5v1x378l/normal/lib/python3.11/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
> >           section = defn.get("tool", {})[tool_name]
> >                     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^

... and this ...

> >       KeyError: 'setuptools_scm'
> >       running bdist_wheel
> >       running build
> >       running build_py
> >       running build_ext
> >       building '_libfdt' extension
> >       swigging libfdt/libfdt.i to libfdt/libfdt_wrap.c
> >       swig -python -Ilibfdt -o libfdt/libfdt_wrap.c libfdt/libfdt.i
> >       error: command 'swig' failed: No such file or directory

... so I totally missed this. It is even documented in README. Sorry!

> You have to install 'swig' which is a C to python binding thing
> pylibfdt uses. You should have a distro package for it. There's also a

It works now, thank you!

> pip package 'swig' that will download and build it. There's actually a
> MR to make that a dependency I need to go look at.

Sounds like a good idea to save you from support like here ;)

I will send out v2 in a few minutes.
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAma+cb8ACgkQFA3kzBSg
KbZupg//VLfUFh9phE3qIA5gFzhFHzuWus/1NFa+bSzblntkUNZK+R+gVAJzi7u/
zFR0wlyXxUvyTJvuo0boWn2V+TsXHJYGBwtMwbwCJb3B8JomY2GpOcSSy0zQ5h/L
meL3R4hpqbBUJdTA+ecEaup/IwRm495odNthFXdJjeAeAbUlJz6CZeULzvywhS0X
7TiuYV5cyI7oVDojx213gsS0Iwomx0/mOeAv+QlKOTiOHrzi9Ht1K0weXz2C4tQg
qgvIqklgFMVS2PF0r9so1m0Wkn17PFa5+SSM+trezKdbUr4YxGyBD+pEntKqCm0J
GlOAwFNneGOxjg30hVc69k3IHMis9bA8RS7HJOkGUBkWYUFkwPqTxlmLIwlNCm1h
pMsk/GMtQUWfQivHrpoMErM3RBmGjIohM/sF03Ez6tkGhM0nxRrkOD3Gbw5+CTu4
Pjrn/ZIfaELFHK11yV+Km1NBcQ5qbmMMoD5xkZ6PrMzEPmiv0yDz1/kAipqoFcNd
gg9Ze3i35ewyFxH/+tOoVSxilIUblkgO3W+NhobfU7P8vSPGB9qTqfr9Tz327YGE
TboeRu4aHCxX6gUHh6EDxaThHb9yVaWqZL6/L1M4/6UwXorN3JjqGck3fVvltR2I
ntL7YMQOL1NhnIIjntIs3DjIRNaa3+ynqon9yeNIk6rGYq0yI3k=
=bwaJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.