b635bda5bc
host-python3 currently does not build if util-linux-uuid option is not
enabled, failing with the following error messages:
"""
/usr/lib64/ccache/gcc -fPIC -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/home/qschulz/work/upstream/buildroot/output/host/include -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include -I. -I/home/qschulz/work/upstream/buildroot/output/host/include -I/usr/local/include -I/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Include -I/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1 -c /home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c -o build/temp.linux-x86_64-3.11/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.o
/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c: In function ‘py_uuid_generate_time_safe’:
/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c:27:12: error: storage size of ‘uui ’ isn’t known
27 | uuid_t uuid;
| ^~~~
/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c:31:11: error: implicit declaration of function ‘uuid_generate_time_safe’; did you mean ‘py_uuid_generate_time_safe’? [-Werror=implicit-function-declaration]
31 | res = uuid_generate_time_safe(uuid);
| ^~~~~~~~~~~~~~~~~~~~~~~
| py_uuid_generate_time_safe
/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c:27:12: warning: unused variable ‘uuid’ [-Wunused-variable]
27 | uuid_t uuid;
| ^~~~
/home/qschulz/work/upstream/buildroot/output/build/host-python3-3.11.1/Modules/_uuidmodule.c:47:1: warning: control reaches end of non-void function [-Wreturn-type]
47 | }
| ^
cc1: some warnings being treated as errors
The necessary bits to build these optional modules were not found:
_dbm _gdbm _tkinter
nis readline
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
The following modules found by detect_modules() in setup.py have not
been built, they are *disabled* by configure:
_ctypes_test _sqlite3 _testbuffer
_testcapi _testimportmultiple _testinternalcapi
_testmultiphase _xxtestfuzz
Failed to build these modules:
_uuid
"""
Therefore, let's disable building the _uuid extension the same way it's
done for the target package since commit
|
||
---|---|---|
.. | ||
0001-Make-the-build-of-pyc-files-conditional.patch | ||
0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch | ||
0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch | ||
0004-Adjust-library-header-paths-for-cross-compilation.patch | ||
0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch | ||
0006-Don-t-add-multiarch-paths.patch | ||
0007-Abort-on-failed-module-build.patch | ||
0008-Serial-ioctl-workaround.patch | ||
0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch | ||
0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch | ||
0011-Add-an-option-to-disable-pydoc.patch | ||
0012-Add-an-option-to-disable-lib2to3.patch | ||
0013-Add-option-to-disable-the-sqlite3-module.patch | ||
0014-Add-an-option-to-disable-the-tk-module.patch | ||
0015-Add-an-option-to-disable-the-curses-module.patch | ||
0016-Add-an-option-to-disable-expat.patch | ||
0017-Add-an-option-to-disable-CJK-codecs.patch | ||
0018-Add-an-option-to-disable-NIS.patch | ||
0019-Add-an-option-to-disable-unicodedata.patch | ||
0020-Add-an-option-to-disable-IDLE.patch | ||
0021-Add-an-option-to-disable-decimal.patch | ||
0022-Add-an-option-to-disable-the-ossaudiodev-module.patch | ||
0023-Add-an-option-to-disable-openssl-support.patch | ||
0024-Add-an-option-to-disable-the-readline-module.patch | ||
0025-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch | ||
0026-python-config.sh-don-t-reassign-prefix.patch | ||
0027-Add-an-option-to-disable-uuid-module.patch | ||
0028-fix-building-on-older-distributions.patch | ||
0029-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch | ||
0030-Add-an-option-to-disable-the-berkeleydb-module.patch | ||
0031-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch | ||
Config.in | ||
Config.in.host | ||
python3.hash | ||
python3.mk |