-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
armhf: Debian 10: ERROR: Failed building wheel for cmake #192
Comments
cmake-python-distributions require cmake to build. From the logs, I'm guessing there's no previous installation of cmake. |
Sorry for long delay... Nope, not that simple. cmake is present, although an old version. Also, there is a seemingly undeclared build dependency on scikit-build package which needs to be installed manually, otherwise the build breaks. Current error message:
Complete build logs here |
@leamas @mayeut - I am seeing a very similar issue when running pip3 install cmake on RaspberryPi (armhf)/Raspbian... I've tried several workarounds (eg. install wheel first and then using --no-use-pep517 or --no-build-isolation as pip options but no luck)... I've tested same Dockerfile on x86_64 and ARM64 both with Ubuntu 18.04 and it runs perfectly... Any help would be appreciated as compiling latest Cmake from source is very slow on a Pi
|
Looks like the same bug.
$OCPN_TARGET expands to "buster" |
@rhastie: @mayeut: If an armhf binary is added all is fine. But otherwise we probably need to explore other ways like distributing binary .deb packages or make a request to update cmake in Debian Buster backports. |
I believe PEP 599 added It's possible (though very slow) to emulate architectures on GitHub Actions, so I think it possibly could be done, but it would be slow. We'd need support from manylinux and cibuildwheel for |
Same thing happening here on raspberry os, since cmake 3.22.1 is on pypi:
The build passed 1 hour earlier, when it got cmake 3.22.0 |
Do you know why this might have passed with 3.22.0 but not with 3.22.1? |
I don't see anything here: 3.22.0...3.22.1 that seems likely to break? |
Because there was an existing piwheels for 3.22.0 |
Ahh, piwheels. I think their CI just takes a little time after a release. Tell pip to require binaries and that will fix the small window after release issue. One of the three (https://www.piwheels.org/project/cmake/) is done, others are working. |
|
this seems easier - pip installation was failing on raspbian bookworm due to an error similar to this: scikit-build/cmake-python-distributions#192 apt installation is faster and easier
As heading says: On Debian 10/buster trying to install cmake using pypi I run into problems:
This is part of a larger build. Complete logs at https://cloud.drone.io/leamas/shipdriver_pi/188/2/2
The text was updated successfully, but these errors were encountered: