kumquat-buildroot/package/python3
Roy Kollen Svendsen 687b96db4d package/python3: fix install when tk is disabled
Fixes the following failure in the install step of host-python3:
    ...
    /usr/bin/install -c -m 644 pyconfig.h output/host/include/python3.12/pyconfig.h
    [ERROR] _tkinter failed to import: output/build/host-python3-3.12.1/build/lib.linux-x86_64-3.12/_tkinter.cpython-312-x86_64-linux-gnu.so: undefined symbol: Tcl_AddErrorInfo
    The following modules are *disabled* in configure script:
    _ctypes_test          _testbuffer           _testcapi
    _testclinic           _testimportmultiple   _testinternalcapi
    _testmultiphase       _xxtestfuzz           xxsubtype

    Following modules built successfully but were removed because they could not be imported:
    _tkinter

    Checked 110 modules (31 built-in, 54 shared, 15 n/a on linux-x86_64, 9 disabled, 0 missing, 1 failed on import)
    ...
    /usr/bin/install -c -m 644 ./Lib/types.py output/host/lib/python3.12
    /usr/bin/install: cannot stat 'Modules/_tkinter.cpython-312-x86_64-linux-gnu.so': No such file or directory
    /usr/bin/install -c -m 644 ./Lib/typing.py output/host/lib/python3.12
    make[3]: *** [Makefile:2068: sharedinstall] Error 1
    ...

Fixes: 36e635d2d5 ("package/python3: bump version to 3.12.1")

Signed-off-by: Roy Kollen Svendsen <roy.kollen.svendsen@akersolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-11 23:10:57 +01:00
..
0001-Make-the-build-of-pyc-files-conditional.patch
0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch
0003-Adjust-library-header-paths-for-cross-compilation.patch
0004-Serial-ioctl-workaround.patch
0005-Misc-python-config.sh.in-ensure-sed-invocations-only.patch
0006-Add-an-option-to-disable-pydoc.patch
0007-Add-an-option-to-disable-lib2to3.patch
0008-Add-an-option-to-disable-IDLE.patch
0009-python-config.sh-don-t-reassign-prefix.patch
0010-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch
0011-Add-option-to-disable-the-sqlite3-module.patch
0012-Add-an-option-to-disable-the-tk-module.patch
0013-Add-an-option-to-disable-the-curses-module.patch
0014-Add-an-option-to-disable-expat.patch
0015-fix-building-on-older-distributions.patch
0016-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch
0017-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch
Config.in
Config.in.host
python3.hash
python3.mk