install-qt-action: ERROR: Could not build wheels for bcj-cffi, pyppmd, which is required to install pyproject.toml-based projects
Hi,
Just in the last few hours, it seems to fail to install Qt5.15.2 on macos-latest.
The console output of Github Actions shows the following error.
I have tried three times and the error persists.
ERROR: Could not build wheels for bcj-cffi, pyppmd, which is required to install pyproject.toml-based projects
full error stack
Run jurplel/install-qt-action@v2
with:
version: 5.15.2
host: mac
target: desktop
dir: /Users/runner/work/goneovim/goneovim
modules: qtcharts qtdatavis3d qtpurchasing qtvirtualkeyboard qtwebengine qtnetworkauth qtwebglplugin qtscript
install-deps: true
cached: false
setup-python: true
set-env: true
tools-only: false
aqtversion: ==1.2.5
py7zrversion: ==0.16.1
env:
cache-version: v1
GOPATH: /Users/runner/work/goneovim/goneovim
QT_DIR: /Users/runner/work/goneovim/goneovim/Qt
QT_VERSION: 5.15.2
QT_API: 5.13.0
QT_DEBUG: false
GO111MODULE: off
GOPROXY: https://goproxy.io
QMAKE_APPLE_DEVICE_ARCHS: arm64
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
GOROOT: /Users/runner/hostedtoolcache/go/1.16.13/x64
Successfully setup CPython (3.10.2)
brew install p7zip
Warning: p7zip 17.04 is already installed and up-to-date.
To reinstall 17.04, run:
brew reinstall p7zip
python3 -m pip install setuptools wheel
Requirement already satisfied: setuptools in /Users/runner/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages (58.1.0)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.1
python3 -m pip install py7zr==0.16.1
Collecting py7zr==0.16.1
Downloading py7zr-0.16.1-py3-none-any.whl (65 kB)
Collecting bcj-cffi<0.6.0,>=0.5.1
Downloading bcj-cffi-0.5.1.tar.gz (35 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting brotli>=1.0.9
Downloading Brotli-1.0.9-cp310-cp310-macosx_10_9_x86_64.whl (421 kB)
Collecting pyppmd>=0.14.0
Downloading pyppmd-0.17.3.tar.gz (462 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting pycryptodomex>=3.6.6
Downloading pycryptodomex-3.13.0-cp35-abi3-macosx_10_9_x86_64.whl (1.5 MB)
Collecting pyzstd<0.15.0,>=0.14.4
Downloading pyzstd-0.14.4.tar.gz (659 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting texttable
Downloading texttable-1.6.4-py2.py3-none-any.whl (10 kB)
Collecting multivolumefile>=0.2.3
Downloading multivolumefile-0.2.3-py3-none-any.whl (17 kB)
Collecting cffi>=1.14.0
Using cached cffi-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl (178 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: bcj-cffi, pyppmd, pyzstd
Building wheel for bcj-cffi (pyproject.toml): started
Building wheel for bcj-cffi (pyproject.toml): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/runner/hostedtoolcache/Python/3.10.2/x64/bin/python3 /Users/runner/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmp25l1wheb
cwd: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-install-d5wlp_4_/bcj-cffi_a3555217f70443eaae0a8a6e904419fa
Complete output (20 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.10
creating build/lib.macosx-10.15-x86_64-3.10/bcj
copying src/bcj/__init__.py -> build/lib.macosx-10.15-x86_64-3.10/bcj
copying src/bcj/py.typed -> build/lib.macosx-10.15-x86_64-3.10/bcj
copying src/bcj/__init__.pyi -> build/lib.macosx-10.15-x86_64-3.10/bcj
running build_ext
creating build/temp.macosx-10.15-x86_64-3.10
creating build/temp.macosx-10.15-x86_64-3.10/build
creating build/temp.macosx-10.15-x86_64-3.10/build/temp.macosx-10.15-x86_64-3.10
creating build/temp.macosx-10.15-x86_64-3.10/src
creating build/temp.macosx-10.15-x86_64-3.10/src/ext
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include -Isrc/ext -I/Users/runner/hostedtoolcache/Python/3.10.2/x64/include/python3.10 -c build/temp.macosx-10.15-x86_64-3.10/_bcj.c -o build/temp.macosx-10.15-x86_64-3.10/build/temp.macosx-10.15-x86_64-3.10/_bcj.o
gcc: error: Failed to determine realpath of '/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk' (errno=No such file or directory)
gcc: error: sh -c '/Applications/Xcode_13.1.app/Contents/Developer/usr/bin/xcodebuild -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -find gcc 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcode-select: Failed to locate 'gcc', requesting installation of command line developer tools.
error: command '/usr/bin/gcc' failed with exit code 72
----------------------------------------
ERROR: Failed building wheel for bcj-cffi
Building wheel for pyppmd (pyproject.toml): started
Building wheel for pyppmd (pyproject.toml): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/runner/hostedtoolcache/Python/3.10.2/x64/bin/python3 /Users/runner/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmptk0nmbig
cwd: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-install-d5wlp_4_/pyppmd_c4d78c081b50480b94e5c9e4093a3294
Complete output (23 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.10
creating build/lib.macosx-10.15-x86_64-3.10/pyppmd
copying src/pyppmd/__init__.py -> build/lib.macosx-10.15-x86_64-3.10/pyppmd
package init file 'src/pyppmd/c/__init__.py' not found (or not a regular file)
creating build/lib.macosx-10.15-x86_64-3.10/pyppmd/c
copying src/pyppmd/c/c_ppmd.py -> build/lib.macosx-10.15-x86_64-3.10/pyppmd/c
copying src/pyppmd/__init__.pyi -> build/lib.macosx-10.15-x86_64-3.10/pyppmd
copying src/pyppmd/py.typed -> build/lib.macosx-10.15-x86_64-3.10/pyppmd
running build_ext
creating build/temp.macosx-10.15-x86_64-3.10
creating build/temp.macosx-10.15-x86_64-3.10/lib
creating build/temp.macosx-10.15-x86_64-3.10/lib2
creating build/temp.macosx-10.15-x86_64-3.10/src
creating build/temp.macosx-10.15-x86_64-3.10/src/ext
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include -Ilib -Ilib2 -I/Users/runner/hostedtoolcache/Python/3.10.2/x64/include/python3.10 -c lib/Ppmd7.c -o build/temp.macosx-10.15-x86_64-3.10/lib/Ppmd7.o
gcc: error: Failed to determine realpath of '/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk' (errno=No such file or directory)
gcc: error: sh -c '/Applications/Xcode_13.1.app/Contents/Developer/usr/bin/xcodebuild -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -find gcc 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcode-select: Failed to locate 'gcc', requesting installation of command line developer tools.
error: command '/usr/bin/gcc' failed with exit code 72
----------------------------------------
ERROR: Failed building wheel for pyppmd
Building wheel for pyzstd (setup.py): started
Building wheel for pyzstd (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /Users/runner/hostedtoolcache/Python/3.10.2/x64/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-install-d5wlp_4_/pyzstd_57932576621249a496cc7e020f84549d/setup.py'"'"'; __file__='"'"'/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-install-d5wlp_4_/pyzstd_57932576621249a496cc7e020f84549d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-wheel-4_kl_zny
cwd: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-install-d5wlp_4_/pyzstd_57932576621249a496cc7e020f84549d/
Complete output (27 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.10
creating build/lib.macosx-10.15-x86_64-3.10/pyzstd
copying src/__init__.py -> build/lib.macosx-10.15-x86_64-3.10/pyzstd
package init file 'src/c/__init__.py' not found (or not a regular file)
creating build/lib.macosx-10.15-x86_64-3.10/pyzstd/c
copying src/c/c_pyzstd.py -> build/lib.macosx-10.15-x86_64-3.10/pyzstd/c
copying src/__init__.pyi -> build/lib.macosx-10.15-x86_64-3.10/pyzstd
copying src/py.typed -> build/lib.macosx-10.15-x86_64-3.10/pyzstd
running build_ext
building 'pyzstd.c._zstd' extension
creating build/temp.macosx-10.15-x86_64-3.10
creating build/temp.macosx-10.15-x86_64-3.10/lib
creating build/temp.macosx-10.15-x86_64-3.10/lib/common
creating build/temp.macosx-10.15-x86_64-3.10/lib/compress
creating build/temp.macosx-10.15-x86_64-3.10/lib/decompress
creating build/temp.macosx-10.15-x86_64-3.10/lib/dictBuilder
creating build/temp.macosx-10.15-x86_64-3.10/src
creating build/temp.macosx-10.15-x86_64-3.10/src/bin_ext
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/sqlite/include -I/usr/local/opt/sqlite/include -DZSTD_MULTITHREAD -Ilib -Ilib/dictBuilder -I/Users/runner/hostedtoolcache/Python/3.10.2/x64/include/python3.10 -c lib/common/debug.c -o build/temp.macosx-10.15-x86_64-3.10/lib/common/debug.o
gcc: error: Failed to determine realpath of '/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk' (errno=No such file or directory)
gcc: error: sh -c '/Applications/Xcode_13.1.app/Contents/Developer/usr/bin/xcodebuild -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -find gcc 2> /dev/null' failed with exit code 16384: (null) (errno=No such file or directory)
xcode-select: Failed to locate 'gcc', requesting installation of command line developer tools.
error: command '/usr/bin/gcc' failed with exit code 72
----------------------------------------
ERROR: Failed building wheel for pyzstd
Running setup.py clean for pyzstd
Failed to build bcj-cffi pyppmd pyzstd
ERROR: Could not build wheels for bcj-cffi, pyppmd, which is required to install pyproject.toml-based projects
Error: The process 'python3' failed with exit code 1
In my project, I am using this project with the following code.
- name: Install Qt for macOS
uses: jurplel/install-qt-action@v2
with:
version: ${{ matrix.qtversion }}
host: mac
target: desktop
dir: ${{ github.workspace }}
modules: 'qtcharts qtdatavis3d qtpurchasing qtvirtualkeyboard qtwebengine qtnetworkauth qtwebglplugin qtscript'
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (8 by maintainers)
Commits related to this issue
- GHA CI: drop back to macOS 10.15 This is to (temporarily) work around CI errors at jurplel/install-qt-action. Upstream issue: https://github.com/jurplel/install-qt-action/issues/130 — committed to Chocobo1/qBittorrent by Chocobo1 2 years ago
- GHA CI: work around error when installing Qt This is to (temporarily) work around CI errors at jurplel/install-qt-action. Upstream issue: https://github.com/jurplel/install-qt-action/issues/130 — committed to Chocobo1/qBittorrent by Chocobo1 2 years ago
- Fix failing Mac build due to jurplel/install-qt-action#130 — committed to justdan96/tsMuxer by xavery 2 years ago
- GHA CI: work around error when installing Qt This is to (temporarily) work around CI errors at jurplel/install-qt-action. Upstream issue: https://github.com/jurplel/install-qt-action/issues/130 — committed to Chocobo1/qBittorrent by Chocobo1 2 years ago
- GHA CI: work around error when installing Qt This is to (temporarily) work around CI errors at jurplel/install-qt-action. Upstream issue: https://github.com/jurplel/install-qt-action/issues/130 O... — committed to qbittorrent/qBittorrent by Chocobo1 2 years ago
- Fix failing Mac build due to jurplel/install-qt-action#130 — committed to stream5050smarter/tsMuxer by stream5050smarter 2 years ago
Welcome back, @jurplel! With the very latest commits in place, macOS builds (and Windows and Linux builds, too) seem to be working fine!
Pasting here the relevant parts (it’s from a private project):
For me (issue here: https://github.com/jurplel/install-qt-action/issues/130#issuecomment-1078451698):
Seems to have solved the issue! Morning unblocked for now!