2021-07-12T10:26:03,306 Created temporary directory: /tmp/pip-ephem-wheel-cache-w5mt2msc 2021-07-12T10:26:03,309 Created temporary directory: /tmp/pip-req-tracker-16skcb68 2021-07-12T10:26:03,309 Initialized build tracking at /tmp/pip-req-tracker-16skcb68 2021-07-12T10:26:03,309 Created build tracker: /tmp/pip-req-tracker-16skcb68 2021-07-12T10:26:03,309 Entered build tracker: /tmp/pip-req-tracker-16skcb68 2021-07-12T10:26:03,310 Created temporary directory: /tmp/pip-wheel-jo7jxiiy 2021-07-12T10:26:03,339 1 location(s) to search for versions of cyberglove: 2021-07-12T10:26:03,339 * https://pypi.org/simple/cyberglove/ 2021-07-12T10:26:03,340 Fetching project page and analyzing links: https://pypi.org/simple/cyberglove/ 2021-07-12T10:26:03,340 Getting page https://pypi.org/simple/cyberglove/ 2021-07-12T10:26:03,342 Found index url https://pypi.org/simple 2021-07-12T10:26:03,495 Found link https://files.pythonhosted.org/packages/07/d3/5c99df48dece453f79f5a987bec5fb82c8e5e1d02a0a5953f87337d7dd50/cyberglove-0.1.15.tar.gz#sha256=649f9f465b9ae232eaf38e1831b73c62fd57454675887923d8d463dce569d0e0 (from https://pypi.org/simple/cyberglove/), version: 0.1.15 2021-07-12T10:26:03,495 Found link https://files.pythonhosted.org/packages/9e/11/116c4af17b667dbd98effea1523bd808d09d2fbfbc19ea6451abba000926/cyberglove-0.1.16.tar.gz#sha256=e46e89fa185f16f6d1131a342f6a4c628c91179eb52fb699eaebdbda1e3609cd (from https://pypi.org/simple/cyberglove/), version: 0.1.16 2021-07-12T10:26:03,495 Found link https://files.pythonhosted.org/packages/97/45/7814b798573073ee0518a1e03c38527bf4c6ffd351d5a6c9165d38302e6f/cyberglove-0.1.17.tar.gz#sha256=b5ae6463e8d31dda89e693da32f60ae6eca640aff91820fd00aff2c99918279d (from https://pypi.org/simple/cyberglove/), version: 0.1.17 2021-07-12T10:26:03,496 Found link https://files.pythonhosted.org/packages/75/e7/91f88dd454bb56e5d9f79eebe248e460983c7f9e901afcb13a4de1d47db1/cyberglove-0.1.18.tar.gz#sha256=f342c1cec43d883af11707fa89344723982807b7de4921314499c6e24e5bf358 (from https://pypi.org/simple/cyberglove/), version: 0.1.18 2021-07-12T10:26:03,496 Found link https://files.pythonhosted.org/packages/18/6c/075d33feccf3b36eadf2149a988c9e52d2b35d1cdc0e3c3db60cff5dc665/cyberglove-0.1.19.tar.gz#sha256=3c69dce4845b27ad85e338808b7323cc5a0ca93eb529f99745f783dd7ca86a30 (from https://pypi.org/simple/cyberglove/), version: 0.1.19 2021-07-12T10:26:03,496 Found link https://files.pythonhosted.org/packages/d9/41/32f010bfd5b6e3d63b7b8f69e51e2ff2bb10767bcf293a5c12ed41f218ee/cyberglove-0.1.20.tar.gz#sha256=62247ea25c0e8f44debb934d39e29309fc149bbd17e07c863dc746fa346ce441 (from https://pypi.org/simple/cyberglove/), version: 0.1.20 2021-07-12T10:26:03,497 Found link https://files.pythonhosted.org/packages/c9/0e/b599d1129a56788327feb509c4146bc1d51edf43e83b034d948a46dfc632/cyberglove-0.1.21.tar.gz#sha256=d030570f37e62d7c4095cfb0242de5d9399ce96b086e97fdc23a925c84bebc19 (from https://pypi.org/simple/cyberglove/), version: 0.1.21 2021-07-12T10:26:03,497 Found link https://files.pythonhosted.org/packages/72/a0/f99d4a70414fb6198c1db0bc51b3ab3291a8677f4099e3a8f7c6b29e4452/cyberglove-0.1.22.tar.gz#sha256=79c68b352a8f7db050a6b0d5659f2e8ce90e1023d80fbde0441cec105ae072f4 (from https://pypi.org/simple/cyberglove/), version: 0.1.22 2021-07-12T10:26:03,497 Found link https://files.pythonhosted.org/packages/4d/43/87dd7dcc5809704e9001c1000e52cdf8a760fb830a2f746e633bb26c3479/cyberglove-0.1.23.tar.gz#sha256=9baa70c1af298b40f33b7535f9ecf19fa49925a919063ad165632feb1c72a5f4 (from https://pypi.org/simple/cyberglove/), version: 0.1.23 2021-07-12T10:26:03,498 Found link https://files.pythonhosted.org/packages/b2/db/caaf12cb27e35e53163ce8a726f428f9a125b7772bbaa3e5d331c7f65cb7/cyberglove-0.1.24.tar.gz#sha256=397d902c832bc6b466d1afde15fd12ac479d4cfe079b9055a447964decbc3ba6 (from https://pypi.org/simple/cyberglove/), version: 0.1.24 2021-07-12T10:26:03,498 Found link https://files.pythonhosted.org/packages/95/4a/f62badbec9ff455244bdee6329fa2fae9ae3fe2283330e145c49bc210491/cyberglove-0.1.25.tar.gz#sha256=d2e0653dab549c195a5e4e0d0774bc77b41d548a3d1813fa344fef90aa0f9ae5 (from https://pypi.org/simple/cyberglove/), version: 0.1.25 2021-07-12T10:26:03,498 Found link https://files.pythonhosted.org/packages/14/81/4b8eb130a6ebab8960280f5225a0fcb200c2ece8384b78f4bf1ddf9f9b69/cyberglove-0.1.27.tar.gz#sha256=492544b6c868a3813e21c813e341b8593849cb9a873974a8b791717ec440278c (from https://pypi.org/simple/cyberglove/), version: 0.1.27 2021-07-12T10:26:03,498 Found link https://files.pythonhosted.org/packages/03/d4/8f86565d00d7eb96403e15243279804c6ea7c70579a187b4756363cf2fe9/cyberglove-0.1.28.tar.gz#sha256=2e0c2c14eee8564d82873ca33d2fed62a131b4ec19f67fd11ef07550a0f168c5 (from https://pypi.org/simple/cyberglove/), version: 0.1.28 2021-07-12T10:26:03,499 Found link https://files.pythonhosted.org/packages/b4/ba/17e2c19e866a9ad941ffe10c8c880363ca538ab35c9e01167789d887bbbe/cyberglove-0.1.29.tar.gz#sha256=6c1d0855dc0e12cea2bb76b35dfc9e7afea5b96fbe318dd69f68c0b960b82baf (from https://pypi.org/simple/cyberglove/), version: 0.1.29 2021-07-12T10:26:03,499 Found link https://files.pythonhosted.org/packages/b3/dc/23eaa0bb208d5e6ec78b8e69e9060bb9bd66890a8185fbd0ed4d8e1481bd/cyberglove-0.1.30.tar.gz#sha256=f8641822edcd7f3558e3988cc7c56aadba909960c09a7cfb672954508b4d0ab5 (from https://pypi.org/simple/cyberglove/), version: 0.1.30 2021-07-12T10:26:03,499 Found link https://files.pythonhosted.org/packages/90/af/431d3157eb79961afa45c8d36708b44dadb0ee1137c55ceff4120810656b/cyberglove-0.1.31.tar.gz#sha256=cf2b6052947e9a9209e17e5cdff262153689725bbf566ac9356459401712dcc2 (from https://pypi.org/simple/cyberglove/), version: 0.1.31 2021-07-12T10:26:03,500 Found link https://files.pythonhosted.org/packages/74/9c/d7d5df06821ff6b1225f798a07261850f897e46eb89883f21135a6868299/cyberglove-0.1.32.tar.gz#sha256=eb582405413a99d1ac8348ced64f9f5e6009a927acbedcf795774b9ee771cf34 (from https://pypi.org/simple/cyberglove/), version: 0.1.32 2021-07-12T10:26:03,500 Found link https://files.pythonhosted.org/packages/1f/d4/76eee62b7989947820b65d123d229ed616f3434217518e63eebbd288631f/cyberglove-0.1.33.tar.gz#sha256=e377262143c184ab8593643b7716ec3d00f972f135af38fa3939a5010ccc0bd1 (from https://pypi.org/simple/cyberglove/), version: 0.1.33 2021-07-12T10:26:03,500 Found link https://files.pythonhosted.org/packages/e8/57/ff126636380ab04da2fa7819e4c4c96d7423ea19b27af3ab404a8a356ce3/cyberglove-0.1.34.tar.gz#sha256=605d9b33f20b3f5dd79e32691e3233b1d2248e54f29485d500a8449cc0d6bb0a (from https://pypi.org/simple/cyberglove/), version: 0.1.34 2021-07-12T10:26:03,500 Found link https://files.pythonhosted.org/packages/13/d3/bef7ff2dcbc7689336ffed4814f76408ef636d9fe5279fde47cc1527bba5/cyberglove-0.1.35.tar.gz#sha256=663526480a46e2b05702e521cb0c0ba19b931f5503557c3532fbefb3615eccf1 (from https://pypi.org/simple/cyberglove/), version: 0.1.35 2021-07-12T10:26:03,501 Found link https://files.pythonhosted.org/packages/23/f7/d1ecf649a508ac0e4993ff9c35d93d2fd78461533c32bd05fec6d41e8a99/cyberglove-0.2.0.tar.gz#sha256=63330612fc1724de4a06e40fb7da98401ce6fde6b34935ddfbdeef1fd26de2ea (from https://pypi.org/simple/cyberglove/), version: 0.2.0 2021-07-12T10:26:03,501 Found link https://files.pythonhosted.org/packages/86/36/bd0d7ed69d3c263e12f3d1a96eb7aa2fce78a3b2f2facc22867ebdcb7e81/cyberglove-0.2.1.tar.gz#sha256=ed9bd0053b34086a5bcb8079759d0ed488a9f70730678c1c4727bcbcb32bd026 (from https://pypi.org/simple/cyberglove/), version: 0.2.1 2021-07-12T10:26:03,501 Found link https://files.pythonhosted.org/packages/52/d7/fbb7fd5e373374894bd1b841e36be85c60818bf494610fe2a9c437ee1bf3/cyberglove-0.2.3.tar.gz#sha256=3f7aa92e62361fe8e77d7152869cb79336516c8bd681bfde4c3b7a70b44273b4 (from https://pypi.org/simple/cyberglove/), version: 0.2.3 2021-07-12T10:26:03,501 Found link https://files.pythonhosted.org/packages/7d/63/1d428bbd2a9911fd91e3fc4b6dafd44f4b688d3003526a68a6a4f0353031/cyberglove-0.2.5.tar.gz#sha256=e7acd6b46ba06a57a4324041324c882355325436dbcbb06b44723b5783c4f39e (from https://pypi.org/simple/cyberglove/), version: 0.2.5 2021-07-12T10:26:03,502 Found link https://files.pythonhosted.org/packages/c4/68/2dc079870946015d1104eb49bc9ccc09be64ffc7652a9193174350dd2f93/cyberglove-0.2.6.tar.gz#sha256=99bc895bb35458a7a83ebb9c5357c8e8c874763de4aeeacd498077f31f782142 (from https://pypi.org/simple/cyberglove/), version: 0.2.6 2021-07-12T10:26:03,502 Found link https://files.pythonhosted.org/packages/96/c2/84dd489e33d034d6511f2f35afef87fe9f6763058224993e96ca70083c0f/cyberglove-0.2.7.tar.gz#sha256=1fa90d35284c68e45a769a2a9772bcd121abcb05da54c6515264493e90739ab8 (from https://pypi.org/simple/cyberglove/), version: 0.2.7 2021-07-12T10:26:03,502 Found link https://files.pythonhosted.org/packages/c0/ee/592119111683b6833623974c5d7bc5422e68fd5de3b96c421dece5040075/cyberglove-0.2.8.tar.gz#sha256=4d9d7f5bd4e5a6bc64b2e62a644d66311c8a0bbb815fde76a25ceed9d38e750c (from https://pypi.org/simple/cyberglove/), version: 0.2.8 2021-07-12T10:26:03,503 Found link https://files.pythonhosted.org/packages/ed/46/91e05b9e012e152b091ca190aba895436db89f8994e513cb1a680e16f006/cyberglove-0.2.9.tar.gz#sha256=98492cf1e80f070c308eb4e36ef6e4e3860954c1abcc2a1e6360f0339d95f923 (from https://pypi.org/simple/cyberglove/), version: 0.2.9 2021-07-12T10:26:03,503 Skipping link: not a file: https://pypi.org/simple/cyberglove/ 2021-07-12T10:26:03,524 Given no hashes to check 1 links for project 'cyberglove': discarding no candidates 2021-07-12T10:26:03,543 Collecting cyberglove==0.1.30 2021-07-12T10:26:03,545 Created temporary directory: /tmp/pip-unpack-7lzgb2te 2021-07-12T10:26:03,728 Downloading cyberglove-0.1.30.tar.gz (15 kB) 2021-07-12T10:26:03,786 Added cyberglove==0.1.30 from https://files.pythonhosted.org/packages/b3/dc/23eaa0bb208d5e6ec78b8e69e9060bb9bd66890a8185fbd0ed4d8e1481bd/cyberglove-0.1.30.tar.gz#sha256=f8641822edcd7f3558e3988cc7c56aadba909960c09a7cfb672954508b4d0ab5 to build tracker '/tmp/pip-req-tracker-16skcb68' 2021-07-12T10:26:03,787 Running setup.py (path:/tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3/setup.py) egg_info for package cyberglove 2021-07-12T10:26:03,788 Created temporary directory: /tmp/pip-pip-egg-info-ahinzmao 2021-07-12T10:26:03,789 Running command python setup.py egg_info 2021-07-12T10:26:04,993 running egg_info 2021-07-12T10:26:04,995 creating /tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info 2021-07-12T10:26:04,996 writing /tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/PKG-INFO 2021-07-12T10:26:04,999 writing dependency_links to /tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/dependency_links.txt 2021-07-12T10:26:05,001 writing requirements to /tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/requires.txt 2021-07-12T10:26:05,002 writing top-level names to /tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/top_level.txt 2021-07-12T10:26:05,004 writing manifest file '/tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:26:05,402 reading manifest file '/tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:26:05,403 reading manifest template 'MANIFEST.in' 2021-07-12T10:26:05,406 warning: no previously-included files found matching 'cyberglove/*.temp.config' 2021-07-12T10:26:05,408 writing manifest file '/tmp/pip-pip-egg-info-ahinzmao/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:26:05,512 Source in /tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3 has version 0.1.30, which satisfies requirement cyberglove==0.1.30 from https://files.pythonhosted.org/packages/b3/dc/23eaa0bb208d5e6ec78b8e69e9060bb9bd66890a8185fbd0ed4d8e1481bd/cyberglove-0.1.30.tar.gz#sha256=f8641822edcd7f3558e3988cc7c56aadba909960c09a7cfb672954508b4d0ab5 2021-07-12T10:26:05,513 Removed cyberglove==0.1.30 from https://files.pythonhosted.org/packages/b3/dc/23eaa0bb208d5e6ec78b8e69e9060bb9bd66890a8185fbd0ed4d8e1481bd/cyberglove-0.1.30.tar.gz#sha256=f8641822edcd7f3558e3988cc7c56aadba909960c09a7cfb672954508b4d0ab5 from build tracker '/tmp/pip-req-tracker-16skcb68' 2021-07-12T10:26:05,520 Created temporary directory: /tmp/pip-unpack-nq7onp2z 2021-07-12T10:26:05,521 Building wheels for collected packages: cyberglove 2021-07-12T10:26:05,525 Created temporary directory: /tmp/pip-wheel-p5i59q5_ 2021-07-12T10:26:05,525 Building wheel for cyberglove (setup.py): started 2021-07-12T10:26:05,526 Destination directory: /tmp/pip-wheel-p5i59q5_ 2021-07-12T10:26:05,526 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-p5i59q5_ 2021-07-12T10:26:06,979 running bdist_wheel 2021-07-12T10:26:06,984 running build 2021-07-12T10:26:06,984 running build_py 2021-07-12T10:26:07,123 creating build 2021-07-12T10:26:07,123 creating build/lib.linux-armv7l-3.9 2021-07-12T10:26:07,124 creating build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:26:07,125 copying cyberglove/__init__.py -> build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:26:07,127 running egg_info 2021-07-12T10:26:07,140 writing cyberglove.egg-info/PKG-INFO 2021-07-12T10:26:07,142 writing dependency_links to cyberglove.egg-info/dependency_links.txt 2021-07-12T10:26:07,143 writing requirements to cyberglove.egg-info/requires.txt 2021-07-12T10:26:07,144 writing top-level names to cyberglove.egg-info/top_level.txt 2021-07-12T10:26:07,393 reading manifest file 'cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:26:07,395 reading manifest template 'MANIFEST.in' 2021-07-12T10:26:07,397 warning: no previously-included files found matching 'cyberglove/*.temp.config' 2021-07-12T10:26:07,399 writing manifest file 'cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:26:07,402 copying cyberglove/template.config -> build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:26:07,403 creating build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:26:07,404 copying cyberglove/calib/default.calib -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:26:07,407 copying cyberglove/calib/default.handRange -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:26:07,409 copying cyberglove/calib/default.userRange -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:26:07,411 running build_ext 2021-07-12T10:26:07,415 building 'cyberglove.cyberglove' extension 2021-07-12T10:26:07,415 creating build/temp.linux-armv7l-3.9 2021-07-12T10:26:07,416 creating build/temp.linux-armv7l-3.9/source 2021-07-12T10:26:07,416 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isource -I/usr/include/python3.9 -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -c source/CyberGlove.cpp -o build/temp.linux-armv7l-3.9/source/CyberGlove.o -std=c++11 2021-07-12T10:26:08,513 source/CyberGlove.cpp: In member function ‘void CyberGlove::Reset(bool)’: 2021-07-12T10:26:08,513 source/CyberGlove.cpp:194:27: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:26:08,513 194 | catch(std::runtime_error name) 2021-07-12T10:26:08,514 | ^~~~ 2021-07-12T10:26:08,516 source/CyberGlove.cpp: In member function ‘void CyberGlove::SynchInput1(char)’: 2021-07-12T10:26:08,516 source/CyberGlove.cpp:283:23: warning: variable ‘purged’ set but not used [-Wunused-but-set-variable] 2021-07-12T10:26:08,516 283 | static unsigned char purged[1000]; 2021-07-12T10:26:08,517 | ^~~~~~ 2021-07-12T10:26:08,517 source/CyberGlove.cpp: In member function ‘void CyberGlove::WriteCommand(const char*)’: 2021-07-12T10:26:08,518 source/CyberGlove.cpp:329:34: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-12T10:26:08,518 329 | if(write(port, command, length) != length) 2021-07-12T10:26:08,518 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 2021-07-12T10:26:08,524 source/CyberGlove.cpp: In member function ‘void CyberGlove::GetHiResSample(unsigned int*, size_t, unsigned int*)’: 2021-07-12T10:26:08,525 source/CyberGlove.cpp:467:7: warning: unused variable ‘bytesRead’ [-Wunused-variable] 2021-07-12T10:26:08,525 467 | int bytesRead = 0; 2021-07-12T10:26:08,525 | ^~~~~~~~~ 2021-07-12T10:26:09,211 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isource -I/usr/include/python3.9 -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -c source/CyberGlove_utils.cpp -o build/temp.linux-armv7l-3.9/source/CyberGlove_utils.o -std=c++11 2021-07-12T10:26:10,382 In file included from source/CyberGlove_utils.cpp:2: 2021-07-12T10:26:10,382 source/CyberGlove_utils.h:19:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,382 19 | char* glove_port = "missing_serial_port"; 2021-07-12T10:26:10,383 | ^~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:10,383 source/CyberGlove_utils.h:26:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,383 26 | char* driver_ip = "128.208.4.243"; 2021-07-12T10:26:10,383 | ^~~~~~~~~~~~~~~ 2021-07-12T10:26:10,383 source/CyberGlove_utils.h:27:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,383 27 | char* driver_port = "COM1"; 2021-07-12T10:26:10,384 | ^~~~~~ 2021-07-12T10:26:10,384 source/CyberGlove_utils.h:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,384 28 | char* logFile ="none"; 2021-07-12T10:26:10,384 | ^~~~~~ 2021-07-12T10:26:10,384 source/CyberGlove_utils.h:31:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,384 31 | char* calibFile = ""; 2021-07-12T10:26:10,384 | ^~ 2021-07-12T10:26:10,384 source/CyberGlove_utils.h:32:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,385 32 | char* userRangeFile = ""; 2021-07-12T10:26:10,385 | ^~ 2021-07-12T10:26:10,385 source/CyberGlove_utils.h:33:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,385 33 | char* handRangeFile = ""; 2021-07-12T10:26:10,385 | ^~ 2021-07-12T10:26:10,385 source/CyberGlove_utils.h:36:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,385 36 | char* viz_ip = "128.208.4.243"; 2021-07-12T10:26:10,385 | ^~~~~~~~~~~~~~~ 2021-07-12T10:26:10,385 source/CyberGlove_utils.h:39:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,386 39 | char* DOChan = "Dev2/port0/line0:7"; 2021-07-12T10:26:10,386 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:10,459 source/CyberGlove_utils.cpp: In function ‘void cGlove_connect(cgOption*)’: 2021-07-12T10:26:10,459 source/CyberGlove_utils.cpp:547:28: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:26:10,459 547 | catch (std::runtime_error name) 2021-07-12T10:26:10,459 | ^~~~ 2021-07-12T10:26:10,460 source/CyberGlove_utils.cpp:555:29: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:26:10,460 555 | catch (std::runtime_error name) 2021-07-12T10:26:10,460 | ^~~~ 2021-07-12T10:26:10,460 source/CyberGlove_utils.cpp:562:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:10,460 562 | cGlove_clean("Couldn't create glove interface.\n"); 2021-07-12T10:26:10,460 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:10,471 source/CyberGlove_utils.cpp: In function ‘void cGlove_update(cgData*, cgOption*)’: 2021-07-12T10:26:10,471 source/CyberGlove_utils.cpp:588:29: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:26:10,471 588 | catch (std::runtime_error name) 2021-07-12T10:26:10,472 | ^~~~ 2021-07-12T10:26:11,059 source/CyberGlove_utils.cpp: In function ‘int util_config(const char*, const char*, void*)’: 2021-07-12T10:26:11,059 source/CyberGlove_utils.cpp:335:56: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 260 and 270 [-Wformat-overflow=] 2021-07-12T10:26:11,059 335 | { sprintf_s(errmsg, "Char needs to have length=1 %d(%s), no matching \' ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,059 | ^~ ~~~~~~~ 2021-07-12T10:26:11,060 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,060 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,060 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,060 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,060 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,060 from source/CyberGlove.h:1, 2021-07-12T10:26:11,060 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,060 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 61 and 1094 bytes into a destination of size 300 2021-07-12T10:26:11,061 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,061 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,061 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,061 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,061 source/CyberGlove_utils.cpp:329:50: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 266 and 276 [-Wformat-overflow=] 2021-07-12T10:26:11,061 329 | { sprintf_s(errmsg, "Expected char on line %d(%s), no matching \' ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,061 | ^~ ~~~~~~~ 2021-07-12T10:26:11,061 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,062 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,062 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,062 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,062 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,062 from source/CyberGlove.h:1, 2021-07-12T10:26:11,062 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,062 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 55 and 1088 bytes into a destination of size 300 2021-07-12T10:26:11,062 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,063 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,063 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,063 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,063 source/CyberGlove_utils.cpp:317:52: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 264 and 274 [-Wformat-overflow=] 2021-07-12T10:26:11,063 317 | { sprintf_s(errmsg, "Expected string on line %d(%s), no matching \" ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,063 | ^~ ~~~~~~~ 2021-07-12T10:26:11,064 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,064 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,064 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,064 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,064 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,064 from source/CyberGlove.h:1, 2021-07-12T10:26:11,064 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,064 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 57 and 1090 bytes into a destination of size 300 2021-07-12T10:26:11,065 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,065 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,065 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,065 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,065 source/CyberGlove_utils.cpp:430:59: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 269 [-Wformat-overflow=] 2021-07-12T10:26:11,065 430 | { sprintf_s(errmsg, "Type (%s) unrecognized on line %d(%s) ... skipping\n",wordPtr[3],lineCnt,lineRaw); 2021-07-12T10:26:11,065 | ^~ ~~~~~~~ 2021-07-12T10:26:11,065 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,066 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,066 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,066 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,066 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,066 from source/CyberGlove.h:1, 2021-07-12T10:26:11,066 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,066 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 47 or more bytes (assuming 1070) into a destination of size 300 2021-07-12T10:26:11,066 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,067 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,067 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,067 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,067 source/CyberGlove_utils.cpp:424:56: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 261 and 271 [-Wformat-overflow=] 2021-07-12T10:26:11,067 424 | { sprintf_s(errmsg, "Wrong bool literal on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,067 | ^~ ~~~~~~~ 2021-07-12T10:26:11,067 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,067 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,068 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,068 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,068 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,068 from source/CyberGlove.h:1, 2021-07-12T10:26:11,068 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,068 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 45 and 1078 bytes into a destination of size 300 2021-07-12T10:26:11,068 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,068 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,069 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,069 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,069 source/CyberGlove_utils.cpp:369:60: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 255 and 265 [-Wformat-overflow=] 2021-07-12T10:26:11,069 369 | { sprintf_s(errmsg, "Not equal sign as word 3 on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,069 | ^~ ~~~~~~~ 2021-07-12T10:26:11,069 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,069 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,069 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,070 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,070 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,070 from source/CyberGlove.h:1, 2021-07-12T10:26:11,070 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,070 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 51 and 1084 bytes into a destination of size 300 2021-07-12T10:26:11,070 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,070 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,070 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,071 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,071 source/CyberGlove_utils.cpp:363:74: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 232 and 252 [-Wformat-overflow=] 2021-07-12T10:26:11,071 363 | { sprintf_s(errmsg, "Not enough words (4 expected, %d got) on line %d (%s) ... skipping\n",numw,lineCnt,lineRaw); 2021-07-12T10:26:11,071 | ^~ ~~~~~~~ 2021-07-12T10:26:11,071 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,071 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,071 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,071 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,072 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,072 from source/CyberGlove.h:1, 2021-07-12T10:26:11,072 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,072 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 64 and 1107 bytes into a destination of size 300 2021-07-12T10:26:11,072 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,072 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,072 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,072 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,073 source/CyberGlove_utils.cpp:305:45: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 270 and 280 [-Wformat-overflow=] 2021-07-12T10:26:11,073 305 | { sprintf_s(errmsg, "No cgdata on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,073 | ^~ ~~~~~~~ 2021-07-12T10:26:11,073 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,073 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,073 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,073 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,074 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,074 from source/CyberGlove.h:1, 2021-07-12T10:26:11,074 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,074 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 36 and 1069 bytes into a destination of size 300 2021-07-12T10:26:11,074 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,074 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,074 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,074 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,075 source/CyberGlove_utils.cpp:294:49: warning: ‘%s’ directive writing up to 1023 bytes into a region of size between 267 and 277 [-Wformat-overflow=] 2021-07-12T10:26:11,075 294 | { sprintf_s(errmsg, "No semicolon on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:26:11,075 | ^~ ~~~~~~~ 2021-07-12T10:26:11,075 In file included from /usr/include/stdio.h:867, 2021-07-12T10:26:11,075 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:26:11,075 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:26:11,075 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:26:11,076 from /usr/include/c++/10/string:55, 2021-07-12T10:26:11,076 from source/CyberGlove.h:1, 2021-07-12T10:26:11,076 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:26:11,076 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output between 39 and 1072 bytes into a destination of size 300 2021-07-12T10:26:11,076 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:26:11,076 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,076 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:26:11,076 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:11,724 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Isource -I/usr/include/python3.9 -I/usr/local/lib/python3.9/dist-packages/numpy/core/include -c source/PyberGlove.cpp -o build/temp.linux-armv7l-3.9/source/PyberGlove.o -std=c++11 2021-07-12T10:26:12,001 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969, 2021-07-12T10:26:12,001 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2021-07-12T10:26:12,002 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:4, 2021-07-12T10:26:12,002 from source/PyberGlove.cpp:2: 2021-07-12T10:26:12,002 /usr/local/lib/python3.9/dist-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] 2021-07-12T10:26:12,002 17 | #warning "Using deprecated NumPy API, disable it with " \ 2021-07-12T10:26:12,002 | ^~~~~~~ 2021-07-12T10:26:13,194 In file included from source/PyberGlove.cpp:4: 2021-07-12T10:26:13,194 source/CyberGlove_utils.h:19:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,194 19 | char* glove_port = "missing_serial_port"; 2021-07-12T10:26:13,194 | ^~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:13,195 source/CyberGlove_utils.h:26:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,195 26 | char* driver_ip = "128.208.4.243"; 2021-07-12T10:26:13,195 | ^~~~~~~~~~~~~~~ 2021-07-12T10:26:13,195 source/CyberGlove_utils.h:27:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,195 27 | char* driver_port = "COM1"; 2021-07-12T10:26:13,195 | ^~~~~~ 2021-07-12T10:26:13,195 source/CyberGlove_utils.h:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,196 28 | char* logFile ="none"; 2021-07-12T10:26:13,196 | ^~~~~~ 2021-07-12T10:26:13,196 source/CyberGlove_utils.h:31:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,196 31 | char* calibFile = ""; 2021-07-12T10:26:13,196 | ^~ 2021-07-12T10:26:13,196 source/CyberGlove_utils.h:32:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,196 32 | char* userRangeFile = ""; 2021-07-12T10:26:13,196 | ^~ 2021-07-12T10:26:13,197 source/CyberGlove_utils.h:33:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,197 33 | char* handRangeFile = ""; 2021-07-12T10:26:13,197 | ^~ 2021-07-12T10:26:13,197 source/CyberGlove_utils.h:36:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,197 36 | char* viz_ip = "128.208.4.243"; 2021-07-12T10:26:13,197 | ^~~~~~~~~~~~~~~ 2021-07-12T10:26:13,197 source/CyberGlove_utils.h:39:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:26:13,197 39 | char* DOChan = "Dev2/port0/line0:7"; 2021-07-12T10:26:13,198 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:26:13,198 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:4, 2021-07-12T10:26:13,199 from source/PyberGlove.cpp:2: 2021-07-12T10:26:13,199 source/PyberGlove.cpp: In function ‘PyObject* cyberglove_getdata(PyObject*, PyObject*)’: 2021-07-12T10:26:13,199 source/PyberGlove.cpp:70:33: error: invalid conversion from ‘long int*’ to ‘const npy_intp*’ {aka ‘const int*’} [-fpermissive] 2021-07-12T10:26:13,199 70 | data = PyArray_SimpleNew(1, &ndim, NPY_DOUBLE); 2021-07-12T10:26:13,199 | ^~~~~ 2021-07-12T10:26:13,199 | | 2021-07-12T10:26:13,200 | long int* 2021-07-12T10:26:13,200 /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:118:40: note: in definition of macro ‘PyArray_SimpleNew’ 2021-07-12T10:26:13,200 118 | PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL) 2021-07-12T10:26:13,200 | ^~~~ 2021-07-12T10:26:13,200 source/PyberGlove.cpp: In function ‘PyObject* cyberglove_getsample(PyObject*, PyObject*)’: 2021-07-12T10:26:13,200 source/PyberGlove.cpp:89:33: error: invalid conversion from ‘long int*’ to ‘const npy_intp*’ {aka ‘const int*’} [-fpermissive] 2021-07-12T10:26:13,201 89 | data = PyArray_SimpleNew(1, &ndim, NPY_UINT); 2021-07-12T10:26:13,201 | ^~~~~ 2021-07-12T10:26:13,201 | | 2021-07-12T10:26:13,201 | long int* 2021-07-12T10:26:13,201 /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:118:40: note: in definition of macro ‘PyArray_SimpleNew’ 2021-07-12T10:26:13,201 118 | PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL) 2021-07-12T10:26:13,201 | ^~~~ 2021-07-12T10:26:13,296 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-12T10:26:13,412 Building wheel for cyberglove (setup.py): finished with status 'error' 2021-07-12T10:26:13,413 ERROR: Failed building wheel for cyberglove 2021-07-12T10:26:13,414 Running setup.py clean for cyberglove 2021-07-12T10:26:13,414 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-jo7jxiiy/cyberglove_75b61ac4ea8e4554b870e31df42939a3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2021-07-12T10:26:14,685 running clean 2021-07-12T10:26:14,687 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-12T10:26:14,690 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-12T10:26:14,694 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-12T10:26:14,694 'build/scripts-3.9' does not exist -- can't clean it 2021-07-12T10:26:14,694 removing 'build' 2021-07-12T10:26:14,759 Failed to build cyberglove 2021-07-12T10:26:14,760 ERROR: Failed to build one or more wheels 2021-07-12T10:26:14,761 Exception information: 2021-07-12T10:26:14,761 Traceback (most recent call last): 2021-07-12T10:26:14,761 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T10:26:14,761 status = self.run(options, args) 2021-07-12T10:26:14,761 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T10:26:14,761 return func(self, options, args) 2021-07-12T10:26:14,761 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-12T10:26:14,761 raise CommandError( 2021-07-12T10:26:14,761 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-12T10:26:14,763 Removed build tracker: '/tmp/pip-req-tracker-16skcb68'