I'm trying to build scikit-misc.
Building wheels for collected packages: scikit-misc
Building wheel for scikit-misc (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/build/pip-req-build-r8ke0ly9/setup.py'"'"'; __file__='"'"'/build/pip-req-build-r8ke0ly9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /build/pip-wheel-j5poygq3
cwd: /build/pip-req-build-r8ke0ly9/
Complete output (321 lines):
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/lib']
NOT AVAILABLE
blis_info:
libraries blis not found in ['/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/lib']
NOT AVAILABLE
openblas_info:
C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
creating /build/tmpixtzsppz/build
creating /build/tmpixtzsppz/build/tmpixtzsppz
compile options: '-c'
gcc: /build/tmpixtzsppz/source.c
gcc /build/tmpixtzsppz/build/tmpixtzsppz/source.o -L/nix/store/rcgc63zy9mc9vz76p16ylqjsnmadnmrk-openblas-0.3.8/lib -lopenblas -o /build/tmpixtzsppz/a.out
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/nix/store/rcgc63zy9mc9vz76p16ylqjsnmadnmrk-openblas-0.3.8/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
FOUND:
libraries = ['openblas', 'openblas']
library_dirs = ['/nix/store/rcgc63zy9mc9vz76p16ylqjsnmadnmrk-openblas-0.3.8/lib']
language = c
define_macros = [('HAVE_CBLAS', None)]
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "floess" sources
building extension "skmisc.loess._loess" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/skmisc
copying skmisc/_version.py -> build/lib.linux-x86_64-3.7/skmisc
copying skmisc/__init__.py -> build/lib.linux-x86_64-3.7/skmisc
copying skmisc/__config__.py -> build/lib.linux-x86_64-3.7/skmisc
copying skmisc/setup.py -> build/lib.linux-x86_64-3.7/skmisc
copying build/src.linux-x86_64-3.7/skmisc/__config__.py -> build/lib.linux-x86_64-3.7/skmisc
creating build/lib.linux-x86_64-3.7/skmisc/loess
copying skmisc/loess/__init__.py -> build/lib.linux-x86_64-3.7/skmisc/loess
copying skmisc/loess/setup.py -> build/lib.linux-x86_64-3.7/skmisc/loess
creating build/lib.linux-x86_64-3.7/skmisc/loess/tests
copying skmisc/loess/tests/__init__.py -> build/lib.linux-x86_64-3.7/skmisc/loess/tests
copying skmisc/loess/tests/test_loess.py -> build/lib.linux-x86_64-3.7/skmisc/loess/tests
UPDATING build/lib.linux-x86_64-3.7/skmisc/_version.py
set build/lib.linux-x86_64-3.7/skmisc/_version.py to '0.1.1'
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /nix/store/m3b8gs0ykgc6ij8k270893ir125l63h5-gfortran-wrapper-9.3.0/bin/gfortran
Found executable /nix/store/m3b8gs0ykgc6ij8k270893ir125l63h5-gfortran-wrapper-9.3.0/bin/ld
Found executable /nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1/bin/ar
Found executable /nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1/bin/ranlib
customize Gnu95FCompiler
customize Gnu95FCompiler using build_clib
building 'floess' library
compiling Fortran sources
Fortran f77 compiler: /nix/store/m3b8gs0ykgc6ij8k270893ir125l63h5-gfortran-wrapper-9.3.0/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran f90 compiler: /nix/store/m3b8gs0ykgc6ij8k270893ir125l63h5-gfortran-wrapper-9.3.0/bin/gfortran -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
Fortran fix compiler: /nix/store/m3b8gs0ykgc6ij8k270893ir125l63h5-gfortran-wrapper-9.3.0/bin/gfortran -Wall -g -ffixed-form -fno-second-underscore -Wall -g -fno-second-underscore -fPIC -O3 -funroll-loops
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/skmisc
creating build/temp.linux-x86_64-3.7/skmisc/loess
creating build/temp.linux-x86_64-3.7/skmisc/loess/src
compile options: '-I/nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include -c'
gfortran:f77: skmisc/loess/src/loessf.f
gfortran:f77: skmisc/loess/src/linpack_lite.f
f951: Warning: command line option ‘-Wformat=1’ is valid for C/C++/ObjC/ObjC++ but not for Fortran
f951: Warning: command line option ‘-Wformat-security’ is valid for C/C++/ObjC/ObjC++ but not for Fortran
f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran
f951: Warning: command line option ‘-Wformat=1’ is valid for C/C++/ObjC/ObjC++ but not for Fortran
f951: Warning: command line option ‘-Wformat-security’ is valid for C/C++/ObjC/ObjC++ but not for Fortran
f951: Warning: ‘-Werror=’ argument ‘-Werror=format-security’ is not valid for Fortran
skmisc/loess/src/linpack_lite.f:381:31:
381 | double precision ddot,t,r
| 1
Warning: Unused variable ‘r’ declared at (1) [-Wunused-variable]
skmisc/loess/src/loessf.f:59:14:
59 | j=DBLE(j)/2.D0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:1893:14:
1893 | m=DBLE(l+u)/2.D0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:1398:20:
1398 | i=phi(pi(ii))
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:927:12:
927 | lg=DBLE(lg)/2.D0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:522:22:
522 | if(deg.eq.2) dk=dble((d+2)*(d+1))/2.d0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:1204:13:
1204 | ifloor=x
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:834:22:
834 | if(deg.eq.2) dk=dble((d+2)*(d+1))/2.d0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:1582:18:
1582 | i1=dble((d+2)*(d+1))/2.d0
| 1
Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion]
skmisc/loess/src/loessf.f:472:25:
472 | subroutine ehg133(n,d,vc,nvmax,nc,ncmax,a,c,hi,lo,v,vval,xi,m,z,s)
| 1
Warning: Unused dummy argument ‘n’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:472:39:
472 | subroutine ehg133(n,d,vc,nvmax,nc,ncmax,a,c,hi,lo,v,vval,xi,m,z,s)
| 1
Warning: Unused dummy argument ‘nc’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:827:31:
827 | subroutine ehg197(deg,tau,d,f,dk,trl)
| 1
Warning: Unused dummy argument ‘tau’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1984:31:
1984 | subroutine ehg137(z,kappa,leaf,nleaf,d,nv,nvmax,ncmax,a,xi,lo,hi)
| 1
Warning: Unused dummy argument ‘kappa’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1984:47:
1984 | subroutine ehg137(z,kappa,leaf,nleaf,d,nv,nvmax,ncmax,a,xi,lo,hi)
| 1
Warning: Unused dummy argument ‘nv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1984:53:
1984 | subroutine ehg137(z,kappa,leaf,nleaf,d,nv,nvmax,ncmax,a,xi,lo,hi)
| 1
Warning: Unused dummy argument ‘nvmax’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1497:50:
1497 | subroutine lowesb(xx,yy,ww,diagl,infl,iv,liv,lv,wv)
| 1
Warning: Unused dummy argument ‘liv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1497:53:
1497 | subroutine lowesb(xx,yy,ww,diagl,infl,iv,liv,lv,wv)
| 1
Warning: Unused dummy argument ‘lv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1648:30:
1648 | subroutine lowese(iv,liv,lv,wv,m,z,s)
| 1
Warning: Unused dummy argument ‘liv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1648:33:
1648 | subroutine lowese(iv,liv,lv,wv,m,z,s)
| 1
Warning: Unused dummy argument ‘lv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1667:39:
1667 | subroutine lowesf(xx,yy,ww,iv,liv,lv,wv,m,z,l,ihat,s)
| 1
Warning: Unused dummy argument ‘liv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1667:42:
1667 | subroutine lowesf(xx,yy,ww,iv,liv,lv,wv,m,z,l,ihat,s)
| 1
Warning: Unused dummy argument ‘lv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1699:30:
1699 | subroutine lowesl(iv,liv,lv,wv,m,z,l)
| 1
Warning: Unused dummy argument ‘liv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1699:33:
1699 | subroutine lowesl(iv,liv,lv,wv,m,z,l)
| 1
Warning: Unused dummy argument ‘lv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1721:33:
1721 | subroutine lowesr(yy,iv,liv,lv,wv)
| 1
Warning: Unused dummy argument ‘liv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/loessf.f:1721:36:
1721 | subroutine lowesr(yy,iv,liv,lv,wv)
| 1
Warning: Unused dummy argument ‘lv’ at (1) [-Wunused-dummy-argument]
skmisc/loess/src/linpack_lite.f:379:0:
379 | integer i,iter,j,jobu,k,kase,kk,l,ll,lls,lm1,lp1,ls,lu,m,maxit,
|
Warning: ‘ls’ may be used uninitialized in this function [-Wmaybe-uninitialized]
skmisc/loess/src/linpack_lite.f:379:0: Warning: ‘l’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ar: adding 2 object files to build/temp.linux-x86_64-3.7/libfloess.a
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
resetting extension 'skmisc.loess._loess' language from 'c' to 'f77'.
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
building 'skmisc.loess._loess' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
compile options: '-DHAVE_CBLAS -I/nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include -I/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/include/python3.7m -c'
gcc: skmisc/loess/src/_loess.c
gcc: skmisc/loess/src/loess.cgcc: skmisc/loess/src/misc.c
gcc: skmisc/loess/src/loessc.cgcc: skmisc/loess/src/predict.c
skmisc/loess/src/misc.c: In function ‘d1mach_’:
skmisc/loess/src/misc.c:321:1: warning: control reaches end of non-void function [-Wreturn-type]
321 | }
| ^
skmisc/loess/src/loess.c: In function ‘loess_’:
skmisc/loess/src/loess.c:187:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
187 | for(i = 0; i < N; i++)
| ^~~
skmisc/loess/src/loess.c:189:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
189 | for(i = 0; i < (N * D); i++)
| ^~~
In file included from /nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832,
from /nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from skmisc/loess/src/_loess.c:274:
/nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
skmisc/loess/src/_loess.c: In function ‘__Pyx__ExceptionSave’:
skmisc/loess/src/_loess.c:17432:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
17432 | *type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
skmisc/loess/src/_loess.c:17433:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17433 | *value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
skmisc/loess/src/_loess.c:17434:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
17434 | *tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
skmisc/loess/src/_loess.c: In function ‘__Pyx__ExceptionReset’:
skmisc/loess/src/_loess.c:17441:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
17441 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
skmisc/loess/src/_loess.c:17442:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17442 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
skmisc/loess/src/_loess.c:17443:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
17443 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
skmisc/loess/src/_loess.c:17444:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
17444 | tstate->exc_type = type;
| ^~~~~~~~
| curexc_type
skmisc/loess/src/_loess.c:17445:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17445 | tstate->exc_value = value;
| ^~~~~~~~~
| curexc_value
skmisc/loess/src/_loess.c:17446:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
17446 | tstate->exc_traceback = tb;
| ^~~~~~~~~~~~~
| curexc_traceback
skmisc/loess/src/_loess.c: In function ‘__Pyx__GetException’:
skmisc/loess/src/_loess.c:17501:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
17501 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
skmisc/loess/src/_loess.c:17502:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17502 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
skmisc/loess/src/_loess.c:17503:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
17503 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
skmisc/loess/src/_loess.c:17504:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
17504 | tstate->exc_type = local_type;
| ^~~~~~~~
| curexc_type
skmisc/loess/src/_loess.c:17505:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
17505 | tstate->exc_value = local_value;
| ^~~~~~~~~
| curexc_value
skmisc/loess/src/_loess.c:17506:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
17506 | tstate->exc_traceback = local_tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: Command "gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_CBLAS -I/nix/store/kdl58n56r1inmyrb44k3nx2qjv05gmsn-python3.7-numpy-1.18.3/lib/python3.7/site-packages/numpy/core/include -I/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/include/python3.7m -c skmisc/loess/src/_loess.c -o build/temp.linux-x86_64-3.7/skmisc/loess/src/_loess.o -MMD -MF build/temp.linux-x86_64-3.7/skmisc/loess/src/_loess.o.d" failed with exit status 1
----------------------------------------