Open tuxx42 opened 1 year ago
building on pyhton 3.8.13 results in:
Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: python-nss Building wheel for python-nss (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for python-nss (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/nss copying src/__init__.py -> build/lib.linux-x86_64-cpython-311/nss running build_ext building 'nss.error' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/usr/include/nss -I/usr/include/nspr -Isrc -I. -I/tmp/venv2/include -I/usr/include/python3.11 -c src/py_nspr_error.c -o build/temp.linux-x86_64-cpython-311/src/py_nspr_error.o src/py_nspr_error.c:9:10: fatal error: py_nspr_common.h: No such file or directory 9 | #include "py_nspr_common.h" | ^~~~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 [end of output]
any help please?
Which nss and nspr do you have installed?
building on pyhton 3.8.13 results in:
any help please?