-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
I am trying to install qdldl==0.1.7.post5 using pip install qdldl==0.1.7.post5 . But it fails in the wheel building step. Below is my error.
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp__bm23cl
cwd: /tmp/pip-install-kxxdluq_/qdldl_31858dd21f9b46cbb60191add1145727
Complete output (47 lines):
running bdist_wheel
running build
running build_ext
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at qdldl/CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'. Stop.
building 'qdldl' extension
creating build/temp.linux-s390x-cpython-39/cpp
g++ -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ic -Ic/qdldl/include -I/tmp/pip-build-env-jryxcfpa/overlay/lib/python3.9/site-packages/pybind11/include -I/tmp/pip-build-env-jryxcfpa/overlay/lib/python3.9/site-packages/pybind11/include -I/usr/include/python3.9 -c cpp/qdldl.cpp -o build/temp.linux-s390x-cpython-39/cpp/qdldl.o -O3 -std=c++11
In file included from cpp/qdldl.hpp:2,
from cpp/qdldl.cpp:1:
c/qdldl/include/qdldl.h:5:10: fatal error: qdldl_types.h: No such file or directory
5 | #include "qdldl_types.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/g++' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for qdldl
Building wheel for scipy (pyproject.toml) ... done
Created wheel for scipy: filename=scipy-1.13.1-cp39-cp39-linux_s390x.whl size=26872863 sha256=937b486fd98acb9e2808273d45d30b9c2d6bb7982c28549431da9e62f51176f7
Stored in directory: /tmp/pip-ephem-wheel-cache-fxyy7fl1/wheels/f9/1e/b4/6062892a30d1259c141ddde498176288fcc25078ae4faa7311
Successfully built scipy
Failed to build qdldl
ERROR: Could not build wheels for qdldl, which is required to install pyproject.toml-based projects
My cmake version is 3.26.5-2.el9 . Any suggesions on how to get rid of this error?
Metadata
Metadata
Assignees
Labels
No labels