2021-07-13T02:53:03,596 Created temporary directory: /tmp/pip-ephem-wheel-cache-rq08vco_ 2021-07-13T02:53:03,599 Created temporary directory: /tmp/pip-req-tracker-u5j893e0 2021-07-13T02:53:03,600 Initialized build tracking at /tmp/pip-req-tracker-u5j893e0 2021-07-13T02:53:03,600 Created build tracker: /tmp/pip-req-tracker-u5j893e0 2021-07-13T02:53:03,600 Entered build tracker: /tmp/pip-req-tracker-u5j893e0 2021-07-13T02:53:03,601 Created temporary directory: /tmp/pip-wheel-kcc5f9em 2021-07-13T02:53:03,631 1 location(s) to search for versions of sdm: 2021-07-13T02:53:03,631 * https://pypi.org/simple/sdm/ 2021-07-13T02:53:03,632 Fetching project page and analyzing links: https://pypi.org/simple/sdm/ 2021-07-13T02:53:03,632 Getting page https://pypi.org/simple/sdm/ 2021-07-13T02:53:03,634 Found index url https://pypi.org/simple 2021-07-13T02:53:03,819 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:53:03,819 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:53:03,820 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:53:03,820 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:53:03,820 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:53:03,820 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:53:03,821 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:53:03,821 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:53:03,821 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:53:03,821 Skipping link: not a file: https://pypi.org/simple/sdm/ 2021-07-13T02:53:03,840 Given no hashes to check 1 links for project 'sdm': discarding no candidates 2021-07-13T02:53:03,859 Collecting sdm==1.4.0 2021-07-13T02:53:03,861 Created temporary directory: /tmp/pip-unpack-15gopd0e 2021-07-13T02:53:04,047 Downloading sdm-1.4.0.tar.gz (23 kB) 2021-07-13T02:53:04,158 Added sdm==1.4.0 from https://files.pythonhosted.org/packages/44/c2/e4a785d07e2cb475329433a812eaae5cf00f407b1edc6f2779a4d0537033/sdm-1.4.0.tar.gz#sha256=6671cb42500ae6267319c8d1715a09620c819dee3f2f8192450148f8d86ab40b to build tracker '/tmp/pip-req-tracker-u5j893e0' 2021-07-13T02:53:04,159 Running setup.py (path:/tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe/setup.py) egg_info for package sdm 2021-07-13T02:53:04,160 Created temporary directory: /tmp/pip-pip-egg-info-1xajheba 2021-07-13T02:53:04,160 Running command python setup.py egg_info 2021-07-13T02:53:05,275 running egg_info 2021-07-13T02:53:05,277 creating /tmp/pip-pip-egg-info-1xajheba/sdm.egg-info 2021-07-13T02:53:05,279 writing /tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/PKG-INFO 2021-07-13T02:53:05,281 writing dependency_links to /tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/dependency_links.txt 2021-07-13T02:53:05,283 writing top-level names to /tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/top_level.txt 2021-07-13T02:53:05,285 writing manifest file '/tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/SOURCES.txt' 2021-07-13T02:53:05,608 reading manifest file '/tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/SOURCES.txt' 2021-07-13T02:53:05,612 writing manifest file '/tmp/pip-pip-egg-info-1xajheba/sdm.egg-info/SOURCES.txt' 2021-07-13T02:53:05,692 Source in /tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe has version 1.4.0, which satisfies requirement sdm==1.4.0 from https://files.pythonhosted.org/packages/44/c2/e4a785d07e2cb475329433a812eaae5cf00f407b1edc6f2779a4d0537033/sdm-1.4.0.tar.gz#sha256=6671cb42500ae6267319c8d1715a09620c819dee3f2f8192450148f8d86ab40b 2021-07-13T02:53:05,693 Removed sdm==1.4.0 from https://files.pythonhosted.org/packages/44/c2/e4a785d07e2cb475329433a812eaae5cf00f407b1edc6f2779a4d0537033/sdm-1.4.0.tar.gz#sha256=6671cb42500ae6267319c8d1715a09620c819dee3f2f8192450148f8d86ab40b from build tracker '/tmp/pip-req-tracker-u5j893e0' 2021-07-13T02:53:05,697 Created temporary directory: /tmp/pip-unpack-9dn5bssn 2021-07-13T02:53:05,701 Building wheels for collected packages: sdm 2021-07-13T02:53:05,705 Created temporary directory: /tmp/pip-wheel-uzwwjx09 2021-07-13T02:53:05,705 Building wheel for sdm (setup.py): started 2021-07-13T02:53:05,706 Destination directory: /tmp/pip-wheel-uzwwjx09 2021-07-13T02:53:05,706 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe/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-uzwwjx09 2021-07-13T02:53:06,843 running bdist_wheel 2021-07-13T02:53:07,004 running build 2021-07-13T02:53:07,004 running build_py 2021-07-13T02:53:07,146 creating build 2021-07-13T02:53:07,146 creating build/lib.linux-armv7l-3.9 2021-07-13T02:53:07,147 creating build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:53:07,148 copying sdm/__init__.py -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:53:07,151 copying sdm/utils.py -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:53:07,153 copying sdm/scanner_opencl.cl -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:53:07,155 copying sdm/scanner_opencl2.cl -> build/lib.linux-armv7l-3.9/sdm 2021-07-13T02:53:07,158 running build_ext 2021-07-13T02:53:07,163 building 'sdm._libsdm' extension 2021-07-13T02:53:07,163 creating build/temp.linux-armv7l-3.9 2021-07-13T02:53:07,164 creating build/temp.linux-armv7l-3.9/src 2021-07-13T02:53:07,165 creating build/temp.linux-armv7l-3.9/src/lib 2021-07-13T02:53:07,166 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:53:07,298 src/address_space.c: In function ‘as_print_summary’: 2021-07-13T02:53:07,299 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:53:07,299 22 | printf("Allocated bits per bitstring: %ld\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:53:07,299 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:07,299 | | | 2021-07-13T02:53:07,299 | long int unsigned int 2021-07-13T02:53:07,299 | %d 2021-07-13T02:53:07,302 src/address_space.c: In function ‘as_save_b64_file’: 2021-07-13T02:53:07,302 src/address_space.c:135:37: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 2021-07-13T02:53:07,303 135 | fprintf(fp, "Bits-per-Bitstring: %lu\n", this->bs_len * 8 * sizeof(bitstring_t)); 2021-07-13T02:53:07,303 | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:07,303 | | | 2021-07-13T02:53:07,303 | long unsigned int unsigned int 2021-07-13T02:53:07,303 | %u 2021-07-13T02:53:07,306 In file included from src/address_space.c:7: 2021-07-13T02:53:07,306 src/address_space.c: At top level: 2021-07-13T02:53:07,307 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:53:07,307 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:07,307 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:53:07,308 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:53:07,308 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:07,308 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:07,308 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:53:07,308 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:07,308 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:07,603 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:53:07,724 src/bitstring.c: In function ‘bs_init_random’: 2021-07-13T02:53:07,725 src/bitstring.c:80:2: warning: implicit declaration of function ‘arc4random_buf’ [-Wimplicit-function-declaration] 2021-07-13T02:53:07,725 80 | arc4random_buf(bs, sizeof(bitstring_t) * len); 2021-07-13T02:53:07,725 | ^~~~~~~~~~~~~~ 2021-07-13T02:53:07,728 src/bitstring.c: In function ‘bs_average’: 2021-07-13T02:53:07,729 src/bitstring.c:166:9: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:53:07,729 166 | if (arc4random() % 2) { 2021-07-13T02:53:07,729 | ^~~~~~~~~~ 2021-07-13T02:53:07,729 | srandom 2021-07-13T02:53:07,732 src/bitstring.c: In function ‘bs_flip_random_bits’: 2021-07-13T02:53:07,733 src/bitstring.c:259:7: warning: implicit declaration of function ‘arc4random_uniform’ [-Wimplicit-function-declaration] 2021-07-13T02:53:07,733 259 | j = arc4random_uniform(i+1); 2021-07-13T02:53:07,733 | ^~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:08,082 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:53:08,236 src/counter.c: In function ‘save’: 2021-07-13T02:53:08,236 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:53:08,237 72 | fprintf(fp1, "Bytes-per-counter: %lu\n", sizeof(counter_t)); 2021-07-13T02:53:08,237 | ~~^ ~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:08,237 | | | 2021-07-13T02:53:08,237 | | unsigned int 2021-07-13T02:53:08,237 | long unsigned int 2021-07-13T02:53:08,237 | %u 2021-07-13T02:53:08,243 src/counter.c: In function ‘counter_to_bitstring’: 2021-07-13T02:53:08,243 src/counter.c:319:22: warning: implicit declaration of function ‘arc4random’; did you mean ‘srandom’? [-Wimplicit-function-declaration] 2021-07-13T02:53:08,243 319 | bs_set_bit(bs, i, arc4random() % 2); 2021-07-13T02:53:08,244 | ^~~~~~~~~~ 2021-07-13T02:53:08,244 | srandom 2021-07-13T02:53:08,244 In file included from src/counter.c:10: 2021-07-13T02:53:08,245 src/counter.c: At top level: 2021-07-13T02:53:08,245 src/bitstring.h:23:21: warning: inline function ‘bs_distance_naive’ declared but never defined 2021-07-13T02:53:08,245 23 | inline unsigned int bs_distance_naive(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:08,245 | ^~~~~~~~~~~~~~~~~ 2021-07-13T02:53:08,246 src/bitstring.h:22:21: warning: inline function ‘bs_distance_lookup16’ declared but never defined 2021-07-13T02:53:08,246 22 | inline unsigned int bs_distance_lookup16(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:08,246 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:08,246 src/bitstring.h:21:21: warning: inline function ‘bs_distance_popcount’ declared but never defined 2021-07-13T02:53:08,246 21 | inline unsigned int bs_distance_popcount(const bitstring_t *bs1, const bitstring_t *bs2, const unsigned int len); 2021-07-13T02:53:08,246 | ^~~~~~~~~~~~~~~~~~~~ 2021-07-13T02:53:08,617 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:53:08,833 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:53:08,941 In file included from src/operations.h:6, 2021-07-13T02:53:08,942 from src/operations.c:8: 2021-07-13T02:53:08,942 src/scanner_opencl.h:10:10: fatal error: CL/cl.h: No such file or directory 2021-07-13T02:53:08,942 10 | #include 2021-07-13T02:53:08,942 | ^~~~~~~~~ 2021-07-13T02:53:08,942 compilation terminated. 2021-07-13T02:53:08,946 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-13T02:53:09,034 Building wheel for sdm (setup.py): finished with status 'error' 2021-07-13T02:53:09,035 ERROR: Failed building wheel for sdm 2021-07-13T02:53:09,036 Running setup.py clean for sdm 2021-07-13T02:53:09,036 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-kcc5f9em/sdm_a5022c004e5d4b8da5f2602d87054afe/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:53:10,140 running clean 2021-07-13T02:53:10,143 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:53:10,147 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-13T02:53:10,150 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-13T02:53:10,150 'build/scripts-3.9' does not exist -- can't clean it 2021-07-13T02:53:10,151 removing 'build' 2021-07-13T02:53:10,212 Failed to build sdm 2021-07-13T02:53:10,213 ERROR: Failed to build one or more wheels 2021-07-13T02:53:10,214 Exception information: 2021-07-13T02:53:10,214 Traceback (most recent call last): 2021-07-13T02:53:10,214 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-13T02:53:10,214 status = self.run(options, args) 2021-07-13T02:53:10,214 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-13T02:53:10,214 return func(self, options, args) 2021-07-13T02:53:10,214 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-13T02:53:10,214 raise CommandError( 2021-07-13T02:53:10,214 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-13T02:53:10,217 Removed build tracker: '/tmp/pip-req-tracker-u5j893e0'