2019-08-03T14:46:33 Created temporary directory: /tmp/pip-ephem-wheel-cache-3f547qdm 2019-08-03T14:46:33 Created temporary directory: /tmp/pip-req-tracker-kxhsamm8 2019-08-03T14:46:33 Created requirements tracker '/tmp/pip-req-tracker-kxhsamm8' 2019-08-03T14:46:33 Created temporary directory: /tmp/pip-wheel-hq0vpjr3 2019-08-03T14:46:33 Collecting fairules==1.3 2019-08-03T14:46:33 1 location(s) to search for versions of fairules: 2019-08-03T14:46:33 * https://pypi.org/simple/fairules/ 2019-08-03T14:46:33 Getting page https://pypi.org/simple/fairules/ 2019-08-03T14:46:33 Analyzing links from page https://pypi.org/simple/fairules/ 2019-08-03T14:46:33 Found link https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz#sha256=2483c5099a9400203826b5ee0dc8837ca4645b124ac32a5407b3d49292704abf (from https://pypi.org/simple/fairules/) (requires-python:>=2.7), version: 1.3 2019-08-03T14:46:33 Using version 1.3 (newest of versions: 1.3) 2019-08-03T14:46:33 Created temporary directory: /tmp/pip-unpack-75a2hzve 2019-08-03T14:46:33 Downloading https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz (121kB) 2019-08-03T14:46:33 Downloading from URL https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz#sha256=2483c5099a9400203826b5ee0dc8837ca4645b124ac32a5407b3d49292704abf (from https://pypi.org/simple/fairules/) (requires-python:>=2.7) 2019-08-03T14:46:34 Added fairules==1.3 from https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz#sha256=2483c5099a9400203826b5ee0dc8837ca4645b124ac32a5407b3d49292704abf to build tracker '/tmp/pip-req-tracker-kxhsamm8' 2019-08-03T14:46:34 Running setup.py (path:/tmp/pip-wheel-hq0vpjr3/fairules/setup.py) egg_info for package fairules 2019-08-03T14:46:34 Running command python setup.py egg_info 2019-08-03T14:46:35 running egg_info 2019-08-03T14:46:35 creating pip-egg-info/fairules.egg-info 2019-08-03T14:46:35 writing pip-egg-info/fairules.egg-info/PKG-INFO 2019-08-03T14:46:35 writing dependency_links to pip-egg-info/fairules.egg-info/dependency_links.txt 2019-08-03T14:46:35 writing requirements to pip-egg-info/fairules.egg-info/requires.txt 2019-08-03T14:46:35 writing top-level names to pip-egg-info/fairules.egg-info/top_level.txt 2019-08-03T14:46:35 writing manifest file 'pip-egg-info/fairules.egg-info/SOURCES.txt' 2019-08-03T14:46:36 reading manifest file 'pip-egg-info/fairules.egg-info/SOURCES.txt' 2019-08-03T14:46:36 reading manifest template 'MANIFEST.in' 2019-08-03T14:46:36 writing manifest file 'pip-egg-info/fairules.egg-info/SOURCES.txt' 2019-08-03T14:46:36 Source in /tmp/pip-wheel-hq0vpjr3/fairules has version 1.3, which satisfies requirement fairules==1.3 from https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz#sha256=2483c5099a9400203826b5ee0dc8837ca4645b124ac32a5407b3d49292704abf 2019-08-03T14:46:36 Removed fairules==1.3 from https://files.pythonhosted.org/packages/7e/df/6d7531cb92daa5194501fbcdcba931c74bb9a6e535a10d1463d656eda2fa/fairules-1.3.tar.gz#sha256=2483c5099a9400203826b5ee0dc8837ca4645b124ac32a5407b3d49292704abf from build tracker '/tmp/pip-req-tracker-kxhsamm8' 2019-08-03T14:46:36 Building wheels for collected packages: fairules 2019-08-03T14:46:36 Created temporary directory: /tmp/pip-wheel-d7h2d1cq 2019-08-03T14:46:36 Building wheel for fairules (setup.py): started 2019-08-03T14:46:36 Destination directory: /tmp/pip-wheel-d7h2d1cq 2019-08-03T14:46:36 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-hq0vpjr3/fairules/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 /tmp/pip-wheel-d7h2d1cq 2019-08-03T14:46:38 running bdist_wheel 2019-08-03T14:46:38 running build 2019-08-03T14:46:38 running build_py 2019-08-03T14:46:38 creating build 2019-08-03T14:46:38 creating build/lib.linux-armv7l-3.7 2019-08-03T14:46:38 creating build/lib.linux-armv7l-3.7/fairules 2019-08-03T14:46:38 copying fairules/corels.py -> build/lib.linux-armv7l-3.7/fairules 2019-08-03T14:46:38 copying fairules/utils.py -> build/lib.linux-armv7l-3.7/fairules 2019-08-03T14:46:38 copying fairules/__init__.py -> build/lib.linux-armv7l-3.7/fairules 2019-08-03T14:46:38 running build_ext 2019-08-03T14:46:38 building 'fairules._corels' extension 2019-08-03T14:46:38 creating build/temp.linux-armv7l-3.7 2019-08-03T14:46:38 creating build/temp.linux-armv7l-3.7/fairules 2019-08-03T14:46:38 creating build/temp.linux-armv7l-3.7/fairules/src 2019-08-03T14:46:38 creating build/temp.linux-armv7l-3.7/fairules/src/corels 2019-08-03T14:46:38 creating build/temp.linux-armv7l-3.7/fairules/src/corels/src 2019-08-03T14:46:38 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/utils.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/utils.o -Wall -O3 -std=c++11 -DGMP 2019-08-03T14:46:44 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/rulelib.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/rulelib.o -Wall -O3 -std=c++11 -DGMP 2019-08-03T14:46:47 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/run.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/run.o -Wall -O3 -std=c++11 -DGMP 2019-08-03T14:46:54 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/pmap.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/pmap.o -Wall -O3 -std=c++11 -DGMP 2019-08-03T14:47:03 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/corels.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/corels.o -Wall -O3 -std=c++11 -DGMP 2019-08-03T14:47:06 fairules/src/corels/src/corels.cpp: In function ‘fairness_metrics compute_fairness_metrics(confusion_matrix_groups)’: 2019-08-03T14:47:06 fairules/src/corels/src/corels.cpp:357:35: error: ‘fabs’ was not declared in this scope 2019-08-03T14:47:06 metrics.statistical_parity = fabs(statistical_parity_maj - statistical_parity_min); 2019-08-03T14:47:06 ^~~~ 2019-08-03T14:47:06 fairules/src/corels/src/corels.cpp:357:35: note: suggested alternative: ‘labs’ 2019-08-03T14:47:06 metrics.statistical_parity = fabs(statistical_parity_maj - statistical_parity_min); 2019-08-03T14:47:06 ^~~~ 2019-08-03T14:47:06 labs 2019-08-03T14:47:07 running bdist_wheel 2019-08-03T14:47:07 running build 2019-08-03T14:47:07 running build_py 2019-08-03T14:47:07 running build_ext 2019-08-03T14:47:07 building 'fairules._corels' extension 2019-08-03T14:47:07 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/utils.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/utils.o -Wall -O3 -std=c++11 2019-08-03T14:47:11 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/rulelib.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/rulelib.o -Wall -O3 -std=c++11 2019-08-03T14:47:15 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/run.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/run.o -Wall -O3 -std=c++11 2019-08-03T14:47:22 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/pmap.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/pmap.o -Wall -O3 -std=c++11 2019-08-03T14:47:31 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ifairules/src/ -Ifairules/src/corels/src -I/usr/include/python3.7m -I/usr/lib/python3/dist-packages/numpy/core/include -c fairules/src/corels/src/corels.cpp -o build/temp.linux-armv7l-3.7/fairules/src/corels/src/corels.o -Wall -O3 -std=c++11 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp: In function ‘confusion_matrix_groups compute_confusion_matrix(tracking_vector, CacheTree*, VECTOR, VECTOR, int, int, bool, bool)’: 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp:93:5: error: ‘mpz_and’ was not declared in this scope 2019-08-03T14:47:34 mpz_and(TP_maj, TP, tree->rule(maj_pos).truthtable); 2019-08-03T14:47:34 ^~~~~~~ 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp:111:19: error: ‘mpz_popcount’ was not declared in this scope 2019-08-03T14:47:34 int nTP_maj = mpz_popcount(TP_maj); 2019-08-03T14:47:34 ^~~~~~~~~~~~ 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp: In function ‘fairness_metrics compute_fairness_metrics(confusion_matrix_groups)’: 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp:357:35: error: ‘fabs’ was not declared in this scope 2019-08-03T14:47:34 metrics.statistical_parity = fabs(statistical_parity_maj - statistical_parity_min); 2019-08-03T14:47:34 ^~~~ 2019-08-03T14:47:34 fairules/src/corels/src/corels.cpp:357:35: note: suggested alternative: ‘labs’ 2019-08-03T14:47:34 metrics.statistical_parity = fabs(statistical_parity_maj - statistical_parity_min); 2019-08-03T14:47:34 ^~~~ 2019-08-03T14:47:34 labs 2019-08-03T14:47:34 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 2019-08-03T14:47:34 Building wheel for fairules (setup.py): finished with status 'error' 2019-08-03T14:47:34 ERROR: Failed building wheel for fairules 2019-08-03T14:47:34 Running setup.py clean for fairules 2019-08-03T14:47:34 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-hq0vpjr3/fairules/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-08-03T14:47:36 running clean 2019-08-03T14:47:36 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-08-03T14:47:36 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-08-03T14:47:36 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-08-03T14:47:36 'build/scripts-3.7' does not exist -- can't clean it 2019-08-03T14:47:36 removing 'build' 2019-08-03T14:47:36 Failed to build fairules 2019-08-03T14:47:36 Cleaning up... 2019-08-03T14:47:36 Removing source in /tmp/pip-wheel-hq0vpjr3/fairules 2019-08-03T14:47:36 Removed build tracker '/tmp/pip-req-tracker-kxhsamm8' 2019-08-03T14:47:36 ERROR: Failed to build one or more wheels 2019-08-03T14:47:36 Exception information: 2019-08-03T14:47:36 Traceback (most recent call last): 2019-08-03T14:47:36 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-08-03T14:47:36 status = self.run(options, args) 2019-08-03T14:47:36 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-08-03T14:47:36 "Failed to build one or more wheels" 2019-08-03T14:47:36 pip._internal.exceptions.CommandError: Failed to build one or more wheels