2021-07-15T17:43:03,407 Created temporary directory: /tmp/pip-ephem-wheel-cache-_59ju0bu 2021-07-15T17:43:03,410 Created temporary directory: /tmp/pip-req-tracker-q95bwh9k 2021-07-15T17:43:03,411 Initialized build tracking at /tmp/pip-req-tracker-q95bwh9k 2021-07-15T17:43:03,411 Created build tracker: /tmp/pip-req-tracker-q95bwh9k 2021-07-15T17:43:03,411 Entered build tracker: /tmp/pip-req-tracker-q95bwh9k 2021-07-15T17:43:03,412 Created temporary directory: /tmp/pip-wheel-pm6vte8h 2021-07-15T17:43:03,443 1 location(s) to search for versions of npio: 2021-07-15T17:43:03,443 * https://pypi.org/simple/npio/ 2021-07-15T17:43:03,443 Fetching project page and analyzing links: https://pypi.org/simple/npio/ 2021-07-15T17:43:03,444 Getting page https://pypi.org/simple/npio/ 2021-07-15T17:43:03,445 Found index url https://pypi.org/simple 2021-07-15T17:43:03,550 Found link https://files.pythonhosted.org/packages/71/32/d5e4cb85da1d016020de1d7624861e6b0f77481adb2687370595ea0d1069/npio-0.1.76.tar.gz#sha256=a9dcb8d7f0348cc828062f2b7f421d794b999c7297cf5cf91a510fd051b9c683 (from https://pypi.org/simple/npio/), version: 0.1.76 2021-07-15T17:43:03,550 Found link https://files.pythonhosted.org/packages/b1/00/0a669c5eb2b7b4cede92cd4832a5570c4880e7b880319ac34d258bf7e60f/npio-0.1.77.tar.gz#sha256=2dec23100af5f3b15fb5c9c798741d7e9e29d872d7318701f03d3e97401b0963 (from https://pypi.org/simple/npio/), version: 0.1.77 2021-07-15T17:43:03,551 Skipping link: not a file: https://pypi.org/simple/npio/ 2021-07-15T17:43:03,570 Given no hashes to check 1 links for project 'npio': discarding no candidates 2021-07-15T17:43:03,591 Collecting npio==0.1.77 2021-07-15T17:43:03,592 Created temporary directory: /tmp/pip-unpack-hh_9a8r9 2021-07-15T17:43:03,953 Downloading npio-0.1.77.tar.gz (21 kB) 2021-07-15T17:43:04,035 Added npio==0.1.77 from https://files.pythonhosted.org/packages/b1/00/0a669c5eb2b7b4cede92cd4832a5570c4880e7b880319ac34d258bf7e60f/npio-0.1.77.tar.gz#sha256=2dec23100af5f3b15fb5c9c798741d7e9e29d872d7318701f03d3e97401b0963 to build tracker '/tmp/pip-req-tracker-q95bwh9k' 2021-07-15T17:43:04,036 Running setup.py (path:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/setup.py) egg_info for package npio 2021-07-15T17:43:04,038 Created temporary directory: /tmp/pip-pip-egg-info-kkxn5x49 2021-07-15T17:43:04,038 Running command python setup.py egg_info 2021-07-15T17:43:05,490 <-> find packages: ['npio'] 2021-07-15T17:43:05,490 <-> find extensions: ['py_pwm.c', 'common.c', 'c_gpio.c', 'py_gpio.c', 'boardtype.c', 'constants.c', 'event_gpio.c', 'soft_pwm.c', 'cpuinfo.c'] 2021-07-15T17:43:05,491 <-> find data files: ['README.md', 'sys_info', 'source/c_gpio.h', 'source/constants.h', 'source/soft_pwm.h', 'source/common.h', 'source/py_pwm.h', 'source/boardtype.h', 'source/py_module_name.h', 'source/cpuinfo.h', 'source/event_gpio.h'] 2021-07-15T17:43:05,491 running egg_info 2021-07-15T17:43:05,492 creating /tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info 2021-07-15T17:43:05,493 writing /tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/PKG-INFO 2021-07-15T17:43:05,495 writing dependency_links to /tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/dependency_links.txt 2021-07-15T17:43:05,498 writing top-level names to /tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/top_level.txt 2021-07-15T17:43:05,499 writing manifest file '/tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/SOURCES.txt' 2021-07-15T17:43:05,905 reading manifest file '/tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/SOURCES.txt' 2021-07-15T17:43:05,910 writing manifest file '/tmp/pip-pip-egg-info-kkxn5x49/npio.egg-info/SOURCES.txt' 2021-07-15T17:43:06,010 Source in /tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658 has version 0.1.77, which satisfies requirement npio==0.1.77 from https://files.pythonhosted.org/packages/b1/00/0a669c5eb2b7b4cede92cd4832a5570c4880e7b880319ac34d258bf7e60f/npio-0.1.77.tar.gz#sha256=2dec23100af5f3b15fb5c9c798741d7e9e29d872d7318701f03d3e97401b0963 2021-07-15T17:43:06,011 Removed npio==0.1.77 from https://files.pythonhosted.org/packages/b1/00/0a669c5eb2b7b4cede92cd4832a5570c4880e7b880319ac34d258bf7e60f/npio-0.1.77.tar.gz#sha256=2dec23100af5f3b15fb5c9c798741d7e9e29d872d7318701f03d3e97401b0963 from build tracker '/tmp/pip-req-tracker-q95bwh9k' 2021-07-15T17:43:06,016 Created temporary directory: /tmp/pip-unpack-4dbw5k28 2021-07-15T17:43:06,017 Building wheels for collected packages: npio 2021-07-15T17:43:06,022 Created temporary directory: /tmp/pip-wheel-nv3yx46n 2021-07-15T17:43:06,022 Building wheel for npio (setup.py): started 2021-07-15T17:43:06,023 Destination directory: /tmp/pip-wheel-nv3yx46n 2021-07-15T17:43:06,023 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/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-nv3yx46n 2021-07-15T17:43:07,191 <-> find packages: ['npio'] 2021-07-15T17:43:07,192 <-> find extensions: ['py_pwm.c', 'common.c', 'c_gpio.c', 'py_gpio.c', 'boardtype.c', 'constants.c', 'event_gpio.c', 'soft_pwm.c', 'cpuinfo.c'] 2021-07-15T17:43:07,192 <-> find data files: ['README.md', 'sys_info', 'source/c_gpio.h', 'source/constants.h', 'source/soft_pwm.h', 'source/common.h', 'source/py_pwm.h', 'source/boardtype.h', 'source/py_module_name.h', 'source/cpuinfo.h', 'source/event_gpio.h'] 2021-07-15T17:43:07,423 running bdist_wheel 2021-07-15T17:43:07,604 running build 2021-07-15T17:43:07,605 running build_py 2021-07-15T17:43:07,754 creating build 2021-07-15T17:43:07,754 creating build/lib.linux-armv7l-3.9 2021-07-15T17:43:07,755 creating build/lib.linux-armv7l-3.9/npio 2021-07-15T17:43:07,756 copying npio/__init__.py -> build/lib.linux-armv7l-3.9/npio 2021-07-15T17:43:07,758 running build_ext 2021-07-15T17:43:07,764 building '_npio' extension 2021-07-15T17:43:07,764 creating build/temp.linux-armv7l-3.9 2021-07-15T17:43:07,765 creating build/temp.linux-armv7l-3.9/source 2021-07-15T17:43:07,766 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 source/boardtype.c -o build/temp.linux-armv7l-3.9/source/boardtype.o 2021-07-15T17:43:08,501 source/boardtype.c: In function ‘getFieldValueInCpuInfo’: 2021-07-15T17:43:08,502 source/boardtype.c:132:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-15T17:43:08,503 132 | for (i = 0; i < strlen(lineUntrim); i++) { 2021-07-15T17:43:08,503 | ^ 2021-07-15T17:43:08,504 source/boardtype.c:145:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,504 145 | if (p = strtok(line, ":")) { 2021-07-15T17:43:08,505 | ^ 2021-07-15T17:43:08,505 source/boardtype.c:147:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,505 147 | if (p = strtok(0, ":")) { 2021-07-15T17:43:08,505 | ^ 2021-07-15T17:43:08,523 source/boardtype.c:158:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,524 158 | if (p2 = strtok(line, ":")) { 2021-07-15T17:43:08,524 | ^~ 2021-07-15T17:43:08,525 source/boardtype.c:160:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,525 160 | if (p2 = strtok(0, ":")) { 2021-07-15T17:43:08,526 | ^~ 2021-07-15T17:43:08,526 source/boardtype.c: In function ‘getAllwinnerBoardID’: 2021-07-15T17:43:08,527 source/boardtype.c:204:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-15T17:43:08,527 204 | for (i = 0; i < strlen(lineUntrim); i++) { 2021-07-15T17:43:08,528 | ^ 2021-07-15T17:43:08,528 source/boardtype.c:215:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,529 215 | if (p = strtok(line, ":")) { 2021-07-15T17:43:08,529 | ^ 2021-07-15T17:43:08,530 source/boardtype.c:218:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,530 218 | if (p = strtok(0, ":")) { 2021-07-15T17:43:08,531 | ^ 2021-07-15T17:43:08,531 source/boardtype.c:189:45: warning: unused variable ‘p2’ [-Wunused-variable] 2021-07-15T17:43:08,532 189 | char lineUntrim[1024], line[1024], *p, *p2; 2021-07-15T17:43:08,533 | ^~ 2021-07-15T17:43:08,533 source/boardtype.c: In function ‘getBoardDisplayName’: 2021-07-15T17:43:08,534 source/boardtype.c:294:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-15T17:43:08,534 294 | for (i = 0; i < strlen(lineNoSpaces); i++) { 2021-07-15T17:43:08,534 | ^ 2021-07-15T17:43:08,535 source/boardtype.c:305:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,535 305 | if (p = strtok(line, "=")) { 2021-07-15T17:43:08,536 | ^ 2021-07-15T17:43:08,536 source/boardtype.c:308:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2021-07-15T17:43:08,537 308 | if (p = strtok(0, "=")) { 2021-07-15T17:43:08,538 | ^ 2021-07-15T17:43:08,540 source/boardtype.c:272:60: warning: unused variable ‘p2’ [-Wunused-variable] 2021-07-15T17:43:08,541 272 | char lineUntrim[1024], line[1024], *lineNoSpaces, *p, *p2; 2021-07-15T17:43:08,542 | ^~ 2021-07-15T17:43:08,544 source/boardtype.c: In function ‘getBoardType’: 2021-07-15T17:43:08,544 source/boardtype.c:363:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-15T17:43:08,545 363 | for (i = 0; i < (sizeof(gAllBoardHardwareInfo) / sizeof(BoardHardwareInfo)); i++) { 2021-07-15T17:43:08,546 | ^ 2021-07-15T17:43:08,548 source/boardtype.c:385:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-15T17:43:08,549 385 | for (i = 0; i < (sizeof(gAllBoardHardwareInfo) / sizeof(BoardHardwareInfo)); i++) { 2021-07-15T17:43:08,549 | ^ 2021-07-15T17:43:08,551 source/boardtype.c:401:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-15T17:43:08,551 401 | for (i = 0; i < (sizeof(gAllBoardHardwareInfo) / sizeof(BoardHardwareInfo)); i++) { 2021-07-15T17:43:08,551 | ^ 2021-07-15T17:43:08,552 source/boardtype.c:428:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2021-07-15T17:43:08,553 428 | for (i = 0; i < (sizeof(gAllBoardHardwareInfo) / sizeof(BoardHardwareInfo)); i++) { 2021-07-15T17:43:08,553 | ^ 2021-07-15T17:43:09,186 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 source/c_gpio.c -o build/temp.linux-armv7l-3.9/source/c_gpio.o 2021-07-15T17:43:09,749 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 source/common.c -o build/temp.linux-armv7l-3.9/source/common.o 2021-07-15T17:43:10,495 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 source/constants.c -o build/temp.linux-armv7l-3.9/source/constants.o 2021-07-15T17:43:10,991 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 source/cpuinfo.c -o build/temp.linux-armv7l-3.9/source/cpuinfo.o 2021-07-15T17:43:11,109 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 source/event_gpio.c -o build/temp.linux-armv7l-3.9/source/event_gpio.o 2021-07-15T17:43:11,279 source/event_gpio.c: In function ‘gpio_export’: 2021-07-15T17:43:11,279 source/event_gpio.c:77:14: warning: assignment to ‘int’ from ‘FILE *’ makes integer from pointer without a cast [-Wint-conversion] 2021-07-15T17:43:11,279 77 | if ( (fd = fopen(fName, "w")) == NULL ) { 2021-07-15T17:43:11,280 | ^ 2021-07-15T17:43:11,280 source/event_gpio.c:77:35: warning: comparison between pointer and integer 2021-07-15T17:43:11,280 77 | if ( (fd = fopen(fName, "w")) == NULL ) { 2021-07-15T17:43:11,280 | ^~ 2021-07-15T17:43:11,280 source/event_gpio.c:81:13: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-15T17:43:11,280 81 | fprintf(fd, "%d\n", gpio); 2021-07-15T17:43:11,281 | ^~ 2021-07-15T17:43:11,281 | | 2021-07-15T17:43:11,281 | int 2021-07-15T17:43:11,281 In file included from /usr/include/stdio.h:867, 2021-07-15T17:43:11,281 from source/event_gpio.c:25: 2021-07-15T17:43:11,281 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:98:27: note: expected ‘FILE * restrict’ but argument is of type ‘int’ 2021-07-15T17:43:11,282 98 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) 2021-07-15T17:43:11,282 | ~~~~~~~~~~~~~~~~~^~~~~~~~ 2021-07-15T17:43:11,282 source/event_gpio.c:82:12: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-15T17:43:11,282 82 | fclose(fd); 2021-07-15T17:43:11,282 | ^~ 2021-07-15T17:43:11,282 | | 2021-07-15T17:43:11,283 | int 2021-07-15T17:43:11,283 In file included from source/event_gpio.c:25: 2021-07-15T17:43:11,283 /usr/include/stdio.h:213:26: note: expected ‘FILE *’ but argument is of type ‘int’ 2021-07-15T17:43:11,283 213 | extern int fclose (FILE *__stream); 2021-07-15T17:43:11,283 | ~~~~~~^~~~~~~~ 2021-07-15T17:43:11,283 source/event_gpio.c:70:13: warning: unused variable ‘len’ [-Wunused-variable] 2021-07-15T17:43:11,283 70 | int fd, len; 2021-07-15T17:43:11,284 | ^~~ 2021-07-15T17:43:11,284 source/event_gpio.c: In function ‘gpio_unexport’: 2021-07-15T17:43:11,284 source/event_gpio.c:95:13: warning: assignment to ‘int’ from ‘FILE *’ makes integer from pointer without a cast [-Wint-conversion] 2021-07-15T17:43:11,284 95 | if ((fd = fopen(fName, "w")) == NULL) { 2021-07-15T17:43:11,284 | ^ 2021-07-15T17:43:11,284 source/event_gpio.c:95:34: warning: comparison between pointer and integer 2021-07-15T17:43:11,284 95 | if ((fd = fopen(fName, "w")) == NULL) { 2021-07-15T17:43:11,285 | ^~ 2021-07-15T17:43:11,285 source/event_gpio.c:99:13: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-15T17:43:11,285 99 | fprintf(fd, "%d\n", gpio); 2021-07-15T17:43:11,285 | ^~ 2021-07-15T17:43:11,285 | | 2021-07-15T17:43:11,285 | int 2021-07-15T17:43:11,285 In file included from /usr/include/stdio.h:867, 2021-07-15T17:43:11,286 from source/event_gpio.c:25: 2021-07-15T17:43:11,286 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:98:27: note: expected ‘FILE * restrict’ but argument is of type ‘int’ 2021-07-15T17:43:11,286 98 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) 2021-07-15T17:43:11,286 | ~~~~~~~~~~~~~~~~~^~~~~~~~ 2021-07-15T17:43:11,287 source/event_gpio.c:100:12: warning: passing argument 1 of ‘fclose’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-15T17:43:11,287 100 | fclose(fd); 2021-07-15T17:43:11,287 | ^~ 2021-07-15T17:43:11,288 | | 2021-07-15T17:43:11,288 | int 2021-07-15T17:43:11,288 In file included from source/event_gpio.c:25: 2021-07-15T17:43:11,289 /usr/include/stdio.h:213:26: note: expected ‘FILE *’ but argument is of type ‘int’ 2021-07-15T17:43:11,289 213 | extern int fclose (FILE *__stream); 2021-07-15T17:43:11,289 | ~~~~~~^~~~~~~~ 2021-07-15T17:43:11,290 source/event_gpio.c: In function ‘gpio_set_direction’: 2021-07-15T17:43:11,290 source/event_gpio.c:114:13: warning: assignment to ‘int’ from ‘FILE *’ makes integer from pointer without a cast [-Wint-conversion] 2021-07-15T17:43:11,290 114 | if ((fd = fopen (fName, "w")) == NULL) { 2021-07-15T17:43:11,290 | ^ 2021-07-15T17:43:11,291 source/event_gpio.c:114:35: warning: comparison between pointer and integer 2021-07-15T17:43:11,292 114 | if ((fd = fopen (fName, "w")) == NULL) { 2021-07-15T17:43:11,292 | ^~ 2021-07-15T17:43:11,817 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 source/py_gpio.c -o build/temp.linux-armv7l-3.9/source/py_gpio.o 2021-07-15T17:43:12,208 source/py_gpio.c: In function ‘PyInit__npio’: 2021-07-15T17:43:12,208 source/py_gpio.c:726:5: warning: ‘PyEval_ThreadsInitialized’ is deprecated [-Wdeprecated-declarations] 2021-07-15T17:43:12,209 726 | if (!PyEval_ThreadsInitialized()) 2021-07-15T17:43:12,209 | ^~ 2021-07-15T17:43:12,209 In file included from /usr/include/python3.9/Python.h:145, 2021-07-15T17:43:12,210 from source/py_gpio.c:23: 2021-07-15T17:43:12,211 /usr/include/python3.9/ceval.h:129:36: note: declared here 2021-07-15T17:43:12,212 129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); 2021-07-15T17:43:12,213 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-15T17:43:12,214 source/py_gpio.c:727:9: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 2021-07-15T17:43:12,214 727 | PyEval_InitThreads(); 2021-07-15T17:43:12,214 | ^~~~~~~~~~~~~~~~~~ 2021-07-15T17:43:12,215 In file included from /usr/include/python3.9/Python.h:145, 2021-07-15T17:43:12,215 from source/py_gpio.c:23: 2021-07-15T17:43:12,215 /usr/include/python3.9/ceval.h:130:37: note: declared here 2021-07-15T17:43:12,215 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2021-07-15T17:43:12,216 | ^~~~~~~~~~~~~~~~~~ 2021-07-15T17:43:12,791 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 source/py_pwm.c -o build/temp.linux-armv7l-3.9/source/py_pwm.o 2021-07-15T17:43:13,356 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 source/soft_pwm.c -o build/temp.linux-armv7l-3.9/source/soft_pwm.o 2021-07-15T17:43:13,645 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -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 build/temp.linux-armv7l-3.9/source/boardtype.o build/temp.linux-armv7l-3.9/source/c_gpio.o build/temp.linux-armv7l-3.9/source/common.o build/temp.linux-armv7l-3.9/source/constants.o build/temp.linux-armv7l-3.9/source/cpuinfo.o build/temp.linux-armv7l-3.9/source/event_gpio.o build/temp.linux-armv7l-3.9/source/py_gpio.o build/temp.linux-armv7l-3.9/source/py_pwm.o build/temp.linux-armv7l-3.9/source/soft_pwm.o -o build/lib.linux-armv7l-3.9/_npio.cpython-39-arm-linux-gnueabihf.so 2021-07-15T17:43:13,680 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: first defined here 2021-07-15T17:43:13,680 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: first defined here 2021-07-15T17:43:13,681 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: multiple definition of `revision'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: first defined here 2021-07-15T17:43:13,681 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: first defined here 2021-07-15T17:43:13,684 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: first defined here 2021-07-15T17:43:13,685 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: first defined here 2021-07-15T17:43:13,685 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: multiple definition of `revision'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: first defined here 2021-07-15T17:43:13,685 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: first defined here 2021-07-15T17:43:13,688 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: first defined here 2021-07-15T17:43:13,689 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: first defined here 2021-07-15T17:43:13,689 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: first defined here 2021-07-15T17:43:13,689 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: multiple definition of `revision'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: first defined here 2021-07-15T17:43:13,689 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:43: multiple definition of `both_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:43: first defined here 2021-07-15T17:43:13,690 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:42: multiple definition of `falling_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:42: first defined here 2021-07-15T17:43:13,690 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:41: multiple definition of `rising_edge'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:41: first defined here 2021-07-15T17:43:13,691 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:40: multiple definition of `pud_down'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:40: first defined here 2021-07-15T17:43:13,691 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:39: multiple definition of `pud_up'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:39: first defined here 2021-07-15T17:43:13,691 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:38: multiple definition of `pud_off'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:38: first defined here 2021-07-15T17:43:13,692 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:37: multiple definition of `raw'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:37: first defined here 2021-07-15T17:43:13,692 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:36: multiple definition of `bcm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:36: first defined here 2021-07-15T17:43:13,692 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:35: multiple definition of `board'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:35: first defined here 2021-07-15T17:43:13,692 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:34: multiple definition of `unknown'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:34: first defined here 2021-07-15T17:43:13,693 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:33: multiple definition of `spi'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:33: first defined here 2021-07-15T17:43:13,693 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:32: multiple definition of `i2c'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:32: first defined here 2021-07-15T17:43:13,693 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:31: multiple definition of `serial'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:31: first defined here 2021-07-15T17:43:13,694 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:30: multiple definition of `pwm'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:30: first defined here 2021-07-15T17:43:13,694 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:29: multiple definition of `output'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:29: first defined here 2021-07-15T17:43:13,694 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:28: multiple definition of `input'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:28: first defined here 2021-07-15T17:43:13,695 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:27: multiple definition of `low'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:27: first defined here 2021-07-15T17:43:13,695 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:26: multiple definition of `high'; build/temp.linux-armv7l-3.9/source/constants.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/constants.h:26: first defined here 2021-07-15T17:43:13,695 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: multiple definition of `gpio_direction'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:41: first defined here 2021-07-15T17:43:13,696 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/py_pwm.h:23: multiple definition of `PWMType'; build/temp.linux-armv7l-3.9/source/py_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/py_pwm.h:23: first defined here 2021-07-15T17:43:13,696 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: multiple definition of `module_setup'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:47: first defined here 2021-07-15T17:43:13,696 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: multiple definition of `setup_error'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:46: first defined here 2021-07-15T17:43:13,697 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/py_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: multiple definition of `revision'; build/temp.linux-armv7l-3.9/source/common.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/common.h:42: first defined here 2021-07-15T17:43:13,697 /usr/bin/ld: build/temp.linux-armv7l-3.9/source/soft_pwm.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/soft_pwm.c:28: multiple definition of `threads'; build/temp.linux-armv7l-3.9/source/event_gpio.o:/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/source/event_gpio.c:60: first defined here 2021-07-15T17:43:13,799 collect2: error: ld returned 1 exit status 2021-07-15T17:43:13,802 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-15T17:43:13,911 Building wheel for npio (setup.py): finished with status 'error' 2021-07-15T17:43:13,912 ERROR: Failed building wheel for npio 2021-07-15T17:43:13,913 Running setup.py clean for npio 2021-07-15T17:43:13,913 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-pm6vte8h/npio_151501173a144716af1e7431376ce658/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-15T17:43:15,034 <-> find packages: ['npio'] 2021-07-15T17:43:15,035 <-> find extensions: ['py_pwm.c', 'common.c', 'c_gpio.c', 'py_gpio.c', 'boardtype.c', 'constants.c', 'event_gpio.c', 'soft_pwm.c', 'cpuinfo.c'] 2021-07-15T17:43:15,035 <-> find data files: ['README.md', 'sys_info', 'source/c_gpio.h', 'source/constants.h', 'source/soft_pwm.h', 'source/common.h', 'source/py_pwm.h', 'source/boardtype.h', 'source/py_module_name.h', 'source/cpuinfo.h', 'source/event_gpio.h'] 2021-07-15T17:43:15,227 running clean 2021-07-15T17:43:15,231 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-15T17:43:15,235 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-15T17:43:15,237 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-15T17:43:15,238 'build/scripts-3.9' does not exist -- can't clean it 2021-07-15T17:43:15,238 removing 'build' 2021-07-15T17:43:15,303 Failed to build npio 2021-07-15T17:43:15,304 ERROR: Failed to build one or more wheels 2021-07-15T17:43:15,305 Exception information: 2021-07-15T17:43:15,305 Traceback (most recent call last): 2021-07-15T17:43:15,305 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-15T17:43:15,305 status = self.run(options, args) 2021-07-15T17:43:15,305 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-15T17:43:15,305 return func(self, options, args) 2021-07-15T17:43:15,305 File "/usr/local/lib/python3.9/dist-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-15T17:43:15,305 raise CommandError( 2021-07-15T17:43:15,305 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-15T17:43:15,309 Removed build tracker: '/tmp/pip-req-tracker-q95bwh9k'