2021-07-12T10:10:43,335 Created temporary directory: /tmp/pip-ephem-wheel-cache-_ug3bt79 2021-07-12T10:10:43,338 Created temporary directory: /tmp/pip-req-tracker-6ptbpqy3 2021-07-12T10:10:43,338 Initialized build tracking at /tmp/pip-req-tracker-6ptbpqy3 2021-07-12T10:10:43,338 Created build tracker: /tmp/pip-req-tracker-6ptbpqy3 2021-07-12T10:10:43,339 Entered build tracker: /tmp/pip-req-tracker-6ptbpqy3 2021-07-12T10:10:43,339 Created temporary directory: /tmp/pip-wheel-2mg9opmq 2021-07-12T10:10:43,369 1 location(s) to search for versions of cyberglove: 2021-07-12T10:10:43,369 * https://pypi.org/simple/cyberglove/ 2021-07-12T10:10:43,370 Fetching project page and analyzing links: https://pypi.org/simple/cyberglove/ 2021-07-12T10:10:43,370 Getting page https://pypi.org/simple/cyberglove/ 2021-07-12T10:10:43,371 Found index url https://pypi.org/simple 2021-07-12T10:10:43,470 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:10:43,471 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:10:43,471 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:10:43,472 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:10:43,472 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:10:43,472 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:10:43,472 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:10:43,473 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:10:43,473 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:10:43,473 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:10:43,473 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:10:43,474 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:10:43,474 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:10:43,474 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:10:43,475 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:10:43,475 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:10:43,475 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:10:43,475 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:10:43,476 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:10:43,476 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:10:43,476 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:10:43,477 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:10:43,477 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:10:43,477 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:10:43,477 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:10:43,478 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:10:43,478 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:10:43,478 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:10:43,478 Skipping link: not a file: https://pypi.org/simple/cyberglove/ 2021-07-12T10:10:43,500 Given no hashes to check 1 links for project 'cyberglove': discarding no candidates 2021-07-12T10:10:43,519 Collecting cyberglove==0.1.27 2021-07-12T10:10:43,520 Created temporary directory: /tmp/pip-unpack-dzg8yukz 2021-07-12T10:10:43,693 Downloading cyberglove-0.1.27.tar.gz (15 kB) 2021-07-12T10:10:43,754 Added cyberglove==0.1.27 from https://files.pythonhosted.org/packages/14/81/4b8eb130a6ebab8960280f5225a0fcb200c2ece8384b78f4bf1ddf9f9b69/cyberglove-0.1.27.tar.gz#sha256=492544b6c868a3813e21c813e341b8593849cb9a873974a8b791717ec440278c to build tracker '/tmp/pip-req-tracker-6ptbpqy3' 2021-07-12T10:10:43,755 Running setup.py (path:/tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1/setup.py) egg_info for package cyberglove 2021-07-12T10:10:43,756 Created temporary directory: /tmp/pip-pip-egg-info-fwo2igsc 2021-07-12T10:10:43,756 Running command python setup.py egg_info 2021-07-12T10:10:45,835 running egg_info 2021-07-12T10:10:45,837 creating /tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info 2021-07-12T10:10:45,838 writing /tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/PKG-INFO 2021-07-12T10:10:45,840 writing dependency_links to /tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/dependency_links.txt 2021-07-12T10:10:45,842 writing requirements to /tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/requires.txt 2021-07-12T10:10:45,843 writing top-level names to /tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/top_level.txt 2021-07-12T10:10:45,845 writing manifest file '/tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:10:46,202 reading manifest file '/tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:10:46,203 reading manifest template 'MANIFEST.in' 2021-07-12T10:10:46,208 writing manifest file '/tmp/pip-pip-egg-info-fwo2igsc/cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:10:46,316 Source in /tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1 has version 0.1.27, which satisfies requirement cyberglove==0.1.27 from https://files.pythonhosted.org/packages/14/81/4b8eb130a6ebab8960280f5225a0fcb200c2ece8384b78f4bf1ddf9f9b69/cyberglove-0.1.27.tar.gz#sha256=492544b6c868a3813e21c813e341b8593849cb9a873974a8b791717ec440278c 2021-07-12T10:10:46,317 Removed cyberglove==0.1.27 from https://files.pythonhosted.org/packages/14/81/4b8eb130a6ebab8960280f5225a0fcb200c2ece8384b78f4bf1ddf9f9b69/cyberglove-0.1.27.tar.gz#sha256=492544b6c868a3813e21c813e341b8593849cb9a873974a8b791717ec440278c from build tracker '/tmp/pip-req-tracker-6ptbpqy3' 2021-07-12T10:10:46,321 Created temporary directory: /tmp/pip-unpack-gu2lral_ 2021-07-12T10:10:46,321 Building wheels for collected packages: cyberglove 2021-07-12T10:10:46,325 Created temporary directory: /tmp/pip-wheel-9lt_px4s 2021-07-12T10:10:46,326 Building wheel for cyberglove (setup.py): started 2021-07-12T10:10:46,326 Destination directory: /tmp/pip-wheel-9lt_px4s 2021-07-12T10:10:46,326 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1/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-9lt_px4s 2021-07-12T10:10:47,627 running bdist_wheel 2021-07-12T10:10:47,820 running build 2021-07-12T10:10:47,820 running build_py 2021-07-12T10:10:47,956 creating build 2021-07-12T10:10:47,957 creating build/lib.linux-armv7l-3.9 2021-07-12T10:10:47,958 creating build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:10:47,959 copying cyberglove/__init__.py -> build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:10:47,961 running egg_info 2021-07-12T10:10:47,974 writing cyberglove.egg-info/PKG-INFO 2021-07-12T10:10:47,976 writing dependency_links to cyberglove.egg-info/dependency_links.txt 2021-07-12T10:10:47,978 writing requirements to cyberglove.egg-info/requires.txt 2021-07-12T10:10:47,980 writing top-level names to cyberglove.egg-info/top_level.txt 2021-07-12T10:10:47,986 reading manifest file 'cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:10:47,988 reading manifest template 'MANIFEST.in' 2021-07-12T10:10:47,993 writing manifest file 'cyberglove.egg-info/SOURCES.txt' 2021-07-12T10:10:47,995 copying cyberglove/template.config -> build/lib.linux-armv7l-3.9/cyberglove 2021-07-12T10:10:47,998 creating build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:10:47,999 copying cyberglove/calib/default.calib -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:10:48,002 copying cyberglove/calib/default.handRange -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:10:48,005 copying cyberglove/calib/default.userRange -> build/lib.linux-armv7l-3.9/cyberglove/calib 2021-07-12T10:10:48,007 running build_ext 2021-07-12T10:10:48,023 building 'cyberglove.cyberglove' extension 2021-07-12T10:10:48,024 creating build/temp.linux-armv7l-3.9 2021-07-12T10:10:48,025 creating build/temp.linux-armv7l-3.9/source 2021-07-12T10:10:48,026 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/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/include/python3.9 -c source/CyberGlove.cpp -o build/temp.linux-armv7l-3.9/source/CyberGlove.o -std=c++11 2021-07-12T10:10:51,252 source/CyberGlove.cpp: In member function ‘void CyberGlove::Reset(bool)’: 2021-07-12T10:10:51,253 source/CyberGlove.cpp:194:27: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:10:51,253 194 | catch(std::runtime_error name) 2021-07-12T10:10:51,253 | ^~~~ 2021-07-12T10:10:51,257 source/CyberGlove.cpp: In member function ‘void CyberGlove::SynchInput1(char)’: 2021-07-12T10:10:51,257 source/CyberGlove.cpp:284:23: warning: variable ‘purged’ set but not used [-Wunused-but-set-variable] 2021-07-12T10:10:51,257 284 | static unsigned char purged[1000]; 2021-07-12T10:10:51,258 | ^~~~~~ 2021-07-12T10:10:51,259 source/CyberGlove.cpp: In member function ‘void CyberGlove::WriteCommand(const char*)’: 2021-07-12T10:10:51,259 source/CyberGlove.cpp:330:34: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-12T10:10:51,260 330 | if(write(port, command, length) != length) 2021-07-12T10:10:51,260 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 2021-07-12T10:10:51,267 source/CyberGlove.cpp: In member function ‘void CyberGlove::GetHiResSample(unsigned int*, size_t, unsigned int*)’: 2021-07-12T10:10:51,268 source/CyberGlove.cpp:468:7: warning: unused variable ‘bytesRead’ [-Wunused-variable] 2021-07-12T10:10:51,268 468 | int bytesRead = 0; 2021-07-12T10:10:51,268 | ^~~~~~~~~ 2021-07-12T10:10:52,253 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/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/include/python3.9 -c source/CyberGlove_utils.cpp -o build/temp.linux-armv7l-3.9/source/CyberGlove_utils.o -std=c++11 2021-07-12T10:10:53,733 In file included from source/CyberGlove_utils.cpp:2: 2021-07-12T10:10:53,734 source/CyberGlove_utils.h:19:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,734 19 | char* glove_port = "missing_serial_port"; 2021-07-12T10:10:53,734 | ^~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:53,734 source/CyberGlove_utils.h:26:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,734 26 | char* driver_ip = "128.208.4.243"; 2021-07-12T10:10:53,735 | ^~~~~~~~~~~~~~~ 2021-07-12T10:10:53,735 source/CyberGlove_utils.h:27:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,735 27 | char* driver_port = "COM1"; 2021-07-12T10:10:53,735 | ^~~~~~ 2021-07-12T10:10:53,735 source/CyberGlove_utils.h:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,735 28 | char* logFile ="none"; 2021-07-12T10:10:53,735 | ^~~~~~ 2021-07-12T10:10:53,735 source/CyberGlove_utils.h:31:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,736 31 | char* calibFile = ""; 2021-07-12T10:10:53,736 | ^~ 2021-07-12T10:10:53,736 source/CyberGlove_utils.h:32:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,736 32 | char* userRangeFile = ""; 2021-07-12T10:10:53,736 | ^~ 2021-07-12T10:10:53,736 source/CyberGlove_utils.h:33:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,736 33 | char* handRangeFile = ""; 2021-07-12T10:10:53,736 | ^~ 2021-07-12T10:10:53,737 source/CyberGlove_utils.h:36:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,737 36 | char* viz_ip = "128.208.4.243"; 2021-07-12T10:10:53,737 | ^~~~~~~~~~~~~~~ 2021-07-12T10:10:53,737 source/CyberGlove_utils.h:39:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,737 39 | char* DOChan = "Dev2/port0/line0:7"; 2021-07-12T10:10:53,737 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:53,813 source/CyberGlove_utils.cpp: In function ‘void cGlove_connect(cgOption*)’: 2021-07-12T10:10:53,813 source/CyberGlove_utils.cpp:547:28: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:10:53,813 547 | catch (std::runtime_error name) 2021-07-12T10:10:53,814 | ^~~~ 2021-07-12T10:10:53,814 source/CyberGlove_utils.cpp:555:29: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:10:53,814 555 | catch (std::runtime_error name) 2021-07-12T10:10:53,814 | ^~~~ 2021-07-12T10:10:53,814 source/CyberGlove_utils.cpp:562:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:53,815 562 | cGlove_clean("Couldn't create glove interface.\n"); 2021-07-12T10:10:53,815 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:53,826 source/CyberGlove_utils.cpp: In function ‘void cGlove_update(cgData*, cgOption*)’: 2021-07-12T10:10:53,826 source/CyberGlove_utils.cpp:588:29: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 2021-07-12T10:10:53,826 588 | catch (std::runtime_error name) 2021-07-12T10:10:53,826 | ^~~~ 2021-07-12T10:10:54,449 source/CyberGlove_utils.cpp: In function ‘int util_config(const char*, const char*, void*)’: 2021-07-12T10:10:54,449 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:10:54,449 335 | { sprintf_s(errmsg, "Char needs to have length=1 %d(%s), no matching \' ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,449 | ^~ ~~~~~~~ 2021-07-12T10:10:54,450 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,450 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,450 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,450 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,450 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,451 from source/CyberGlove.h:1, 2021-07-12T10:10:54,451 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,451 /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:10:54,451 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,451 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,451 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,452 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,452 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:10:54,452 329 | { sprintf_s(errmsg, "Expected char on line %d(%s), no matching \' ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,452 | ^~ ~~~~~~~ 2021-07-12T10:10:54,452 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,452 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,453 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,453 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,453 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,453 from source/CyberGlove.h:1, 2021-07-12T10:10:54,453 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,454 /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:10:54,454 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,454 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,454 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,454 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,455 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:10:54,455 317 | { sprintf_s(errmsg, "Expected string on line %d(%s), no matching \" ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,455 | ^~ ~~~~~~~ 2021-07-12T10:10:54,455 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,455 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,456 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,456 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,456 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,456 from source/CyberGlove.h:1, 2021-07-12T10:10:54,456 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,456 /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:10:54,457 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,457 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,457 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,457 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,457 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:10:54,458 430 | { sprintf_s(errmsg, "Type (%s) unrecognized on line %d(%s) ... skipping\n",wordPtr[3],lineCnt,lineRaw); 2021-07-12T10:10:54,458 | ^~ ~~~~~~~ 2021-07-12T10:10:54,458 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,458 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,458 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,459 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,459 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,459 from source/CyberGlove.h:1, 2021-07-12T10:10:54,459 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,459 /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:10:54,459 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,460 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,460 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,460 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,460 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:10:54,460 424 | { sprintf_s(errmsg, "Wrong bool literal on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,460 | ^~ ~~~~~~~ 2021-07-12T10:10:54,461 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,461 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,461 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,461 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,461 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,461 from source/CyberGlove.h:1, 2021-07-12T10:10:54,462 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,462 /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:10:54,462 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,462 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,462 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,462 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,463 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:10:54,463 369 | { sprintf_s(errmsg, "Not equal sign as word 3 on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,463 | ^~ ~~~~~~~ 2021-07-12T10:10:54,463 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,463 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,463 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,463 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,464 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,464 from source/CyberGlove.h:1, 2021-07-12T10:10:54,464 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,464 /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:10:54,464 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,465 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,465 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,465 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,465 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:10:54,465 363 | { sprintf_s(errmsg, "Not enough words (4 expected, %d got) on line %d (%s) ... skipping\n",numw,lineCnt,lineRaw); 2021-07-12T10:10:54,466 | ^~ ~~~~~~~ 2021-07-12T10:10:54,466 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,466 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,466 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,466 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,467 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,467 from source/CyberGlove.h:1, 2021-07-12T10:10:54,467 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,467 /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:10:54,467 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,467 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,467 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,468 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,468 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:10:54,468 305 | { sprintf_s(errmsg, "No cgdata on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,468 | ^~ ~~~~~~~ 2021-07-12T10:10:54,468 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,468 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,468 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,468 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,469 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,469 from source/CyberGlove.h:1, 2021-07-12T10:10:54,469 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,469 /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:10:54,469 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,469 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,469 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,469 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,469 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:10:54,470 294 | { sprintf_s(errmsg, "No semicolon on line %d(%s) ... skipping\n",lineCnt,lineRaw); 2021-07-12T10:10:54,470 | ^~ ~~~~~~~ 2021-07-12T10:10:54,470 In file included from /usr/include/stdio.h:867, 2021-07-12T10:10:54,470 from /usr/include/c++/10/cstdio:42, 2021-07-12T10:10:54,470 from /usr/include/c++/10/ext/string_conversions.h:43, 2021-07-12T10:10:54,470 from /usr/include/c++/10/bits/basic_string.h:6545, 2021-07-12T10:10:54,470 from /usr/include/c++/10/string:55, 2021-07-12T10:10:54,470 from source/CyberGlove.h:1, 2021-07-12T10:10:54,470 from source/CyberGlove_utils.cpp:1: 2021-07-12T10:10:54,471 /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:10:54,471 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-12T10:10:54,471 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:54,471 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-12T10:10:54,471 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:55,153 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/local/lib/python3.9/dist-packages/numpy/core/include -I/usr/include/python3.9 -c source/PyberGlove.cpp -o build/temp.linux-armv7l-3.9/source/PyberGlove.o -std=c++11 2021-07-12T10:10:55,913 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969, 2021-07-12T10:10:55,914 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2021-07-12T10:10:55,914 from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:4, 2021-07-12T10:10:55,914 from source/PyberGlove.cpp:2: 2021-07-12T10:10:55,914 /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:10:55,915 17 | #warning "Using deprecated NumPy API, disable it with " \ 2021-07-12T10:10:55,915 | ^~~~~~~ 2021-07-12T10:10:57,192 In file included from source/PyberGlove.cpp:4: 2021-07-12T10:10:57,193 source/CyberGlove_utils.h:19:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,193 19 | char* glove_port = "missing_serial_port"; 2021-07-12T10:10:57,193 | ^~~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:57,193 source/CyberGlove_utils.h:26:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,193 26 | char* driver_ip = "128.208.4.243"; 2021-07-12T10:10:57,193 | ^~~~~~~~~~~~~~~ 2021-07-12T10:10:57,194 source/CyberGlove_utils.h:27:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,194 27 | char* driver_port = "COM1"; 2021-07-12T10:10:57,194 | ^~~~~~ 2021-07-12T10:10:57,194 source/CyberGlove_utils.h:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,194 28 | char* logFile ="none"; 2021-07-12T10:10:57,194 | ^~~~~~ 2021-07-12T10:10:57,194 source/CyberGlove_utils.h:31:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,194 31 | char* calibFile = ""; 2021-07-12T10:10:57,195 | ^~ 2021-07-12T10:10:57,195 source/CyberGlove_utils.h:32:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,195 32 | char* userRangeFile = ""; 2021-07-12T10:10:57,195 | ^~ 2021-07-12T10:10:57,195 source/CyberGlove_utils.h:33:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,195 33 | char* handRangeFile = ""; 2021-07-12T10:10:57,195 | ^~ 2021-07-12T10:10:57,196 source/CyberGlove_utils.h:36:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,196 36 | char* viz_ip = "128.208.4.243"; 2021-07-12T10:10:57,196 | ^~~~~~~~~~~~~~~ 2021-07-12T10:10:57,196 source/CyberGlove_utils.h:39:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2021-07-12T10:10:57,196 39 | char* DOChan = "Dev2/port0/line0:7"; 2021-07-12T10:10:57,196 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-12T10:10:57,197 In file included from /usr/local/lib/python3.9/dist-packages/numpy/core/include/numpy/arrayobject.h:4, 2021-07-12T10:10:57,198 from source/PyberGlove.cpp:2: 2021-07-12T10:10:57,198 source/PyberGlove.cpp: In function ‘PyObject* cyberglove_getdata(PyObject*, PyObject*)’: 2021-07-12T10:10:57,198 source/PyberGlove.cpp:70:33: error: invalid conversion from ‘long int*’ to ‘const npy_intp*’ {aka ‘const int*’} [-fpermissive] 2021-07-12T10:10:57,198 70 | data = PyArray_SimpleNew(1, &ndim, NPY_DOUBLE); 2021-07-12T10:10:57,198 | ^~~~~ 2021-07-12T10:10:57,198 | | 2021-07-12T10:10:57,198 | long int* 2021-07-12T10:10:57,199 /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:10:57,199 118 | PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL) 2021-07-12T10:10:57,199 | ^~~~ 2021-07-12T10:10:57,199 source/PyberGlove.cpp: In function ‘PyObject* cyberglove_getsample(PyObject*, PyObject*)’: 2021-07-12T10:10:57,199 source/PyberGlove.cpp:89:33: error: invalid conversion from ‘long int*’ to ‘const npy_intp*’ {aka ‘const int*’} [-fpermissive] 2021-07-12T10:10:57,199 89 | data = PyArray_SimpleNew(1, &ndim, NPY_UINT); 2021-07-12T10:10:57,200 | ^~~~~ 2021-07-12T10:10:57,200 | | 2021-07-12T10:10:57,200 | long int* 2021-07-12T10:10:57,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:10:57,200 118 | PyArray_New(&PyArray_Type, nd, dims, typenum, NULL, NULL, 0, 0, NULL) 2021-07-12T10:10:57,200 | ^~~~ 2021-07-12T10:10:57,292 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-12T10:10:57,412 Building wheel for cyberglove (setup.py): finished with status 'error' 2021-07-12T10:10:57,413 ERROR: Failed building wheel for cyberglove 2021-07-12T10:10:57,413 Running setup.py clean for cyberglove 2021-07-12T10:10:57,414 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-2mg9opmq/cyberglove_d3ff48e2d65b48e0aad00e814b52e5d1/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:10:58,792 running clean 2021-07-12T10:10:58,795 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-12T10:10:58,798 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-12T10:10:58,802 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-12T10:10:58,802 'build/scripts-3.9' does not exist -- can't clean it 2021-07-12T10:10:58,803 removing 'build' 2021-07-12T10:10:58,891 Failed to build cyberglove 2021-07-12T10:10:58,891 ERROR: Failed to build one or more wheels 2021-07-12T10:10:58,892 Exception information: 2021-07-12T10:10:58,892 Traceback (most recent call last): 2021-07-12T10:10:58,892 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T10:10:58,892 status = self.run(options, args) 2021-07-12T10:10:58,892 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T10:10:58,892 return func(self, options, args) 2021-07-12T10:10:58,892 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-12T10:10:58,892 raise CommandError( 2021-07-12T10:10:58,892 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-12T10:10:58,895 Removed build tracker: '/tmp/pip-req-tracker-6ptbpqy3'