Skbuild is not a pypi package. I thought that by focusing on wheels I didn’t have to build all the way down to the leaves. This is extraordinarily tedious! Not sure how to get past this at the moment:
========================================================================
Building module python3-cmake in /home/jreynolds/btbits/x64_btbits/tools/flatpak/ct_flatpak_py3-08/.flatpak-builder/build/python3-cmake-1
========================================================================
Running: pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "cmake==3.28.4" --no-build-isolation
FB: Running: flatpak build --die-with-parent --env=FLATPAK_BUILDER_BUILDDIR=/run/build/python3-cmake --nofilesystem=host:reset --filesystem=/home/jreynolds/btbits/x64_btbits/tools/flatpak/ct_flatpak_py3-08/.flatpak-builder/build/python3-cmake-1 --bind-mount=/run/build/python3-cmake=/home/jreynolds/btbits/x64_btbits/tools/flatpak/ct_flatpak_py3-08/.flatpak-builder/build/python3-cmake-1 --build-dir=/run/build/python3-cmake --bind-mount=/run/ccache=/home/jreynolds/btbits/x64_btbits/tools/flatpak/ct_flatpak_py3-08/.flatpak-builder/ccache --env=SOURCE_DATE_EPOCH=1717528803 '--env=CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=CXXFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=24 /home/jreynolds/btbits/x64_btbits/tools/flatpak/ct_flatpak_py3-08/.flatpak-builder/rofiles/rofiles-RzRksV /bin/sh -c 'pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "cmake==3.28.4" --no-build-isolation'
Using pip 23.0.1 from /app/lib/python3.8/site-packages/pip (python 3.8)
Looking in links: file:///run/build/python3-cmake
Processing ./cmake-3.28.4.tar.gz
Running command Preparing metadata (pyproject.toml)
Traceback (most recent call last):
File "/app/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/app/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/app/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/app/lib/python3.8/site-packages/setuptools/build_meta.py", line 166, in prepare_metadata_for_build_wheel
self.run_setup()
File "/app/lib/python3.8/site-packages/setuptools/build_meta.py", line 150, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 8, in <module>
from skbuild import setup
ModuleNotFoundError: No module named 'skbuild'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /app/bin/python3.8 /app/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpi_ky8ojd
cwd: /tmp/pip-install-25htqlt6/cmake_f45285a7a6b746748fe53712a57820d5
Preparing metadata (pyproject.toml) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
Here is the segment of my json requirements manifest:
{
"name": "python3-cmake",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cmake==3.28.4\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/e7/90/39fc3e549f434ae8e9e9a8af96337de6556c82447321b4bc0e39bc68b55d/cmake-3.28.4.tar.gz",
"sha256": "b9dd1010ebe951e1acce054c295d5f891a8ae12b295d158b66020c955ae861b4"
}
]
},
{
"name": "python3-skbuild-conan",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"skbuild-conan==1.2.0\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/18/01/ac55f9823d48aeadb04dadb85fcd82ad2bd85e8645669012d7c4ff9d9962/skbuild_conan-1.2.0-py3-none-any.whl",
"sha256": "cc8262727a7835750eb710f2c88e2f12903b0ebee6842ae65a2264d62e051247"
}
]
},
Any suggestions?