2021-07-13T02:27:34,920 Created temporary directory: /tmp/pip-ephem-wheel-cache-8bjkm2xy 2021-07-13T02:27:34,923 Created temporary directory: /tmp/pip-req-tracker-4xw1pzni 2021-07-13T02:27:34,924 Initialized build tracking at /tmp/pip-req-tracker-4xw1pzni 2021-07-13T02:27:34,924 Created build tracker: /tmp/pip-req-tracker-4xw1pzni 2021-07-13T02:27:34,924 Entered build tracker: /tmp/pip-req-tracker-4xw1pzni 2021-07-13T02:27:34,925 Created temporary directory: /tmp/pip-wheel-aywqm3li 2021-07-13T02:27:34,955 1 location(s) to search for versions of sdm: 2021-07-13T02:27:34,955 * https://pypi.org/simple/sdm/ 2021-07-13T02:27:34,956 Fetching project page and analyzing links: https://pypi.org/simple/sdm/ 2021-07-13T02:27:34,957 Getting page https://pypi.org/simple/sdm/ 2021-07-13T02:27:34,958 Found index url https://pypi.org/simple 2021-07-13T02:27:35,052 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:27:35,053 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:27:35,053 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:27:35,053 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:27:35,054 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:27:35,054 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:27:35,054 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:27:35,055 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:27:35,055 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:27:35,055 Skipping link: not a file: https://pypi.org/simple/sdm/ 2021-07-13T02:27:35,074 Given no hashes to check 1 links for project 'sdm': discarding no candidates 2021-07-13T02:27:35,093 Collecting sdm==1.2.0 2021-07-13T02:27:35,095 Created temporary directory: /tmp/pip-unpack-v1vxvrf8 2021-07-13T02:27:35,278 Downloading sdm-1.2.0.tar.gz (19 kB) 2021-07-13T02:27:35,359 Added sdm==1.2.0 from https://files.pythonhosted.org/packages/63/11/745b79fd9463ab9c9eae4bcff9a71c219787f9add6a041be105274412ea5/sdm-1.2.0.tar.gz#sha256=4519d7ae5636af0100fbd4ba1eceba24bd28f1e5d493f66ae71e2260ed6ee259 to build tracker '/tmp/pip-req-tracker-4xw1pzni' 2021-07-13T02:27:35,360 Running setup.py (path:/tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267/setup.py) egg_info for package sdm 2021-07-13T02:27:35,361 Created temporary directory: /tmp/pip-pip-egg-info-9k21wziv 2021-07-13T02:27:35,362 Running command python setup.py egg_info 2021-07-13T02:27:36,463 running egg_info 2021-07-13T02:27:36,465 creating /tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info 2021-07-13T02:27:36,466 writing /tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/PKG-INFO 2021-07-13T02:27:36,468 writing dependency_links to /tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/dependency_links.txt 2021-07-13T02:27:36,471 writing top-level names to /tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/top_level.txt 2021-07-13T02:27:36,472 writing manifest file '/tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/SOURCES.txt' 2021-07-13T02:27:36,797 reading manifest file '/tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/SOURCES.txt' 2021-07-13T02:27:36,800 writing manifest file '/tmp/pip-pip-egg-info-9k21wziv/sdm.egg-info/SOURCES.txt' 2021-07-13T02:27:36,877 Source in /tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267 has version 1.2.0, which satisfies requirement sdm==1.2.0 from https://files.pythonhosted.org/packages/63/11/745b79fd9463ab9c9eae4bcff9a71c219787f9add6a041be105274412ea5/sdm-1.2.0.tar.gz#sha256=4519d7ae5636af0100fbd4ba1eceba24bd28f1e5d493f66ae71e2260ed6ee259 2021-07-13T02:27:36,878 Removed sdm==1.2.0 from https://files.pythonhosted.org/packages/63/11/745b79fd9463ab9c9eae4bcff9a71c219787f9add6a041be105274412ea5/sdm-1.2.0.tar.gz#sha256=4519d7ae5636af0100fbd4ba1eceba24bd28f1e5d493f66ae71e2260ed6ee259 from build tracker '/tmp/pip-req-tracker-4xw1pzni' 2021-07-13T02:27:36,882 Created temporary directory: /tmp/pip-unpack-2k05jn90 2021-07-13T02:27:36,883 Building wheels for collected packages: sdm 2021-07-13T02:27:36,887 Created temporary directory: /tmp/pip-wheel-91t9gvkw 2021-07-13T02:27:36,887 Building wheel for sdm (setup.py): started 2021-07-13T02:27:36,888 Destination directory: /tmp/pip-wheel-91t9gvkw 2021-07-13T02:27:36,888 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267/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-91t9gvkw 2021-07-13T02:27:38,015 running bdist_wheel 2021-07-13T02:27:38,175 running build 2021-07-13T02:27:38,176 running build_py 2021-07-13T02:27:38,315 creating build 2021-07-13T02:27:38,315 creating build/lib.linux-armv7l-3.9 2021-07-13T02:27:38,316 creating build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:27:38,317 copying sdm/__init__.py -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:27:38,320 copying sdm/scanner_opencl.cl -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:27:38,322 running build_ext 2021-07-13T02:27:38,328 building 'sdm._libsdm' extension 2021-07-13T02:27:38,329 creating build/temp.linux-armv7l-3.9 2021-07-13T02:27:38,329 creating build/temp.linux-armv7l-3.9/src 2021-07-13T02:27:38,331 creating build/temp.linux-armv7l-3.9/src/lib 2021-07-13T02:27:38,331 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:27:38,451 src/address_space.c: In function ‘as_print_summary’: 2021-07-13T02:27:38,452 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:27:38,452 22 | printf("Allocated bits per bitstring: %ld\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:27:38,452 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:38,452 | | | 2021-07-13T02:27:38,452 | long int unsigned int 2021-07-13T02:27:38,452 | %d 2021-07-13T02:27:38,454 src/address_space.c: In function ‘as_save_b64_file’: 2021-07-13T02:27:38,454 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:27:38,454 124 | fprintf(fp, "Bits-per-Bitstring: %lu\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:27:38,454 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:38,454 | | | 2021-07-13T02:27:38,454 | long unsigned int unsigned int 2021-07-13T02:27:38,455 | %u 2021-07-13T02:27:38,456 In file included from src/address_space.c:7: 2021-07-13T02:27:38,456 src/address_space.c: At top level: 2021-07-13T02:27:38,457 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:27:38,457 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:38,457 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:27:38,457 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:27:38,458 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:38,458 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:38,458 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:27:38,458 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:38,458 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:38,732 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:27:38,848 src/bitstring.c: In function ‘bs_init_random’: 2021-07-13T02:27:38,849 src/bitstring.c:80:2: warning: implicit declaration of function ‘arc4random_buf’ [-Wimplicit-function-declaration] 2021-07-13T02:27:38,849 80 | arc4random_buf(bs, sizeof(bitstring_t) * len); 2021-07-13T02:27:38,849 | ^~~~~~~~~~~~~~ 2021-07-13T02:27:38,852 src/bitstring.c: In function ‘bs_average’: 2021-07-13T02:27:38,852 src/bitstring.c:166:9: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:27:38,852 166 | if (arc4random() % 2) { 2021-07-13T02:27:38,852 | ^~~~~~~~~~ 2021-07-13T02:27:38,852 | srandom 2021-07-13T02:27:38,855 src/bitstring.c: In function ‘bs_flip_random_bits’: 2021-07-13T02:27:38,855 src/bitstring.c:259:7: warning: implicit declaration of function ‘arc4random_uniform’ [-Wimplicit-function-declaration] 2021-07-13T02:27:38,855 259 | j = arc4random_uniform(i+1); 2021-07-13T02:27:38,855 | ^~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:39,205 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:27:39,359 src/counter.c: In function ‘counter_create_file’: 2021-07-13T02:27:39,360 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:27:39,360 72 | fprintf(fp1, "Bytes-per-counter: %lu\n", sizeof(counter_t)); 2021-07-13T02:27:39,360 | ~~^ ~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:39,360 | | | 2021-07-13T02:27:39,360 | | unsigned int 2021-07-13T02:27:39,361 | long unsigned int 2021-07-13T02:27:39,361 | %u 2021-07-13T02:27:39,366 src/counter.c: In function ‘counter_to_bitstring’: 2021-07-13T02:27:39,367 src/counter.c:254:22: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:27:39,367 254 | bs_set_bit(bs, i, arc4random() % 2); 2021-07-13T02:27:39,367 | ^~~~~~~~~~ 2021-07-13T02:27:39,367 | srandom 2021-07-13T02:27:39,368 In file included from src/counter.c:10: 2021-07-13T02:27:39,368 src/counter.c: At top level: 2021-07-13T02:27:39,369 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:27:39,369 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:39,369 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:27:39,370 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:27:39,370 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:39,370 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:39,370 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:27:39,370 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:27:39,370 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:27:39,676 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:27:39,890 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:27:40,002 In file included from src/operations.h:6, 2021-07-13T02:27:40,002 from src/operations.c:7: 2021-07-13T02:27:40,002 src/scanner_opencl.h:10:10: fatal error: CL/cl.h: No such file or directory 2021-07-13T02:27:40,002 10 | #include 2021-07-13T02:27:40,002 | ^~~~~~~~~ 2021-07-13T02:27:40,003 compilation terminated. 2021-07-13T02:27:40,007 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-13T02:27:40,093 Building wheel for sdm (setup.py): finished with status 'error' 2021-07-13T02:27:40,094 ERROR: Failed building wheel for sdm 2021-07-13T02:27:40,094 Running setup.py clean for sdm 2021-07-13T02:27:40,095 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-aywqm3li/sdm_51bbb026bbdb4a629c4056d6393d3267/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:27:41,195 running clean 2021-07-13T02:27:41,198 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:27:41,201 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:27:41,204 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-13T02:27:41,204 'build/scripts-3.9' does not exist -- can't clean it 2021-07-13T02:27:41,204 removing 'build' 2021-07-13T02:27:41,264 Failed to build sdm 2021-07-13T02:27:41,265 ERROR: Failed to build one or more wheels 2021-07-13T02:27:41,265 Exception information: 2021-07-13T02:27:41,265 Traceback (most recent call last): 2021-07-13T02:27:41,265 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-13T02:27:41,265 status = self.run(options, args) 2021-07-13T02:27:41,265 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-13T02:27:41,265 return func(self, options, args) 2021-07-13T02:27:41,265 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-13T02:27:41,265 raise CommandError( 2021-07-13T02:27:41,265 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-13T02:27:41,268 Removed build tracker: '/tmp/pip-req-tracker-4xw1pzni'