GDAL and Fiona conflicting versions but downgrading Fiona leads to a legacy-install-failure error - python-3.x

This question is similar to the questions
Installing fiona: Must the gdal version be compatible with fiona? and
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly. Importing fiona resulted in:
but the solutions provided are not working for me.
The original error occurs when trying to read a file using geopandas gdf = gpd.read_file(anyshape.shp") and this error message appears:
ImportError: the 'read_file' function requires the 'fiona' package, but it is not installed or does not import correctly.
Importing fiona resulted in: No module named 'Fiona'
This happens in a clean conda virtual environment with
Python: 3.10.4,
Fiona: 1.8.21, and
GDAL: 3.4.2, running OSX 12.3.
Previous threads recommended downgrading Fiona to 1.8.19 and GDAL to 3.2.3 but the commands pip install fiona==1.8.19 or pip install fiona==1.8.20 lead to the following error:
Building wheels for collected packages: fiona
Building wheel for fiona (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [78 lines of output]
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'metadata_version'
warnings.warn(msg)
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'requires_external'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.10
creating build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/_loading.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/env.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/compat.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/io.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/drvsupport.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/session.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/inspector.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/__init__.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/logutils.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/crs.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/rfc3339.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/vfs.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/transform.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/collection.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/_show_versions.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/errors.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
copying ./fiona/path.py -> build/lib.macosx-10.9-x86_64-3.10/fiona
creating build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/options.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/collect.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/distrib.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/env.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/insp.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/cat.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/__init__.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/ls.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/rm.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/dump.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/calc.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/filter.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/load.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/main.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/info.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/helpers.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
copying ./fiona/fio/bounds.py -> build/lib.macosx-10.9-x86_64-3.10/fiona/fio
running build_ext
building 'fiona.schema' extension
creating build/temp.macosx-10.9-x86_64-3.10
creating build/temp.macosx-10.9-x86_64-3.10/fiona
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include/python3.10 -c fiona/schema.c -o build/temp.macosx-10.9-x86_64-3.10/fiona/schema.o
clang -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/miniconda3/envs/geo_env/lib -L/opt/miniconda3/envs/geo_env/lib -Wl,-rpath,/opt/miniconda3/envs/geo_env/lib -L/opt/miniconda3/envs/geo_env/lib build/temp.macosx-10.9-x86_64-3.10/fiona/schema.o -L/opt/miniconda3/envs/geo_env/lib -lgdal -o build/lib.macosx-10.9-x86_64-3.10/fiona/schema.cpython-310-darwin.so
building 'fiona._transform' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include/python3.10 -c fiona/_transform.cpp -o build/temp.macosx-10.9-x86_64-3.10/fiona/_transform.o -std=c++11
clang++ -bundle -undefined dynamic_lookup -Wl,-rpath,/opt/miniconda3/envs/geo_env/lib -L/opt/miniconda3/envs/geo_env/lib -Wl,-rpath,/opt/miniconda3/envs/geo_env/lib -L/opt/miniconda3/envs/geo_env/lib build/temp.macosx-10.9-x86_64-3.10/fiona/_transform.o -L/opt/miniconda3/envs/geo_env/lib -lgdal -o build/lib.macosx-10.9-x86_64-3.10/fiona/_transform.cpython-310-darwin.so
building 'fiona._geometry' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include/python3.10 -c fiona/_geometry.c -o build/temp.macosx-10.9-x86_64-3.10/fiona/_geometry.o
fiona/_geometry.c:13026:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
fiona/_geometry.c:13026:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fiona/_geometry.c:13031:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
fiona/_geometry.c:13031:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fiona/_geometry.c:13115:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^
fiona/_geometry.c:13115:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 3 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fiona
Running setup.py clean for fiona
Failed to build fiona
Installing collected packages: click, fiona
Attempting uninstall: click
Found existing installation: click 8.1.2
Uninstalling click-8.1.2:
Successfully uninstalled click-8.1.2
Attempting uninstall: fiona
Found existing installation: Fiona 1.8.21
Uninstalling Fiona-1.8.21:
Successfully uninstalled Fiona-1.8.21
Running setup.py install for fiona ... error
error: subprocess-exited-with-error
× Running setup.py install for fiona did not run successfully.
│ exit code: 1
╰─> [36 lines of output]
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'metadata_version'
warnings.warn(msg)
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'requires_python'
warnings.warn(msg)
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'requires_external'
warnings.warn(msg)
running install
/opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_ext
building 'fiona._geometry' extension
creating build/temp.macosx-10.9-x86_64-3.10
creating build/temp.macosx-10.9-x86_64-3.10/fiona
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -fPIC -O2 -isystem /opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include -I/opt/miniconda3/envs/geo_env/include/python3.10 -c fiona/_geometry.c -o build/temp.macosx-10.9-x86_64-3.10/fiona/_geometry.o
fiona/_geometry.c:13026:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
fiona/_geometry.c:13026:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fiona/_geometry.c:13031:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^
fiona/_geometry.c:13031:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fiona/_geometry.c:13115:19: error: implicit declaration of function '_PyGen_Send' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^
fiona/_geometry.c:13115:17: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
ret = _PyGen_Send((PyGenObject*)yf, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings and 3 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
WARNING: No metadata found in /opt/miniconda3/envs/geo_env/lib/python3.10/site-packages
Rolling back uninstall of fiona
Moving to /opt/miniconda3/envs/geo_env/bin/fio
from /private/var/folders/pw/g3l12fr515df7s6dpdch4qx00000gn/T/pip-uninstall-mmo446m1/fio
Moving to /opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/Fiona-1.8.21.dist-info/
from /opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/~iona-1.8.21.dist-info
Moving to /opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/fiona/
from /opt/miniconda3/envs/geo_env/lib/python3.10/site-packages/~iona
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> fiona
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
╰─> Fiona
Any advice would be appreciated.

Related

error: linking with `cc` failed: exit code: 1 while running cargo test --all

Os: macOS Big Sur
I'm facing the following error while running cargo tests while the build is succeeding.
Package: https://github.com/RustPython/RustPython
Command:
cargo test --all
Command cargo build doesn't throw any exception.
Error logs:
Compiling libffi v1.0.1
Compiling rustpython-jit v0.1.2 (/Users/hardikkhandelwal/Projects/rust/RustPython/jit)
Compiling rustpython v0.1.2 (/Users/hardikkhandelwal/Projects/rust/RustPython)
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-arch" "arm64" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.10ibwvzv3e49l775.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1253x86kfkxgqh2w.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.13gd08t800tm784s.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.14p9wnwl9pam5ujl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.15e17o6bveg5koa6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.17mujewb6k10id8k.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1a67xs61sj229iqf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1ci2h9qeeeje0ik6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1cmzqy3ro43zgsl5.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1dnexk54p6bq143f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1e31m0nqihdfx5hb.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1e4tavcm7ugscqrd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1emikuttnt1xip9x.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1eta79f60kanxjws.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1hayr2iv232dnoi6.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1huzgcxsirhwd331.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1jdul1odse6arzjz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1kp92h8yxzzu0eov.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1m55byjo8aqq49zc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1plr2gut2q06gwqk.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1r0h19gy6b54q79f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1s8j2h2qxafcf3x8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1satlrt2jdoiv4ey.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1vvhoeukrpxmv0pq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1xe49efr9otpprwn.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.229y1orco2m4dyj8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.22i642me58xe478c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.22yxg2lkpcwbwqx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.23c3y5v0ibs1r2fq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2478bzefed036zcv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.24xhig5xkqgjnv7a.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.258jwdtpk3n29ru2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.262rgc3v6z28qtsq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.26mjhrskh3ru1tk9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.276t6e8c7cnzg6wy.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2bpnidflpn331uqr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2lboqix6b1cjj0jo.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2m2yba3d9v8p6fyv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2n6eyp1zj3oa1kui.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2ql5hnz2mtbmb7le.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2rjcm2pt9uke0922.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2s1wzpdirnzygv7e.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2tbf8e6r9yt9czf5.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2ttr38fcx39oazo7.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2umn21lmb3qc9nxr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2uvshfalguw6hxx8.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2w2ghiqspploxf0f.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2w74b23mfhoia8ir.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2wxy1kmtklu8y0w9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.2x9iwja4h7bf6esl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.35fuwnpoy3hc2gi7.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.378v5p8yoyjgyfyz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.391sxamlpl6a96n9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.39swqzjb6x4tkvcv.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3botv3568qxh3591.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3dhw8zhduh09e6r1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3flx495gko7kr9f9.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3h4wy8wkv2xrirsf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3mm2wawuqp97kb7v.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3ofzhlki1cafpfwl.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3pjsd8hbre1ap5qd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3rwk183rvg7z9yca.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3srtodjtz7bmdola.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3xlrku5wblas6gnr.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3yy87npargho7bsd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3z5naev9k6lae39q.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3z9gvqp1n32fcpsx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3zjs7qt7onoigcne.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.3zyfqkyu7djvtze2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.423bys4dlvrx8mvq.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.426c4cdyhetxwb5w.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.42kzw8c6fadp0tby.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.44bge1cbwp7t2tkx.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.49gtvrz6zpsigsfc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.49lpjq6zqkjbvmne.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4gi8gsjxezpv3s06.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4gilgzakkbsi3l3e.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4iwdwkt6d9cng8m2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4jodrvbiqg7w437z.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4kybga5bhkscrs8c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4lekp20xf8bz0r94.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4m0obk2qh4uzuwsj.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4nlx000cuo8jnqlt.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4ofwdpd0cukslkz0.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4q725i3d0yxgop7v.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4qo1sfh57tihaadg.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4rh1b2hcqpcdq3a3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4s2ymju7it0okdeb.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4ust4yu9nvanfhdf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4vfd4l254fl8v4dd.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4xc7hv9qb2t7d616.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4xqxqqk3fs5kqtfz.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4y6jbmqopamez3c.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.4yhh8wqcvrop0hx3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.54jq72kupaotxmzo.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.56zmipy278cdawgn.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.58zht470tb0hjgt1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5dzonsas4ynzribc.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5g4vw0c8dqjw8h37.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.5gh4c861meudgewi.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.6bjt88zjkzd9tt3.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.7as0apovcqc5gub.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.cae7y3juuwiitl1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ifacragtyfrbb42.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.jz4h5hg9g0tz6mi.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.kmvxofl9saiovs2.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.nhc3hxxj09rktbm.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.prm338a1k8u52l1.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.q4rx7xjh7rujfgy.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.rztn7f71t7dz6pf.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ygusbdg7fggss41.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.ykouej5rwx3lr5s.rcgu.o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5.1jyvo8pa9soqa56a.rcgu.o" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib" "-L" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib64" "-L" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libapprox-30ccea96c4acf95a.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libtest-06ff11d645105e2b.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libterm-f05ecaeca66814e6.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgetopts-6ad0d034fc8e15c7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunicode_width-c4beacdc35405cb8.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_std-fc0f4647def297a8.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustpython_jit-2e831fdd027df713.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi-fd0ec330aa459432.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libabort_on_panic-caaa79ca88d47ba3.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi_sys-5863f41be7d2bccd.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_jit-2c55f3ef4f39d959.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregion-197ded681c450d8b.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libmach-a93a18ecabd99da0.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liberrno-0a3c0f746fd85f07.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibc-66d4f3764ade8a61.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_native-08015c03c8f0902a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_module-0691469284a7b208.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libanyhow-ef3e763f417c2d7a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift-032d6c244a218970.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_frontend-5ce9f83164bb63c5.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_codegen-7362291990ed24ba.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregalloc-57353d751727d8ce.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustc_hash-ab040f1fd6a07e95.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libsmallvec-99a5132b3a108cbf.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libtarget_lexicon-abfb03971829d1d1.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_codegen_shared-453aa55f38698ce1.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libthiserror-53c05dc94aa30ff9.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblog-3f8f67c165fe661d.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcfg_if-c71a5d33f98d84bb.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_bforest-b2a7cbdbbb4b7b2e.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libcranelift_entity-5d71031a19adbb58.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/librustpython_bytecode-44e562fca4e24da9.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbincode-7a343aa511b2a28b.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblz4_flex-99575d661e0f318f.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_complex-fde276a77140cb97.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_bigint-a611dddfa4c568f4.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_integer-7f325eb6a21e8c2e.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libnum_traits-4df9bc95fb47d436.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libitertools-886b111642563542.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libeither-3e64107fd8334906.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbstr-c7fc013625c0f979.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblazy_static-d1f48f17eb43777c.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libregex_automata-21a890d37c6a8dcc.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libserde-2ae11beb1fcdc4df.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libmemchr-53a80abe7ced0f1a.rlib" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/libbitflags-9f56f92ce6089ce7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-000cdec9267bfd7b.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-2669f3cbce8358f4.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-86461a1c60728ccb.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-f17574752cb5ddba.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-3bb606c936cc0d28.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-8139a4b0cda20184.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-ea0823eca3e9abf9.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-4f19e1259f6028e7.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-435daca85b8e10b5.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-d73085abefd284c6.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-e6a09ca0044b34e5.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-e07333f48f53c71e.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-2a49b0d9fbc7a459.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-b66dda66aafe36c9.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-34d0b58da984bf31.rlib" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-01275baa20724171.rlib" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/hardikkhandelwal/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/integration-59c3340cf4710de5" "-Wl,-dead_strip" "-nodefaultlibs"
= note: ld: warning: directory not found for option '-L/Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/build/libffi-sys-652628ec5b194c33/out/libffi-root/lib64'
ld: in /Users/hardikkhandelwal/Projects/rust/RustPython/target/debug/deps/liblibffi_sys-5863f41be7d2bccd.rlib(closures.o), archive member 'closures.o' with length 17440 is not mach-o or llvm bitcode for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: aborting due to previous error
error: could not compile `rustpython-jit`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Android Studio Failed after upgrade from 3.1.4 to 3.2.1

Build of ics-openvpn failed after upgrading to the latest Android studio 3.2.1
it was working fine with 3.1.4
and there were no issues when it was on previous version of android 3.2.1
Please help me fix this issue to build this project file on android studio again
Android studio version 3.2.1
Windows 7 x64
The following is the output log on debug window when building
Build command failed.
Error while executing process C:\Users\Woshi\AppData\Local\Android\sdk1\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\Woshi\Downloads\nw\ics-openvpn\main\.externalNativeBuild\cmake\noovpn3Debug\x86 --target ovpn3}
[1/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1.c.o
[2/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1_99.c.o
[3/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1a.c.o
[4/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1a_99.c.o
[5/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_1.c.o
[6/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_2.c.o
[7/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_3.c.o
[8/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_4.c.o
[9/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_5.c.o
[10/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_6.c.o
[11/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_7.c.o
[12/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_8.c.o
[13/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_9.c.o
[14/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_99.c.o
[15/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_9x.c.o
[16/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_cc.c.o
[17/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_d1.c.o
[18/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_d2.c.o
[19/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_rr.c.o
[20/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1b_xx.c.o
[21/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_1.c.o
[22/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_2.c.o
[23/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_3.c.o
[24/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_4.c.o
[25/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_5.c.o
[26/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_6.c.o
[27/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_7.c.o
[28/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_8.c.o
[29/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_9.c.o
[30/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_99.c.o
[31/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_9x.c.o
[32/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_cc.c.o
[33/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_d1.c.o
[34/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_d2.c.o
[35/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_rr.c.o
[36/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1c_xx.c.o
[37/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_1.c.o
[38/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_9x.c.o
[39/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_d1.c.o
[40/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1f_d2.c.o
[41/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1.c.o
[42/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1k.c.o
[43/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1l.c.o
[44/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_1o.c.o
[45/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_9x.c.o
[46/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d1.c.o
[47/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d2.c.o
[48/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_d3.c.o
[49/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1x_o.c.o
[50/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_1.c.o
[51/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_9x.c.o
[52/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d1.c.o
[53/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d2.c.o
[54/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_d3.c.o
[55/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1y_o.c.o
[56/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_9x.c.o
[57/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d1.c.o
[58/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d2.c.o
[59/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo1z_d3.c.o
[60/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_9x.c.o
[61/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_d1.c.o
[62/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo2a_d2.c.o
[63/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_crc.c.o
[64/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_init.c.o
[65/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_ptr.c.o
[66/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_str.c.o
[67/156] Building C object CMakeFiles/lzo.dir/lzo/src/lzo_util.c.o
[68/156] Building C object CMakeFiles/lz4.dir/lz4/lib/lz4.c.o
[69/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o
[70/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o
[71/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o
[72/156] Building C object mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aes.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aes.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aes.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aes.c:29:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aria.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aria.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aria.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aria.c:29:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\arc4.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/arc4.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\arc4.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\arc4.c:28:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
FAILED: C:\Users\Woshi\AppData\Local\Android\sdk1\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android16 --gcc-toolchain=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/toolchains/x86-4.9/prebuilt/windows-x86_64 --sysroot=C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot -IC:/Users/Woshi/Downloads/nw/ics-openvpn/main/src/main/cpp/mbedtls/include -isystem C:/Users/Woshi/AppData/Local/Android/sdk1/ndk-bundle/sysroot/usr/include/i686-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -Wa,--noexecstack -Wformat -Werror=format-security -Wall -Wextra -W -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code -O0 -g3 -fPIC -MD -MT mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o -MF mbedtls\library\CMakeFiles\mbedcrypto.dir\aesni.c.o.d -o mbedtls/library/CMakeFiles/mbedcrypto.dir/aesni.c.o -c C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aesni.c
C:\Users\Woshi\Downloads\nw\ics-openvpn\main\src\main\cpp\mbedtls\library\aesni.c:28:10: fatal error: 'mbedtls/config.h' file not found
#include "mbedtls/config.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

Python3 mlpy installation error - ‘Py_InitModule3’ was not declared in this scope

I was installing package mlpy on my Ubuntu 18.04 Machine using pip:
All the requirements were installed yet getting below compilation error. I also tried downloading the package directly and installing through it, the error I was getting is the same.
mlpy package version : 0.1.0 and python version is 3.6
Below is the command:
pip3 install mlpy
I tried installing using setup.py in mlpy package
pyhton3 setup.py install
Below is the processing message:
Collecting mlpy
Downloading https://files.pythonhosted.org/packages/93/3c/be8ccff2aa3e5ce3b922cff026aadc62d3a671168e42616b1e0b8eccba12/mlpy-0.1.0.tar.gz (4.4MB)
Requirement already satisfied: matplotlib in /usr/local/lib/python3.6/dist-packages (from mlpy)
Requirement already satisfied: numpy>=1.6.2 in /usr/local/lib/python3.6/dist-packages (from mlpy)
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.6/dist-packages (from mlpy)
Requirement already satisfied: scipy>=0.11 in /usr/local/lib/python3.6/dist-packages (from mlpy)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python3/dist-packages (from mlpy)
Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->mlpy)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->mlpy)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib->mlpy)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->mlpy)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from matplotlib->mlpy)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from kiwisolver>=1.0.1->matplotlib->mlpy)
Installing collected packages: mlpy
Running setup.py install for mlpy: started
Running setup.py install for mlpy: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-l2ob_og8/mlpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-anrvg2fg-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/mlpy
copying mlpy/__init__.py -> build/lib.linux-x86_64-3.6/mlpy
running egg_info
writing mlpy.egg-info/PKG-INFO
writing dependency_links to mlpy.egg-info/dependency_links.txt
writing requirements to mlpy.egg-info/requires.txt
writing top-level names to mlpy.egg-info/top_level.txt
reading manifest file 'mlpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.sdf' found under directory 'mlpy/libs'
warning: no previously-included files matching '*.sln' found under directory 'mlpy/libs'
warning: no previously-included files matching '*.suo' found under directory 'mlpy/libs'
warning: no previously-included files matching '*.exp' found under directory 'mlpy/libs'
warning: no previously-included files matching '*.ilk' found under directory 'mlpy/libs'
warning: no previously-included files matching '*.lib' found under directory 'mlpy/libs'
warning: no previously-included files matching '*pdb' found under directory 'mlpy/libs'
warning: no previously-included files matching '__pycache__' found under directory '*'
no previously-included directories found matching 'mlpy/libs/classifier/classifier'
no previously-included directories found matching 'mlpy/libs/hmmc/hmmc'
no previously-included directories found matching 'docs/build'
no previously-included directories found matching 'docs/generated'
writing manifest file 'mlpy.egg-info/SOURCES.txt'
creating build/lib.linux-x86_64-3.6/mlpy/agents
copying mlpy/agents/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/agents
copying mlpy/agents/fsm.py -> build/lib.linux-x86_64-3.6/mlpy/agents
copying mlpy/agents/modules.py -> build/lib.linux-x86_64-3.6/mlpy/agents
copying mlpy/agents/world.py -> build/lib.linux-x86_64-3.6/mlpy/agents
creating build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/array.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/datasets.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/datastructs.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/io.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/misc.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
copying mlpy/auxiliary/plotting.py -> build/lib.linux-x86_64-3.6/mlpy/auxiliary
creating build/lib.linux-x86_64-3.6/mlpy/cluster
copying mlpy/cluster/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/cluster
copying mlpy/cluster/vq.py -> build/lib.linux-x86_64-3.6/mlpy/cluster
creating build/lib.linux-x86_64-3.6/mlpy/constants
copying mlpy/constants/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/constants
copying mlpy/constants/_constants.py -> build/lib.linux-x86_64-3.6/mlpy/constants
creating build/lib.linux-x86_64-3.6/mlpy/environments
copying mlpy/environments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/environments
copying mlpy/environments/gridworld.py -> build/lib.linux-x86_64-3.6/mlpy/environments
copying mlpy/environments/nao.py -> build/lib.linux-x86_64-3.6/mlpy/environments
creating build/lib.linux-x86_64-3.6/mlpy/environments/webots
creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers
creating build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc
copying mlpy/environments/webots/controllers/serverc/serverc.py -> build/lib.linux-x86_64-3.6/mlpy/environments/webots/controllers/serverc
creating build/lib.linux-x86_64-3.6/mlpy/experiments
copying mlpy/experiments/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/experiments
copying mlpy/experiments/task.py -> build/lib.linux-x86_64-3.6/mlpy/experiments
creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep
copying mlpy/knowledgerep/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep
creating build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
copying mlpy/knowledgerep/cbr/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
copying mlpy/knowledgerep/cbr/engine.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
copying mlpy/knowledgerep/cbr/features.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
copying mlpy/knowledgerep/cbr/methods.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
copying mlpy/knowledgerep/cbr/similarity.py -> build/lib.linux-x86_64-3.6/mlpy/knowledgerep/cbr
creating build/lib.linux-x86_64-3.6/mlpy/learners
copying mlpy/learners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners
creating build/lib.linux-x86_64-3.6/mlpy/learners/offline
copying mlpy/learners/offline/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline
copying mlpy/learners/offline/irl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/offline
creating build/lib.linux-x86_64-3.6/mlpy/learners/online
copying mlpy/learners/online/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online
copying mlpy/learners/online/rl.py -> build/lib.linux-x86_64-3.6/mlpy/learners/online
creating build/lib.linux-x86_64-3.6/mlpy/libs
copying mlpy/libs/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/libs
copying mlpy/libs/classifier.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs
copying mlpy/libs/hmmc.pyd -> build/lib.linux-x86_64-3.6/mlpy/libs
copying mlpy/libs/noconflict.py -> build/lib.linux-x86_64-3.6/mlpy/libs
creating build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/array_helper.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/array_helper.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/c45tree.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/c45tree.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/classifier.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/classifier.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/classifier_module.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/classifier_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/coord.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/coord.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/random.cc -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
copying mlpy/libs/classifier/random.h -> build/lib.linux-x86_64-3.6/mlpy/libs/classifier
creating build/lib.linux-x86_64-3.6/mlpy/libs/hmmc
copying mlpy/libs/hmmc/hmm.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc
copying mlpy/libs/hmmc/hmm.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc
copying mlpy/libs/hmmc/hmmc_module.c -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc
copying mlpy/libs/hmmc/hmmc_module.h -> build/lib.linux-x86_64-3.6/mlpy/libs/hmmc
creating build/lib.linux-x86_64-3.6/mlpy/mdp
copying mlpy/mdp/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp
copying mlpy/mdp/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/mdp
copying mlpy/mdp/distrib.py -> build/lib.linux-x86_64-3.6/mlpy/mdp
copying mlpy/mdp/stateaction.py -> build/lib.linux-x86_64-3.6/mlpy/mdp
creating build/lib.linux-x86_64-3.6/mlpy/mdp/continuous
copying mlpy/mdp/continuous/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous
copying mlpy/mdp/continuous/casml.py -> build/lib.linux-x86_64-3.6/mlpy/mdp/continuous
creating build/lib.linux-x86_64-3.6/mlpy/modules
copying mlpy/modules/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/modules
copying mlpy/modules/patterns.py -> build/lib.linux-x86_64-3.6/mlpy/modules
creating build/lib.linux-x86_64-3.6/mlpy/optimize
copying mlpy/optimize/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/optimize
copying mlpy/optimize/algorithms.py -> build/lib.linux-x86_64-3.6/mlpy/optimize
copying mlpy/optimize/utils.py -> build/lib.linux-x86_64-3.6/mlpy/optimize
creating build/lib.linux-x86_64-3.6/mlpy/planners
copying mlpy/planners/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners
copying mlpy/planners/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners
creating build/lib.linux-x86_64-3.6/mlpy/planners/explorers
copying mlpy/planners/explorers/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers
copying mlpy/planners/explorers/discrete.py -> build/lib.linux-x86_64-3.6/mlpy/planners/explorers
creating build/lib.linux-x86_64-3.6/mlpy/search
copying mlpy/search/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/search
copying mlpy/search/informed.py -> build/lib.linux-x86_64-3.6/mlpy/search
creating build/lib.linux-x86_64-3.6/mlpy/stats
copying mlpy/stats/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats
copying mlpy/stats/_conditional.py -> build/lib.linux-x86_64-3.6/mlpy/stats
copying mlpy/stats/_discrete.py -> build/lib.linux-x86_64-3.6/mlpy/stats
copying mlpy/stats/_multivariate.py -> build/lib.linux-x86_64-3.6/mlpy/stats
copying mlpy/stats/_stats.py -> build/lib.linux-x86_64-3.6/mlpy/stats
creating build/lib.linux-x86_64-3.6/mlpy/stats/dbn
copying mlpy/stats/dbn/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn
copying mlpy/stats/dbn/hmm.py -> build/lib.linux-x86_64-3.6/mlpy/stats/dbn
creating build/lib.linux-x86_64-3.6/mlpy/stats/models
copying mlpy/stats/models/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models
copying mlpy/stats/models/_basic.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models
copying mlpy/stats/models/mixture.py -> build/lib.linux-x86_64-3.6/mlpy/stats/models
creating build/lib.linux-x86_64-3.6/mlpy/tools
copying mlpy/tools/__init__.py -> build/lib.linux-x86_64-3.6/mlpy/tools
copying mlpy/tools/configuration.py -> build/lib.linux-x86_64-3.6/mlpy/tools
copying mlpy/tools/log.py -> build/lib.linux-x86_64-3.6/mlpy/tools
copying mlpy/tools/misc.py -> build/lib.linux-x86_64-3.6/mlpy/tools
running build_ext
building 'classifier' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/mlpy
creating build/temp.linux-x86_64-3.6/mlpy/libs
creating build/temp.linux-x86_64-3.6/mlpy/libs/classifier
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.6-EKG1lX/python3.6-3.6.5=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c mlpy/libs/classifier/classifier_module.cc -o build/temp.linux-x86_64-3.6/mlpy/libs/classifier/classifier_module.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
mlpy/libs/classifier/classifier_module.cc: In function ‘PyObject* initclassifier()’:
mlpy/libs/classifier/classifier_module.cc:33:7: error: ‘Py_InitModule3’ was not declared in this scope
m = Py_InitModule3("classifier", ClassifierMethods, "Classification module");
^~~~~~~~~~~~~~
mlpy/libs/classifier/classifier_module.cc:33:7: note: suggested alternative: ‘Py_Initialize’
m = Py_InitModule3("classifier", ClassifierMethods, "Classification module");
^~~~~~~~~~~~~~
Py_Initialize
mlpy/libs/classifier/classifier_module.cc:34:18: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
if (m == NULL) return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:37:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:42:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:48:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:53:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:58:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:63:4: error: return-statement with no value, in function returning ‘PyObject* {aka _object*}’ [-fpermissive]
return;
^~~~~~
mlpy/libs/classifier/classifier_module.cc:68:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-l2ob_og8/mlpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-anrvg2fg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-l2ob_og8/mlpy/
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
mlpy-3.5.0 https://sourceforge.net/projects/mlpy/files/ → Release date = 2012-03-12 → Older gcc, g++ to be used.
sudo apt install g++ g++-5 libgsl-dev
tar xvf mlpy-3.5.0.tar.gz
cd mlpy-3.5.0/
export CC=gcc-5 CXX=g++-5 && python3 setup.py build && sudo python3 setup.py install
No errors.
(i cannot comment)
the mlpy-3.5.0 compiles ok with gcc-7/g++-7, and note that on python 3.7, you'll need also a hack in /usr/include/python3.7m/pystate.h :
#define exc_type exc_state.exc_type
#define exc_value exc_state.exc_value
#define exc_traceback exc_state.exc_traceback
as those fields have moved.
have fun

rt2870.o/rt2870.ko usb wireless adupter installation issue

i am using parrot Linux the latest version . i want to install/use a nano adapter (802.11n) USB
i tried several ways but i failed
tried 1
after trying this i found no other way to ask for help
the following error i am getting while using make && make install
└──╼ #sudo make && make install
make -C tools
make[1]: Entering directory '/home/ano/Downloads/linux/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/ano/Downloads/linux/tools'
/home/ano/Downloads/linux/tools/bin2h
cp -f os/linux/Makefile.6 /home/ano/Downloads/linux/os/linux/Makefile
make -C /lib/modules/4.1.8-parrot-686-pae/build SUBDIRS=/home/ano/Downloads/linux/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.1.8-parrot-686-pae'
CC [M] /home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.o
/home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/ano/Downloads/linux/os/linux/../../os/linux/rt_profile.c:331:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/assoc.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/auth.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/auth_rsp.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/sync.o
/home/ano/Downloads/linux/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/ano/Downloads/linux/os/linux/../../sta/sync.c:2180:12: warning: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type
ie_list,
^
In file included from /home/ano/Downloads/linux/include/rt_config.h:59:0,
from /home/ano/Downloads/linux/os/linux/../../sta/sync.c:28:
/home/ano/Downloads/linux/include/rtmp.h:7892:9: note: expected ‘struct IE_LISTS *’ but argument is of type ‘struct BCN_IE_LIST *’
BOOLEAN StaAddMacTableEntry(
^
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/sanity.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.o
/home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c:523:33: warning: passing argument 2 of ‘MacTableLookup’ from incompatible pointer type
pEntry = MacTableLookup(pAd, &pHeader->Addr2);
^
In file included from /home/ano/Downloads/linux/include/rt_config.h:59:0,
from /home/ano/Downloads/linux/os/linux/../../sta/rtmp_data.c:28:
/home/ano/Downloads/linux/include/rtmp.h:8429:18: note: expected ‘UCHAR *’ but argument is of type ‘UCHAR (*)[6]’
MAC_TABLE_ENTRY *MacTableLookup(RTMP_ADAPTER *pAd, UCHAR *pAddr);
^
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/connect.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/wpa.o
CC [M] /home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlRF’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5306:7: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘LONG’ [-Wformat=]
sprintf(msg+strlen(msg), "BANK%d_R%02d:%02X ", bank_Id, rfId, rfValue);
^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5359:27: warning: passing argument 2 of ‘RtmpDrvAllRFPrint’ from incompatible pointer type
RtmpDrvAllRFPrint(NULL, msg, strlen(msg));
^
In file included from /home/ano/Downloads/linux/include/rt_config.h:64:0,
from /home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:28:
/home/ano/Downloads/linux/include/rt_os_util.h:668:6: note: expected ‘UINT32 *’ but argument is of type ‘PSTRING’
VOID RtmpDrvAllRFPrint(
^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5209:22: warning: unused variable ‘rf_bank’ [-Wunused-variable]
UCHAR regRF = 0, rf_bank = 0;
^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5766:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:5766:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwgenie’:
/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.c:7610:13: warning: assignment from incompatible pointer type
eid_ptr = pAd->StaCfg.pWpaAssocIe;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/ano/Downloads/linux/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1384: recipe for target '_module_/home/ano/Downloads/linux/os/linux' failed
make[1]: *** [_module_/home/ano/Downloads/linux/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.1.8-parrot-686-pae'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
can one please check and help me on it ....
I got that error, too, on a fresh Debian installation, despite being able to make that driver flawlessly a few times before.
Some problems were gone when I edited the os/linux/config.mk file as per the README file included in the driver folder, but then, new ones occured, considering something about the DATE and TIME functions.
I found that the solution is to install package firmware-ralink that also contains drivers for your USB Wireless dongle.
On my Debian Jessie installation, it said that firmware-ralink package is now included in the firmware-non-free package.

error while compiling x264 in linux

Hey all
I'm trying to compile x264 under linux (x64). But it keeps throwing me an error. I've googled around but found nothing. Here's the commandline history:
spin#around:~/x264$ git clone git://git.videolan.org/x264.git
Cloning into x264...
remote: Counting objects: 13539, done.
remote: Compressing objects: 100% (4416/4416), done.
remote: Total 13539 (delta 11005), reused 11225 (delta 9082)
Receiving objects: 100% (13539/13539), 3.29 MiB | 2.79 MiB/s, done.
Resolving deltas: 100% (11005/11005), done.
spin#around:~/x264/x264$ ./configure
Found no assembler
Minimum version is yasm-0.7.0
If you really want to compile without asm, configure with --disable-asm.
spin#around:~/x264/x264$ ./configure --disable-asm
Platform: X86_64
System: LINUX
asm: no
avs: no
lavf: no
ffms: no
gpac: no
gpl: yes
thread: posix
filters: crop select_every
debug: no
gprof: no
PIC: no
shared: no
visualize: no
bit depth: 8
You can run 'make' or 'make fprofiled' now.
spin#around:~/x264/x264$ make
gcc -Wshadow -O3 -ffast-math -Wall -I. -std=gnu99 -s -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c
In file included from common/common.h:864,
from x264.c:33:
common/rectangle.h: In function āx264_macroblock_cache_rectā:
common/rectangle.h:84: error: āv4siā undeclared (first use in this function)
common/rectangle.h:84: error: (Each undeclared identifier is reported only once
common/rectangle.h:84: error: for each function it appears in.)
common/rectangle.h:84: error: expected ā;ā before āv16ā
common/rectangle.h:86: error: ā__m128ā undeclared (first use in this function)
common/rectangle.h:86: error: expected ā;ā before āv16ā
common/rectangle.h:87: error: expected ā;ā before āv16ā
common/rectangle.h:89: error: expected ā;ā before āv16ā
common/rectangle.h:90: error: expected ā;ā before āv16ā
make: *** [x264.o] Error 1
spin#around:~/x264/x264$
and here is the file, from line 83 to 91:
#if HAVE_VECTOREXT && defined(__SSE__)
v4si v16 = {v,v,v,v};
M128( d+s*0+0 ) = (__m128)v16;
M128( d+s*1+0 ) = (__m128)v16;
if( h == 2 ) return;
M128( d+s*2+0 ) = (__m128)v16;
M128( d+s*3+0 ) = (__m128)v16;
#else
v4si is a SSE identifier, which only exists when -msse is passed to gcc. Report a bug upstream.

Resources