Summary
OS: Alpine Linux v3.21
Architecture: 6.9.12-200.fc40.aarch64 Can't compile on Windows #1 SMP PREEMPT_DYNAMIC Sat Jul 27 16:26:34 UTC 2024 x86_64 GNU/Linux
Psutil version: 7.0.0
Python version: 3.13.2
Type: installation
Description
musl-clang does not exist, see also https://pkgs.alpinelinux.org/contents?file=musl-clang&path=&name=*&branch=v3.21&repo=main&arch=x86_64
Installation fails due to that, if I symlink it (ln -s /usr/bin/clang /usr/local/bin/musl-clang), then it works.
Installation of python:
uv python install 3.13
uv venv --no-cache --python 3.13 /opt/virtualenv-pythonlinters
Log from broken installation:
1cbbfed6d86e:/# uv pip install --verbose psutil
DEBUG uv 0.6.7
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.13.2-linux-x86_64-musl` at `/opt/virtualenv-pythonlinters/bin/python` (first executable in the search path)
Using Python 3.13.2 environment at: /opt/virtualenv-pythonlinters
DEBUG Acquired lock for `/opt/virtualenv-pythonlinters`
DEBUG At least one requirement is not satisfied: psutil
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.13.2
DEBUG Solving with target Python version: >=3.13.2
DEBUG Adding direct dependency: psutil*
DEBUG Found fresh response for: https://pypi.org/simple/psutil/
DEBUG Searching for a compatible version of psutil (*)
DEBUG Selecting: psutil==7.0.0 [compatible] (psutil-7.0.0.tar.gz)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/ed/e6/2d26234410f8b8abdbf891c9da62bee396583f713fb9f3325a4760875d22/psutil-7.0.0-cp36-abi3-macosx_10_9_x86_64.whl.metadata
DEBUG Tried 1 versions: psutil 1
DEBUG marker environment resolution took 0.039s
Resolved 1 package in 57ms
DEBUG Identified uncached distribution: psutil==7.0.0
DEBUG Unnecessary package: certifi==2025.1.31
DEBUG Unnecessary package: charset-normalizer==3.4.1
DEBUG Unnecessary package: idna==3.10
DEBUG Unnecessary package: requests==2.32.3
DEBUG Unnecessary package: urllib3==2.3.0
DEBUG Acquired lock for `/var/cache/uv/sdists-v8/pypi/psutil/7.0.0`
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz
Building psutil==7.0.0
DEBUG Building: psutil==7.0.0
DEBUG Assessing Python executable as base candidate: /root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/bin/python3.13
DEBUG Using base executable for virtual environment: /root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/bin/python3.13
DEBUG Ignoring empty directory
DEBUG Resolving build requirements
DEBUG Solving with installed Python version: 3.13.2
DEBUG Solving with target Python version: >=3.13.2
DEBUG Adding direct dependency: setuptools>=43
DEBUG Found fresh response for: https://pypi.org/simple/setuptools/
DEBUG Searching for a compatible version of setuptools (>=43)
DEBUG Selecting: setuptools==77.0.1 [compatible] (setuptools-77.0.1-py3-none-any.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/40/50/bc3d02829a3babd70b7f1414c93cf6acd198976f0469a07d0e7b813c5002/setuptools-77.0.1-py3-none-any.whl.metadata
DEBUG Tried 1 versions: setuptools 1
DEBUG marker environment resolution took 0.007s
DEBUG Installing in setuptools==77.0.1 in /var/cache/uv/builds-v0/.tmpHBvhbE
DEBUG Registry requirement already cached: setuptools==77.0.1
DEBUG Installing build requirement: setuptools==77.0.1
DEBUG Creating PEP 517 build environment
DEBUG Calling `setuptools.build_meta.get_requires_for_build_wheel()`
DEBUG /var/cache/uv/builds-v0/.tmpHBvhbE/lib/python3.13/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.
DEBUG !!
DEBUG
DEBUG ********************************************************************************
DEBUG Please consider removing the following classifiers in favor of a SPDX license expression:
DEBUG
DEBUG License :: OSI Approved :: BSD License
DEBUG
DEBUG See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
DEBUG ********************************************************************************
DEBUG
DEBUG !!
DEBUG self._finalize_license_expression()
DEBUG running egg_info
DEBUG writing psutil.egg-info/PKG-INFO
DEBUG writing dependency_links to psutil.egg-info/dependency_links.txt
DEBUG writing requirements to psutil.egg-info/requires.txt
DEBUG writing top-level names to psutil.egg-info/top_level.txt
DEBUG reading manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG reading manifest template 'MANIFEST.in'
DEBUG adding license file 'LICENSE'
DEBUG writing manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG Calling `setuptools.build_meta.build_wheel("/var/cache/uv/builds-v0/.tmpzmYAQx", {}, None)`
DEBUG /var/cache/uv/builds-v0/.tmpHBvhbE/lib/python3.13/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.
DEBUG !!
DEBUG
DEBUG ********************************************************************************
DEBUG Please consider removing the following classifiers in favor of a SPDX license expression:
DEBUG
DEBUG License :: OSI Approved :: BSD License
DEBUG
DEBUG See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
DEBUG ********************************************************************************
DEBUG
DEBUG !!
DEBUG self._finalize_license_expression()
DEBUG running bdist_wheel
DEBUG running build
DEBUG running build_py
DEBUG copying psutil/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_common.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psaix.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psbsd.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pslinux.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psosx.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psposix.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pssunos.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pswindows.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/tests/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/__main__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_process.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_process_all.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_scripts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_system.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG running build_ext
DEBUG building 'psutil._psutil_linux' extension
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpHBvhbE/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o
DEBUG psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:
DEBUG sudo apk add gcc p3-dev musl-dev linux-headers
DEBUG error: command 'musl-clang' failed: No such file or directory
DEBUG Released lock at `/var/cache/uv/sdists-v8/pypi/psutil/7.0.0/.lock`
× Failed to build `psutil==7.0.0`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
copying psutil/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_common.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_psaix.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_psbsd.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_pslinux.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_psosx.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_psposix.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_pssunos.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/_pswindows.py -> build/lib.linux-x86_64-cpython-313/psutil
copying psutil/tests/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_process_all.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_scripts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1
-DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpHBvhbE/include
-I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_common.c -o
build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o
[stderr]
/var/cache/uv/builds-v0/.tmpHBvhbE/lib/python3.13/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are
deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: BSD License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:
sudo apk add gcc p3-dev musl-dev linux-headers
error: command 'musl-clang' failed: No such file or directory
hint: This usually indicates a problem with the package or the build environment.
DEBUG Released lock at `/opt/virtualenv-pythonlinters/.lock`
Log from working installation:
1cbbfed6d86e:/# uv pip install --verbose psutil
DEBUG uv 0.6.7
DEBUG Searching for default Python interpreter in virtual environments
DEBUG Found `cpython-3.13.2-linux-x86_64-musl` at `/opt/virtualenv-pythonlinters/bin/python` (first executable in the search path)
Using Python 3.13.2 environment at: /opt/virtualenv-pythonlinters
DEBUG Acquired lock for `/opt/virtualenv-pythonlinters`
DEBUG At least one requirement is not satisfied: psutil
DEBUG Using request timeout of 30s
DEBUG Solving with installed Python version: 3.13.2
DEBUG Solving with target Python version: >=3.13.2
DEBUG Adding direct dependency: psutil*
DEBUG Found fresh response for: https://pypi.org/simple/psutil/
DEBUG Searching for a compatible version of psutil (*)
DEBUG Selecting: psutil==7.0.0 [compatible] (psutil-7.0.0.tar.gz)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/ed/e6/2d26234410f8b8abdbf891c9da62bee396583f713fb9f3325a4760875d22/psutil-7.0.0-cp36-abi3-macosx_10_9_x86_64.whl.metadata
DEBUG Tried 1 versions: psutil 1
DEBUG marker environment resolution took 0.032s
Resolved 1 package in 47ms
DEBUG Identified uncached distribution: psutil==7.0.0
DEBUG Unnecessary package: certifi==2025.1.31
DEBUG Unnecessary package: charset-normalizer==3.4.1
DEBUG Unnecessary package: idna==3.10
DEBUG Unnecessary package: requests==2.32.3
DEBUG Unnecessary package: urllib3==2.3.0
DEBUG Acquired lock for `/var/cache/uv/sdists-v8/pypi/psutil/7.0.0`
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/2a/80/336820c1ad9286a4ded7e845b2eccfcb27851ab8ac6abece774a6ff4d3de/psutil-7.0.0.tar.gz
Building psutil==7.0.0
DEBUG Building: psutil==7.0.0
DEBUG Assessing Python executable as base candidate: /root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/bin/python3.13
DEBUG Using base executable for virtual environment: /root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/bin/python3.13
DEBUG Ignoring empty directory
DEBUG Resolving build requirements
DEBUG Solving with installed Python version: 3.13.2
DEBUG Solving with target Python version: >=3.13.2
DEBUG Adding direct dependency: setuptools>=43
DEBUG Found fresh response for: https://pypi.org/simple/setuptools/
DEBUG Searching for a compatible version of setuptools (>=43)
DEBUG Selecting: setuptools==77.0.1 [compatible] (setuptools-77.0.1-py3-none-any.whl)
DEBUG Found fresh response for: https://files.pythonhosted.org/packages/40/50/bc3d02829a3babd70b7f1414c93cf6acd198976f0469a07d0e7b813c5002/setuptools-77.0.1-py3-none-any.whl.metadata
DEBUG Tried 1 versions: setuptools 1
DEBUG marker environment resolution took 0.007s
DEBUG Installing in setuptools==77.0.1 in /var/cache/uv/builds-v0/.tmpPDHlLg
DEBUG Registry requirement already cached: setuptools==77.0.1
DEBUG Installing build requirement: setuptools==77.0.1
DEBUG Creating PEP 517 build environment
DEBUG Calling `setuptools.build_meta.get_requires_for_build_wheel()`
DEBUG /var/cache/uv/builds-v0/.tmpPDHlLg/lib/python3.13/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.
DEBUG !!
DEBUG
DEBUG ********************************************************************************
DEBUG Please consider removing the following classifiers in favor of a SPDX license expression:
DEBUG
DEBUG License :: OSI Approved :: BSD License
DEBUG
DEBUG See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
DEBUG ********************************************************************************
DEBUG
DEBUG !!
DEBUG self._finalize_license_expression()
DEBUG running egg_info
DEBUG writing psutil.egg-info/PKG-INFO
DEBUG writing dependency_links to psutil.egg-info/dependency_links.txt
DEBUG writing requirements to psutil.egg-info/requires.txt
DEBUG writing top-level names to psutil.egg-info/top_level.txt
DEBUG reading manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG reading manifest template 'MANIFEST.in'
DEBUG adding license file 'LICENSE'
DEBUG writing manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG Calling `setuptools.build_meta.build_wheel("/var/cache/uv/builds-v0/.tmpSleSBH", {}, None)`
DEBUG /var/cache/uv/builds-v0/.tmpPDHlLg/lib/python3.13/site-packages/setuptools/dist.py:751: SetuptoolsDeprecationWarning: License classifiers are deprecated.
DEBUG !!
DEBUG
DEBUG ********************************************************************************
DEBUG Please consider removing the following classifiers in favor of a SPDX license expression:
DEBUG
DEBUG License :: OSI Approved :: BSD License
DEBUG
DEBUG See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
DEBUG ********************************************************************************
DEBUG
DEBUG !!
DEBUG self._finalize_license_expression()
DEBUG running bdist_wheel
DEBUG running build
DEBUG running build_py
DEBUG copying psutil/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_common.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psaix.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psbsd.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pslinux.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psosx.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_psposix.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pssunos.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/_pswindows.py -> build/lib.linux-x86_64-cpython-313/psutil
DEBUG copying psutil/tests/__init__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/__main__.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_process.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_process_all.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_scripts.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_system.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-cpython-313/psutil/tests
DEBUG running build_ext
DEBUG building 'psutil._psutil_linux' extension
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_linux.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_posix.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/arch/linux/disk.c -o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/disk.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/arch/linux/mem.c -o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/mem.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/arch/linux/net.c -o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/net.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/arch/linux/proc.c -o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/proc.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/arch/linux/users.c -o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/users.o
DEBUG musl-clang -shared -Wl,--exclude-libs,ALL -LModules/_hacl -I/usr/local/include/python3.12 build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o build/temp.linux-x86_64-cpython-313/psutil/_psutil_linux.o build/temp.linux-x86_64-cpython-313/psutil/_psutil_posix.o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/disk.o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/mem.o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/net.o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/proc.o build/temp.linux-x86_64-cpython-313/psutil/arch/linux/users.o -L/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/lib -o build/lib.linux-x86_64-cpython-313/psutil/_psutil_linux.abi3.so
DEBUG building 'psutil._psutil_posix' extension
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o
DEBUG musl-clang -fno-strict-overflow -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=700 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/var/cache/uv/builds-v0/.tmpPDHlLg/include -I/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/include/python3.13 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-cpython-313/psutil/_psutil_posix.o
DEBUG musl-clang -shared -Wl,--exclude-libs,ALL -LModules/_hacl -I/usr/local/include/python3.12 build/temp.linux-x86_64-cpython-313/psutil/_psutil_common.o build/temp.linux-x86_64-cpython-313/psutil/_psutil_posix.o -L/root/.local/share/uv/python/cpython-3.13.2-linux-x86_64-musl/lib -o build/lib.linux-x86_64-cpython-313/psutil/_psutil_posix.abi3.so
DEBUG installing to build/bdist.linux-x86_64/wheel
DEBUG running install
DEBUG running install_lib
DEBUG creating build/bdist.linux-x86_64/wheel
DEBUG creating build/bdist.linux-x86_64/wheel/psutil
DEBUG creating build/bdist.linux-x86_64/wheel/psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_windows.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/__main__.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_aix.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_bsd.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_connections.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_contracts.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_linux.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_memleaks.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_misc.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_osx.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_posix.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_process.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_process_all.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_scripts.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_sunos.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_system.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_testutils.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/tests/test_unicode.py -> build/bdist.linux-x86_64/wheel/./psutil/tests
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/__init__.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_common.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psaix.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psbsd.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_pslinux.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psosx.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psposix.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_pssunos.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_pswindows.py -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psutil_linux.abi3.so -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG copying build/lib.linux-x86_64-cpython-313/psutil/_psutil_posix.abi3.so -> build/bdist.linux-x86_64/wheel/./psutil
DEBUG running install_egg_info
DEBUG running egg_info
DEBUG writing psutil.egg-info/PKG-INFO
DEBUG writing dependency_links to psutil.egg-info/dependency_links.txt
DEBUG writing requirements to psutil.egg-info/requires.txt
DEBUG writing top-level names to psutil.egg-info/top_level.txt
DEBUG reading manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG reading manifest template 'MANIFEST.in'
DEBUG adding license file 'LICENSE'
DEBUG writing manifest file 'psutil.egg-info/SOURCES.txt'
DEBUG Copying psutil.egg-info to build/bdist.linux-x86_64/wheel/./psutil-7.0.0-py3.13.egg-info
DEBUG running install_scripts
DEBUG creating build/bdist.linux-x86_64/wheel/psutil-7.0.0.dist-info/WHEEL
DEBUG creating '/var/cache/uv/builds-v0/.tmpSleSBH/.tmp-3kblay17/psutil-7.0.0-cp36-abi3-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
DEBUG adding 'psutil/__init__.py'
DEBUG adding 'psutil/_common.py'
DEBUG adding 'psutil/_psaix.py'
DEBUG adding 'psutil/_psbsd.py'
DEBUG adding 'psutil/_pslinux.py'
DEBUG adding 'psutil/_psosx.py'
DEBUG adding 'psutil/_psposix.py'
DEBUG adding 'psutil/_pssunos.py'
DEBUG adding 'psutil/_psutil_linux.abi3.so'
DEBUG adding 'psutil/_psutil_posix.abi3.so'
DEBUG adding 'psutil/_pswindows.py'
DEBUG adding 'psutil/tests/__init__.py'
DEBUG adding 'psutil/tests/__main__.py'
DEBUG adding 'psutil/tests/test_aix.py'
DEBUG adding 'psutil/tests/test_bsd.py'
DEBUG adding 'psutil/tests/test_connections.py'
DEBUG adding 'psutil/tests/test_contracts.py'
DEBUG adding 'psutil/tests/test_linux.py'
DEBUG adding 'psutil/tests/test_memleaks.py'
DEBUG adding 'psutil/tests/test_misc.py'
DEBUG adding 'psutil/tests/test_osx.py'
DEBUG adding 'psutil/tests/test_posix.py'
DEBUG adding 'psutil/tests/test_process.py'
DEBUG adding 'psutil/tests/test_process_all.py'
DEBUG adding 'psutil/tests/test_scripts.py'
DEBUG adding 'psutil/tests/test_sunos.py'
DEBUG adding 'psutil/tests/test_system.py'
DEBUG adding 'psutil/tests/test_testutils.py'
DEBUG adding 'psutil/tests/test_unicode.py'
DEBUG adding 'psutil/tests/test_windows.py'
DEBUG adding 'psutil-7.0.0.dist-info/licenses/LICENSE'
DEBUG adding 'psutil-7.0.0.dist-info/METADATA'
DEBUG adding 'psutil-7.0.0.dist-info/WHEEL'
DEBUG adding 'psutil-7.0.0.dist-info/top_level.txt'
DEBUG adding 'psutil-7.0.0.dist-info/RECORD'
DEBUG removing build/bdist.linux-x86_64/wheel
DEBUG Finished building: psutil==7.0.0
Built psutil==7.0.0
DEBUG Released lock at `/var/cache/uv/sdists-v8/pypi/psutil/7.0.0/.lock`
Prepared 1 package in 10.65s
Installed 1 package in 1ms
+ psutil==7.0.0
DEBUG Released lock at `/opt/virtualenv-pythonlinters/.lock`
Summary
Description
musl-clangdoes not exist, see also https://pkgs.alpinelinux.org/contents?file=musl-clang&path=&name=*&branch=v3.21&repo=main&arch=x86_64Installation fails due to that, if I symlink it (
ln -s /usr/bin/clang /usr/local/bin/musl-clang), then it works.Installation of python:
Log from broken installation:
Log from working installation: