[Buildroot] [PATCH 1/1] package/cracklib: python needs autoreconf
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Feb 11 21:33:45 UTC 2024
On Sun, 11 Feb 2024 18:07:07 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
> Set CRACKLIB_AUTORECONF when building python to regenerate
> python/test/Makefile and avoid the following build failure with python
> 3.12 (which removed imp mpodule) raised since commit
> 36e635d2d5c0166476858aa239ccbe78e8f2af14:
>
> Traceback (most recent call last):
> File "<string>", line 2, in <module>
> ModuleNotFoundError: No module named 'imp'
> make[3]: *** [Makefile:485: install-pythonPYTHON] Error 1
>
> Fixes:
> - http://autobuild.buildroot.org/results/aec4c19fdf8087c76c1d5f472e855e0f84fcf7fd
Thanks for the fix. Could you describe a bit how an autoreconf helps in
resolving this? Is it because the new Python comes with a newer set of
.m4 macros?
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list