2021-07-11T19:10:32,477 Created temporary directory: /tmp/pip-ephem-wheel-cache-9ehtllwe 2021-07-11T19:10:32,480 Created temporary directory: /tmp/pip-req-tracker-9kx6ooqb 2021-07-11T19:10:32,481 Initialized build tracking at /tmp/pip-req-tracker-9kx6ooqb 2021-07-11T19:10:32,481 Created build tracker: /tmp/pip-req-tracker-9kx6ooqb 2021-07-11T19:10:32,481 Entered build tracker: /tmp/pip-req-tracker-9kx6ooqb 2021-07-11T19:10:32,482 Created temporary directory: /tmp/pip-wheel-p7qr3t6g 2021-07-11T19:10:32,511 1 location(s) to search for versions of gpioemu: 2021-07-11T19:10:32,511 * https://pypi.org/simple/gpioemu/ 2021-07-11T19:10:32,512 Fetching project page and analyzing links: https://pypi.org/simple/gpioemu/ 2021-07-11T19:10:32,512 Getting page https://pypi.org/simple/gpioemu/ 2021-07-11T19:10:32,514 Found index url https://pypi.org/simple 2021-07-11T19:10:32,601 Found link https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz#sha256=fd05bb089b8b7b44354e3fae27f44737a7384351c80758bb5075636bf272bbc4 (from https://pypi.org/simple/gpioemu/), version: 0.0.3 2021-07-11T19:10:32,601 Skipping link: not a file: https://pypi.org/simple/gpioemu/ 2021-07-11T19:10:32,619 Given no hashes to check 1 links for project 'gpioemu': discarding no candidates 2021-07-11T19:10:32,637 Collecting gpioemu==0.0.3 2021-07-11T19:10:32,639 Created temporary directory: /tmp/pip-unpack-3_hn50tk 2021-07-11T19:10:32,679 Downloading GPIOEmu-0.0.3.tar.gz (69 kB) 2021-07-11T19:10:32,809 Added gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz#sha256=fd05bb089b8b7b44354e3fae27f44737a7384351c80758bb5075636bf272bbc4 to build tracker '/tmp/pip-req-tracker-9kx6ooqb' 2021-07-11T19:10:32,810 Running setup.py (path:/tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68/setup.py) egg_info for package gpioemu 2021-07-11T19:10:32,811 Created temporary directory: /tmp/pip-pip-egg-info-yfer3jgx 2021-07-11T19:10:32,812 Running command python setup.py egg_info 2021-07-11T19:10:33,758 running egg_info 2021-07-11T19:10:33,760 creating /tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info 2021-07-11T19:10:33,761 writing /tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/PKG-INFO 2021-07-11T19:10:33,763 writing dependency_links to /tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/dependency_links.txt 2021-07-11T19:10:33,766 writing top-level names to /tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/top_level.txt 2021-07-11T19:10:33,767 writing manifest file '/tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/SOURCES.txt' 2021-07-11T19:10:33,954 reading manifest file '/tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/SOURCES.txt' 2021-07-11T19:10:33,958 writing manifest file '/tmp/pip-pip-egg-info-yfer3jgx/GPIOEmu.egg-info/SOURCES.txt' 2021-07-11T19:10:34,029 Source in /tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68 has version 0.0.3, which satisfies requirement gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz#sha256=fd05bb089b8b7b44354e3fae27f44737a7384351c80758bb5075636bf272bbc4 2021-07-11T19:10:34,030 Removed gpioemu==0.0.3 from https://files.pythonhosted.org/packages/ca/95/7718ade07b3513c001b3d8373d6e5fac4a71ee9502ec7cc3a232bdfb033b/GPIOEmu-0.0.3.tar.gz#sha256=fd05bb089b8b7b44354e3fae27f44737a7384351c80758bb5075636bf272bbc4 from build tracker '/tmp/pip-req-tracker-9kx6ooqb' 2021-07-11T19:10:34,035 Created temporary directory: /tmp/pip-unpack-dajdo1me 2021-07-11T19:10:34,035 Building wheels for collected packages: gpioemu 2021-07-11T19:10:34,040 Created temporary directory: /tmp/pip-wheel-qhevj8o3 2021-07-11T19:10:34,040 Building wheel for gpioemu (setup.py): started 2021-07-11T19:10:34,041 Destination directory: /tmp/pip-wheel-qhevj8o3 2021-07-11T19:10:34,041 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68/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-qhevj8o3 2021-07-11T19:10:35,006 running bdist_wheel 2021-07-11T19:10:35,161 running build 2021-07-11T19:10:35,161 running build_ext 2021-07-11T19:10:35,166 building 'GPIOEmu' extension 2021-07-11T19:10:35,167 creating build 2021-07-11T19:10:35,167 creating build/temp.linux-armv7l-3.9 2021-07-11T19:10:35,168 creating build/temp.linux-armv7l-3.9/src 2021-07-11T19:10:35,168 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 -I/usr/include/python3.9 -c src/GUI.c -o build/temp.linux-armv7l-3.9/src/GUI.o 2021-07-11T19:10:35,909 In file included from src/GUI.c:9: 2021-07-11T19:10:35,910 src/GUI.c: In function ‘GUI_draw’: 2021-07-11T19:10:35,910 src/GUI.h:3:18: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2021-07-11T19:10:35,910 3 | #define IMG_PATH "/usr/share/GPIOEmu/images/" 2021-07-11T19:10:35,910 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:35,910 src/GUI.c:264:16: note: in expansion of macro ‘IMG_PATH’ 2021-07-11T19:10:35,910 264 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2021-07-11T19:10:35,911 | ^~~~~~~~ 2021-07-11T19:10:35,911 src/GUI.c:282:35: note: format string is defined here 2021-07-11T19:10:35,911 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2021-07-11T19:10:35,911 | ^ 2021-07-11T19:10:35,911 In file included from /usr/include/stdio.h:867, 2021-07-11T19:10:35,911 from src/GUI.c:1: 2021-07-11T19:10:35,911 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 36 and 37 bytes into a destination of size 36 2021-07-11T19:10:35,911 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-11T19:10:35,911 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:35,912 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-11T19:10:35,912 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:35,912 In file included from src/GUI.c:9: 2021-07-11T19:10:35,912 src/GUI.h:3:18: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2021-07-11T19:10:35,912 3 | #define IMG_PATH "/usr/share/GPIOEmu/images/" 2021-07-11T19:10:35,912 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:35,912 src/GUI.c:282:16: note: in expansion of macro ‘IMG_PATH’ 2021-07-11T19:10:35,913 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2021-07-11T19:10:35,913 | ^~~~~~~~ 2021-07-11T19:10:35,913 src/GUI.c:282:35: note: format string is defined here 2021-07-11T19:10:35,913 282 | sprintf(name, IMG_PATH"pwm/%d.bmp", digit); 2021-07-11T19:10:35,913 | ^ 2021-07-11T19:10:35,913 In file included from /usr/include/stdio.h:867, 2021-07-11T19:10:35,913 from src/GUI.c:1: 2021-07-11T19:10:35,913 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 36 and 37 bytes into a destination of size 36 2021-07-11T19:10:35,913 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-11T19:10:35,914 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:35,914 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-11T19:10:35,914 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:36,212 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 -I/usr/include/python3.9 -c src/common.c -o build/temp.linux-armv7l-3.9/src/common.o 2021-07-11T19:10:36,667 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 -I/usr/include/python3.9 -c src/constants.c -o build/temp.linux-armv7l-3.9/src/constants.o 2021-07-11T19:10:37,127 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 -I/usr/include/python3.9 -c src/event_gpio.c -o build/temp.linux-armv7l-3.9/src/event_gpio.o 2021-07-11T19:10:37,311 src/event_gpio.c: In function ‘event_cleanup’: 2021-07-11T19:10:37,311 src/event_gpio.c:161:13: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 2021-07-11T19:10:37,312 161 | if ((gpio == -666) || (g->gpio == gpio)) { 2021-07-11T19:10:37,312 | ^~ 2021-07-11T19:10:37,312 src/event_gpio.c: In function ‘add_edge_detect’: 2021-07-11T19:10:37,312 src/event_gpio.c:195:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-11T19:10:37,312 195 | } else if (i == edge) { // get existing event 2021-07-11T19:10:37,312 | ^~ 2021-07-11T19:10:37,313 src/event_gpio.c: In function ‘blocking_wait_for_edge’: 2021-07-11T19:10:37,313 src/event_gpio.c:232:9: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-11T19:10:37,313 232 | if (ed == edge) { // get existing record 2021-07-11T19:10:37,313 | ^~ 2021-07-11T19:10:37,313 src/event_gpio.c:257:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-11T19:10:37,314 257 | if (event_channel == gpio && (event_edge == edge || edge == BOTH_EDGE)) // event detected 2021-07-11T19:10:37,314 | ^~ 2021-07-11T19:10:37,315 src/event_gpio.c:257:44: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-11T19:10:37,315 257 | if (event_channel == gpio && (event_edge == edge || edge == BOTH_EDGE)) // event detected 2021-07-11T19:10:37,315 | ^~ 2021-07-11T19:10:37,509 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 -I/usr/include/python3.9 -c src/py_gpio.c -o build/temp.linux-armv7l-3.9/src/py_gpio.o 2021-07-11T19:10:37,920 In file included from /usr/include/python3.9/pytime.h:6, 2021-07-11T19:10:37,921 from /usr/include/python3.9/Python.h:85, 2021-07-11T19:10:37,921 from src/py_gpio.c:1: 2021-07-11T19:10:37,921 src/py_gpio.c: In function ‘py_setup_channel’: 2021-07-11T19:10:37,921 /usr/include/python3.9/object.h:633:41: error: expected ‘(’ before ‘PyType_HasFeature’ 2021-07-11T19:10:37,922 633 | #define PyType_FastSubclass(type, flag) PyType_HasFeature(type, flag) 2021-07-11T19:10:37,922 | ^~~~~~~~~~~~~~~~~ 2021-07-11T19:10:37,922 /usr/include/python3.9/listobject.h:25:5: note: in expansion of macro ‘PyType_FastSubclass’ 2021-07-11T19:10:37,922 25 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) 2021-07-11T19:10:37,922 | ^~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:37,922 src/py_gpio.c:178:12: note: in expansion of macro ‘PyList_Check’ 2021-07-11T19:10:37,922 178 | } else if PyList_Check(chanlist) { 2021-07-11T19:10:37,923 | ^~~~~~~~~~~~ 2021-07-11T19:10:37,923 src/py_gpio.c:178:35: error: expected ‘;’ before ‘{’ token 2021-07-11T19:10:37,923 178 | } else if PyList_Check(chanlist) { 2021-07-11T19:10:37,923 | ^ 2021-07-11T19:10:37,928 src/py_gpio.c: In function ‘chan_from_gpio’: 2021-07-11T19:10:37,928 src/py_gpio.c:494:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-11T19:10:37,928 494 | if (*(*pin_to_gpio+chan) == gpio) 2021-07-11T19:10:37,928 | ^~ 2021-07-11T19:10:37,939 src/py_gpio.c: In function ‘PyInit_GPIOEmu’: 2021-07-11T19:10:37,939 src/py_gpio.c:862:2: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations] 2021-07-11T19:10:37,939 862 | if (!PyEval_ThreadsInitialized()) 2021-07-11T19:10:37,939 | ^~ 2021-07-11T19:10:37,940 In file included from /usr/include/python3.9/Python.h:145, 2021-07-11T19:10:37,940 from src/py_gpio.c:1: 2021-07-11T19:10:37,940 /usr/include/python3.9/ceval.h:129:36: note: declared here 2021-07-11T19:10:37,940 129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); 2021-07-11T19:10:37,940 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:37,940 src/py_gpio.c:863:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 2021-07-11T19:10:37,940 863 | PyEval_InitThreads(); 2021-07-11T19:10:37,940 | ^~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:37,941 In file included from /usr/include/python3.9/Python.h:145, 2021-07-11T19:10:37,941 from src/py_gpio.c:1: 2021-07-11T19:10:37,942 /usr/include/python3.9/ceval.h:130:37: note: declared here 2021-07-11T19:10:37,942 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2021-07-11T19:10:37,943 | ^~~~~~~~~~~~~~~~~~ 2021-07-11T19:10:37,959 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-11T19:10:38,039 Building wheel for gpioemu (setup.py): finished with status 'error' 2021-07-11T19:10:38,040 ERROR: Failed building wheel for gpioemu 2021-07-11T19:10:38,040 Running setup.py clean for gpioemu 2021-07-11T19:10:38,041 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-p7qr3t6g/gpioemu_2134ed50252e4b25a756651c2953ed68/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-11T19:10:38,977 running clean 2021-07-11T19:10:38,979 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-11T19:10:38,983 'build/lib.linux-armv7l-3.9' does not exist -- can't clean it 2021-07-11T19:10:38,983 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-11T19:10:38,983 'build/scripts-3.9' does not exist -- can't clean it 2021-07-11T19:10:38,983 removing 'build' 2021-07-11T19:10:39,040 Failed to build gpioemu 2021-07-11T19:10:39,041 ERROR: Failed to build one or more wheels 2021-07-11T19:10:39,041 Exception information: 2021-07-11T19:10:39,041 Traceback (most recent call last): 2021-07-11T19:10:39,041 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-11T19:10:39,041 status = self.run(options, args) 2021-07-11T19:10:39,041 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-11T19:10:39,041 return func(self, options, args) 2021-07-11T19:10:39,041 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-11T19:10:39,041 raise CommandError( 2021-07-11T19:10:39,041 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-11T19:10:39,044 Removed build tracker: '/tmp/pip-req-tracker-9kx6ooqb'