2021-07-13T02:23:31,460 Created temporary directory: /tmp/pip-ephem-wheel-cache-gqu3uhkk 2021-07-13T02:23:31,463 Created temporary directory: /tmp/pip-req-tracker-0pn0uvnc 2021-07-13T02:23:31,463 Initialized build tracking at /tmp/pip-req-tracker-0pn0uvnc 2021-07-13T02:23:31,464 Created build tracker: /tmp/pip-req-tracker-0pn0uvnc 2021-07-13T02:23:31,464 Entered build tracker: /tmp/pip-req-tracker-0pn0uvnc 2021-07-13T02:23:31,464 Created temporary directory: /tmp/pip-wheel-3v87ksva 2021-07-13T02:23:31,493 1 location(s) to search for versions of sdm: 2021-07-13T02:23:31,493 * https://pypi.org/simple/sdm/ 2021-07-13T02:23:31,494 Fetching project page and analyzing links: https://pypi.org/simple/sdm/ 2021-07-13T02:23:31,494 Getting page https://pypi.org/simple/sdm/ 2021-07-13T02:23:31,496 Found index url https://pypi.org/simple 2021-07-13T02:23:31,586 Found link https://files.pythonhosted.org/packages/6f/43/8d2886e3a1e3ca7c4c04d88ae4180e121a9dbe807303b83e56209a3cda0d/sdm-1.0.0.tar.gz#sha256=dbdc844a3a4d587a257c459c99ef5d9556c4900fbf663d74b98f93a405f39b09 (from https://pypi.org/simple/sdm/), version: 1.0.0 2021-07-13T02:23:31,587 Found link https://files.pythonhosted.org/packages/dc/bd/04aa47a4ba0c9c6777dadd63ea205b1a5b6b94077a19a8c9fff16b181ad8/sdm-1.0.1.tar.gz#sha256=cfc151b1e84396e5b6e1a75689eb8b2ffbe76d66290889799f8febb28e164db3 (from https://pypi.org/simple/sdm/), version: 1.0.1 2021-07-13T02:23:31,587 Found link https://files.pythonhosted.org/packages/1a/28/2afd70b12a53ea5e17df823ac402070353b9c394f3c6ed4b888c65990c01/sdm-1.1.1.tar.gz#sha256=a96e44676f3af18a4c673a2a7bbdc632673e2af474391f2a4360fec57625a4a0 (from https://pypi.org/simple/sdm/), version: 1.1.1 2021-07-13T02:23:31,587 Found link https://files.pythonhosted.org/packages/c8/9c/850277af704831369adf1c2c639ba72f9ba2e7d14d11504748695a4e9b40/sdm-1.1.4.tar.gz#sha256=fc94fec95e8aceb7a3909e462ac69dfe66bc4a7ecdbedb830a3e4b53069baa3b (from https://pypi.org/simple/sdm/), version: 1.1.4 2021-07-13T02:23:31,588 Found link https://files.pythonhosted.org/packages/63/11/745b79fd9463ab9c9eae4bcff9a71c219787f9add6a041be105274412ea5/sdm-1.2.0.tar.gz#sha256=4519d7ae5636af0100fbd4ba1eceba24bd28f1e5d493f66ae71e2260ed6ee259 (from https://pypi.org/simple/sdm/), version: 1.2.0 2021-07-13T02:23:31,588 Found link https://files.pythonhosted.org/packages/3f/68/118add82fc771727f9120240ba7b02d78f06ae45d9bdec5ffe6a8c9092a4/sdm-1.3.0.tar.gz#sha256=0d807fec12ad489069b840cb2d6a18ba1efee22cfa6dffc03eb702f7cc67e14d (from https://pypi.org/simple/sdm/), version: 1.3.0 2021-07-13T02:23:31,588 Found link https://files.pythonhosted.org/packages/44/c2/e4a785d07e2cb475329433a812eaae5cf00f407b1edc6f2779a4d0537033/sdm-1.4.0.tar.gz#sha256=6671cb42500ae6267319c8d1715a09620c819dee3f2f8192450148f8d86ab40b (from https://pypi.org/simple/sdm/), version: 1.4.0 2021-07-13T02:23:31,589 Found link https://files.pythonhosted.org/packages/aa/29/2675968233d83726cebe8fab4f07b071a2e0e68c744742b3e1f4ecd35b0d/sdm-1.5.0.tar.gz#sha256=2173511dbd0ea47fa0f5517d6b8fe15338e82001cc30e6368d1bca18871486ee (from https://pypi.org/simple/sdm/), version: 1.5.0 2021-07-13T02:23:31,589 Found link https://files.pythonhosted.org/packages/de/ad/1e274ab5bc498a2eee3fd7389f1a3f4c9b058b18036590b763db14694880/sdm-1.6.0.tar.gz#sha256=a5aef5d88e5748d74c083b20a04c7c428b309c4ea1087a55e75fed12d6fda7c2 (from https://pypi.org/simple/sdm/), version: 1.6.0 2021-07-13T02:23:31,589 Skipping link: not a file: https://pypi.org/simple/sdm/ 2021-07-13T02:23:31,608 Given no hashes to check 1 links for project 'sdm': discarding no candidates 2021-07-13T02:23:31,626 Collecting sdm==1.1.4 2021-07-13T02:23:31,628 Created temporary directory: /tmp/pip-unpack-5flhlfpp 2021-07-13T02:23:31,798 Downloading sdm-1.1.4.tar.gz (19 kB) 2021-07-13T02:23:31,885 Added sdm==1.1.4 from https://files.pythonhosted.org/packages/c8/9c/850277af704831369adf1c2c639ba72f9ba2e7d14d11504748695a4e9b40/sdm-1.1.4.tar.gz#sha256=fc94fec95e8aceb7a3909e462ac69dfe66bc4a7ecdbedb830a3e4b53069baa3b to build tracker '/tmp/pip-req-tracker-0pn0uvnc' 2021-07-13T02:23:31,886 Running setup.py (path:/tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666/setup.py) egg_info for package sdm 2021-07-13T02:23:31,887 Created temporary directory: /tmp/pip-pip-egg-info-gtq9begt 2021-07-13T02:23:31,888 Running command python setup.py egg_info 2021-07-13T02:23:32,958 running egg_info 2021-07-13T02:23:32,960 creating /tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info 2021-07-13T02:23:32,961 writing /tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/PKG-INFO 2021-07-13T02:23:32,963 writing dependency_links to /tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/dependency_links.txt 2021-07-13T02:23:32,965 writing top-level names to /tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/top_level.txt 2021-07-13T02:23:32,967 writing manifest file '/tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/SOURCES.txt' 2021-07-13T02:23:33,280 reading manifest file '/tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/SOURCES.txt' 2021-07-13T02:23:33,283 writing manifest file '/tmp/pip-pip-egg-info-gtq9begt/sdm.egg-info/SOURCES.txt' 2021-07-13T02:23:33,360 Source in /tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666 has version 1.1.4, which satisfies requirement sdm==1.1.4 from https://files.pythonhosted.org/packages/c8/9c/850277af704831369adf1c2c639ba72f9ba2e7d14d11504748695a4e9b40/sdm-1.1.4.tar.gz#sha256=fc94fec95e8aceb7a3909e462ac69dfe66bc4a7ecdbedb830a3e4b53069baa3b 2021-07-13T02:23:33,361 Removed sdm==1.1.4 from https://files.pythonhosted.org/packages/c8/9c/850277af704831369adf1c2c639ba72f9ba2e7d14d11504748695a4e9b40/sdm-1.1.4.tar.gz#sha256=fc94fec95e8aceb7a3909e462ac69dfe66bc4a7ecdbedb830a3e4b53069baa3b from build tracker '/tmp/pip-req-tracker-0pn0uvnc' 2021-07-13T02:23:33,365 Created temporary directory: /tmp/pip-unpack-84utzbgv 2021-07-13T02:23:33,366 Building wheels for collected packages: sdm 2021-07-13T02:23:33,369 Created temporary directory: /tmp/pip-wheel-sybd0z2f 2021-07-13T02:23:33,370 Building wheel for sdm (setup.py): started 2021-07-13T02:23:33,370 Destination directory: /tmp/pip-wheel-sybd0z2f 2021-07-13T02:23:33,370 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666/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-sybd0z2f 2021-07-13T02:23:34,461 running bdist_wheel 2021-07-13T02:23:34,616 running build 2021-07-13T02:23:34,616 running build_py 2021-07-13T02:23:34,755 creating build 2021-07-13T02:23:34,756 creating build/lib.linux-armv7l-3.9 2021-07-13T02:23:34,756 creating build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:23:34,757 copying sdm/__init__.py -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:23:34,760 copying sdm/scanner_opencl.cl -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:23:34,762 running build_ext 2021-07-13T02:23:34,768 building 'sdm._libsdm' extension 2021-07-13T02:23:34,768 creating build/temp.linux-armv7l-3.9 2021-07-13T02:23:34,768 creating build/temp.linux-armv7l-3.9/src 2021-07-13T02:23:34,770 creating build/temp.linux-armv7l-3.9/src/lib 2021-07-13T02:23:34,770 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 -DSDM_USE_BITCOUNT_TABLE -DSDM_ENABLE_OPENCL -DOS_LINUX -I/usr/include/python3.9 -c src/address_space.c -o build/temp.linux-armv7l-3.9/src/address_space.o 2021-07-13T02:23:34,906 src/address_space.c: In function ‘as_print_summary’: 2021-07-13T02:23:34,906 src/address_space.c:22:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] 2021-07-13T02:23:34,906 22 | printf("Allocated bits per bitstring: %ld\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:23:34,906 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:34,907 | | | 2021-07-13T02:23:34,907 | long int unsigned int 2021-07-13T02:23:34,907 | %d 2021-07-13T02:23:34,908 src/address_space.c: In function ‘as_save_b64_file’: 2021-07-13T02:23:34,908 src/address_space.c:124:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 2021-07-13T02:23:34,909 124 | fprintf(fp, "Bits-per-Bitstring: %lu\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:23:34,909 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:34,909 | | | 2021-07-13T02:23:34,909 | long unsigned int unsigned int 2021-07-13T02:23:34,909 | %u 2021-07-13T02:23:34,911 In file included from src/address_space.c:7: 2021-07-13T02:23:34,911 src/address_space.c: At top level: 2021-07-13T02:23:34,912 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:23:34,912 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:34,912 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:23:34,912 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:23:34,912 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:34,913 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:34,913 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:23:34,913 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:34,913 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:35,185 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 -DSDM_USE_BITCOUNT_TABLE -DSDM_ENABLE_OPENCL -DOS_LINUX -I/usr/include/python3.9 -c src/bitstring.c -o build/temp.linux-armv7l-3.9/src/bitstring.o 2021-07-13T02:23:35,304 src/bitstring.c: In function ‘bs_init_random’: 2021-07-13T02:23:35,304 src/bitstring.c:80:2: warning: implicit declaration of function ‘arc4random_buf’ [-Wimplicit-function-declaration] 2021-07-13T02:23:35,304 80 | arc4random_buf(bs, sizeof(bitstring_t) * len); 2021-07-13T02:23:35,304 | ^~~~~~~~~~~~~~ 2021-07-13T02:23:35,307 src/bitstring.c: In function ‘bs_average’: 2021-07-13T02:23:35,307 src/bitstring.c:166:9: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:23:35,307 166 | if (arc4random() % 2) { 2021-07-13T02:23:35,307 | ^~~~~~~~~~ 2021-07-13T02:23:35,307 | srandom 2021-07-13T02:23:35,309 src/bitstring.c: In function ‘bs_flip_random_bits’: 2021-07-13T02:23:35,310 src/bitstring.c:259:7: warning: implicit declaration of function ‘arc4random_uniform’ [-Wimplicit-function-declaration] 2021-07-13T02:23:35,310 259 | j = arc4random_uniform(i+1); 2021-07-13T02:23:35,310 | ^~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:35,655 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 -DSDM_USE_BITCOUNT_TABLE -DSDM_ENABLE_OPENCL -DOS_LINUX -I/usr/include/python3.9 -c src/counter.c -o build/temp.linux-armv7l-3.9/src/counter.o 2021-07-13T02:23:35,808 src/counter.c: In function ‘counter_create_file’: 2021-07-13T02:23:35,808 src/counter.c:72:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 2021-07-13T02:23:35,809 72 | fprintf(fp1, "Bytes-per-counter: %lu\n", sizeof(counter_t)); 2021-07-13T02:23:35,809 | ~~^ ~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:35,809 | | | 2021-07-13T02:23:35,809 | | unsigned int 2021-07-13T02:23:35,809 | long unsigned int 2021-07-13T02:23:35,809 | %u 2021-07-13T02:23:35,814 src/counter.c: In function ‘counter_to_bitstring’: 2021-07-13T02:23:35,815 src/counter.c:254:22: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:23:35,815 254 | bs_set_bit(bs, i, arc4random() % 2); 2021-07-13T02:23:35,815 | ^~~~~~~~~~ 2021-07-13T02:23:35,816 | srandom 2021-07-13T02:23:35,816 In file included from src/counter.c:10: 2021-07-13T02:23:35,817 src/counter.c: At top level: 2021-07-13T02:23:35,817 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:23:35,817 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:35,817 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:23:35,817 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:23:35,817 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:35,817 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:35,818 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:23:35,818 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:23:35,818 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:23:36,151 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 -DSDM_USE_BITCOUNT_TABLE -DSDM_ENABLE_OPENCL -DOS_LINUX -I/usr/include/python3.9 -c src/lib/base64.c -o build/temp.linux-armv7l-3.9/src/lib/base64.o 2021-07-13T02:23:36,374 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 -DSDM_USE_BITCOUNT_TABLE -DSDM_ENABLE_OPENCL -DOS_LINUX -I/usr/include/python3.9 -c src/operations.c -o build/temp.linux-armv7l-3.9/src/operations.o 2021-07-13T02:23:36,480 In file included from src/operations.h:6, 2021-07-13T02:23:36,480 from src/operations.c:7: 2021-07-13T02:23:36,480 src/scanner_opencl.h:10:10: fatal error: CL/cl.h: No such file or directory 2021-07-13T02:23:36,480 10 | #include 2021-07-13T02:23:36,480 | ^~~~~~~~~ 2021-07-13T02:23:36,480 compilation terminated. 2021-07-13T02:23:36,484 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-13T02:23:36,568 Building wheel for sdm (setup.py): finished with status 'error' 2021-07-13T02:23:36,568 ERROR: Failed building wheel for sdm 2021-07-13T02:23:36,569 Running setup.py clean for sdm 2021-07-13T02:23:36,569 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-3v87ksva/sdm_aaec069d687343a4ab090d6d552b1666/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-13T02:23:37,663 running clean 2021-07-13T02:23:37,665 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:23:37,669 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:23:37,671 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-13T02:23:37,671 'build/scripts-3.9' does not exist -- can't clean it 2021-07-13T02:23:37,671 removing 'build' 2021-07-13T02:23:37,731 Failed to build sdm 2021-07-13T02:23:37,731 ERROR: Failed to build one or more wheels 2021-07-13T02:23:37,732 Exception information: 2021-07-13T02:23:37,732 Traceback (most recent call last): 2021-07-13T02:23:37,732 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-13T02:23:37,732 status = self.run(options, args) 2021-07-13T02:23:37,732 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-13T02:23:37,732 return func(self, options, args) 2021-07-13T02:23:37,732 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-13T02:23:37,732 raise CommandError( 2021-07-13T02:23:37,732 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-13T02:23:37,734 Removed build tracker: '/tmp/pip-req-tracker-0pn0uvnc'