2021-07-12T16:14:43,018 Created temporary directory: /tmp/pip-ephem-wheel-cache-rivf8kxk 2021-07-12T16:14:43,021 Created temporary directory: /tmp/pip-req-tracker-2tjrzp50 2021-07-12T16:14:43,022 Initialized build tracking at /tmp/pip-req-tracker-2tjrzp50 2021-07-12T16:14:43,022 Created build tracker: /tmp/pip-req-tracker-2tjrzp50 2021-07-12T16:14:43,022 Entered build tracker: /tmp/pip-req-tracker-2tjrzp50 2021-07-12T16:14:43,023 Created temporary directory: /tmp/pip-wheel-b_93ho07 2021-07-12T16:14:43,052 1 location(s) to search for versions of uefi-firmware: 2021-07-12T16:14:43,052 * https://pypi.org/simple/uefi-firmware/ 2021-07-12T16:14:43,053 Fetching project page and analyzing links: https://pypi.org/simple/uefi-firmware/ 2021-07-12T16:14:43,053 Getting page https://pypi.org/simple/uefi-firmware/ 2021-07-12T16:14:43,055 Found index url https://pypi.org/simple 2021-07-12T16:14:43,235 Found link https://files.pythonhosted.org/packages/d2/4c/0bf30a5d33c9b209da30cb81eb677fbbd8b0518d7009ee49ae45f04c4af2/uefi_firmware-1.1.tar.gz#sha256=5bcfca6fda2f2e14731f2bf8dff39a38611f71187e5fb136496fbd663f33b406 (from https://pypi.org/simple/uefi-firmware/), version: 1.1 2021-07-12T16:14:43,236 Found link https://files.pythonhosted.org/packages/9e/5a/09f1c5cdc0bd8270c64fab1a5c9698df0689421add232503aa62264e2db8/uefi_firmware-1.2.tar.gz#sha256=21d547664877273883e5454dc4118ff7ccdb87984e96daf7195b99ac9828557c (from https://pypi.org/simple/uefi-firmware/), version: 1.2 2021-07-12T16:14:43,236 Found link https://files.pythonhosted.org/packages/5b/42/794565af526517b25a06c44b87611f6c693a2a196810b1a376a07a16776e/uefi_firmware-1.3.tar.gz#sha256=938b80c4efb31d529eb3e276ba5fb95f1807329e71da7ba785097bba17cc0a7a (from https://pypi.org/simple/uefi-firmware/), version: 1.3 2021-07-12T16:14:43,236 Found link https://files.pythonhosted.org/packages/b0/8e/2c3043f59ff8630492abf998b0d8f440cdb72eeda5935618b53eeab6c7fd/uefi_firmware-1.4.tar.gz#sha256=037bf8ece78aaecbf7c5986f1e6d0788a7b8b89ec0b63c1a2e99c62338e4528b (from https://pypi.org/simple/uefi-firmware/), version: 1.4 2021-07-12T16:14:43,237 Found link https://files.pythonhosted.org/packages/9d/cf/4bfe2b207e214bfedc2f57ced8d4742fad2da70ec67db562ab023373daf8/uefi_firmware-1.6.tar.gz#sha256=8c15f0406e8f9ea1b0d1d0e7107199cbaaa996b5cffdc1437789291adb81ce52 (from https://pypi.org/simple/uefi-firmware/), version: 1.6 2021-07-12T16:14:43,237 Found link https://files.pythonhosted.org/packages/ea/e0/d8e060ec233777faab2db6bf060e905b3ddeaa5be172068f5954212372f9/uefi_firmware-1.7.tar.gz#sha256=9957796f0d3823c98397d178c0f8c8043fdce020ae9a87780fac92b3a2c52e8a (from https://pypi.org/simple/uefi-firmware/), version: 1.7 2021-07-12T16:14:43,237 Found link https://files.pythonhosted.org/packages/7e/b4/a4ec646d24a1aad709fdb83de6e5eddd6cb24faec02f3a94a3af3b0aba28/uefi_firmware-1.9.tar.gz#sha256=234119dd92780c67cce3b664e86119c41d0b2af188d7f372b69789b32c5d5cd0 (from https://pypi.org/simple/uefi-firmware/), version: 1.9 2021-07-12T16:14:43,237 Skipping link: not a file: https://pypi.org/simple/uefi-firmware/ 2021-07-12T16:14:43,256 Given no hashes to check 1 links for project 'uefi-firmware': discarding no candidates 2021-07-12T16:14:43,275 Collecting uefi-firmware==1.7 2021-07-12T16:14:43,277 Created temporary directory: /tmp/pip-unpack-db4nbfx_ 2021-07-12T16:14:43,626 Downloading uefi_firmware-1.7.tar.gz (176 kB) 2021-07-12T16:14:43,829 Added uefi-firmware==1.7 from https://files.pythonhosted.org/packages/ea/e0/d8e060ec233777faab2db6bf060e905b3ddeaa5be172068f5954212372f9/uefi_firmware-1.7.tar.gz#sha256=9957796f0d3823c98397d178c0f8c8043fdce020ae9a87780fac92b3a2c52e8a to build tracker '/tmp/pip-req-tracker-2tjrzp50' 2021-07-12T16:14:43,830 Running setup.py (path:/tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c/setup.py) egg_info for package uefi-firmware 2021-07-12T16:14:43,831 Created temporary directory: /tmp/pip-pip-egg-info-gk2qcosy 2021-07-12T16:14:43,831 Running command python setup.py egg_info 2021-07-12T16:14:44,753 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-12T16:14:44,754 warnings.warn( 2021-07-12T16:14:44,864 running egg_info 2021-07-12T16:14:44,867 creating /tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info 2021-07-12T16:14:44,868 writing /tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/PKG-INFO 2021-07-12T16:14:44,870 writing dependency_links to /tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/dependency_links.txt 2021-07-12T16:14:44,873 writing top-level names to /tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/top_level.txt 2021-07-12T16:14:44,874 writing manifest file '/tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/SOURCES.txt' 2021-07-12T16:14:45,197 reading manifest file '/tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/SOURCES.txt' 2021-07-12T16:14:45,199 reading manifest template 'MANIFEST.in' 2021-07-12T16:14:45,205 warning: no files found matching 'uefi_firmware/compression/*/*/*.h' 2021-07-12T16:14:45,213 writing manifest file '/tmp/pip-pip-egg-info-gk2qcosy/uefi_firmware.egg-info/SOURCES.txt' 2021-07-12T16:14:45,290 Source in /tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c has version 1.7, which satisfies requirement uefi-firmware==1.7 from https://files.pythonhosted.org/packages/ea/e0/d8e060ec233777faab2db6bf060e905b3ddeaa5be172068f5954212372f9/uefi_firmware-1.7.tar.gz#sha256=9957796f0d3823c98397d178c0f8c8043fdce020ae9a87780fac92b3a2c52e8a 2021-07-12T16:14:45,291 Removed uefi-firmware==1.7 from https://files.pythonhosted.org/packages/ea/e0/d8e060ec233777faab2db6bf060e905b3ddeaa5be172068f5954212372f9/uefi_firmware-1.7.tar.gz#sha256=9957796f0d3823c98397d178c0f8c8043fdce020ae9a87780fac92b3a2c52e8a from build tracker '/tmp/pip-req-tracker-2tjrzp50' 2021-07-12T16:14:45,295 Created temporary directory: /tmp/pip-unpack-qmutx_rh 2021-07-12T16:14:45,296 Building wheels for collected packages: uefi-firmware 2021-07-12T16:14:45,299 Created temporary directory: /tmp/pip-wheel-cz7t8w3b 2021-07-12T16:14:45,300 Building wheel for uefi-firmware (setup.py): started 2021-07-12T16:14:45,300 Destination directory: /tmp/pip-wheel-cz7t8w3b 2021-07-12T16:14:45,300 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c/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-cz7t8w3b 2021-07-12T16:14:46,241 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-12T16:14:46,242 warnings.warn( 2021-07-12T16:14:46,374 running bdist_wheel 2021-07-12T16:14:46,532 running build 2021-07-12T16:14:46,532 running build_py 2021-07-12T16:14:46,670 creating build 2021-07-12T16:14:46,671 creating build/lib.linux-armv7l-3.9 2021-07-12T16:14:46,671 creating build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,672 copying uefi_firmware/me.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,675 copying uefi_firmware/__init__.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,677 copying uefi_firmware/uefi.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,680 copying uefi_firmware/base.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,682 copying uefi_firmware/utils.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,684 copying uefi_firmware/flash.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,686 copying uefi_firmware/pfs.py -> build/lib.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,689 creating build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,690 copying uefi_firmware/guids/efiguids_lenovo.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,693 copying uefi_firmware/guids/efiguids_dell.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,697 copying uefi_firmware/guids/__init__.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,698 copying uefi_firmware/guids/efiguids.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,702 copying uefi_firmware/guids/efiguids_asrock.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,704 copying uefi_firmware/guids/efiguids_ami.py -> build/lib.linux-armv7l-3.9/uefi_firmware/guids 2021-07-12T16:14:46,710 creating build/lib.linux-armv7l-3.9/uefi_firmware/misc 2021-07-12T16:14:46,710 copying uefi_firmware/misc/__init__.py -> build/lib.linux-armv7l-3.9/uefi_firmware/misc 2021-07-12T16:14:46,712 copying uefi_firmware/misc/checker.py -> build/lib.linux-armv7l-3.9/uefi_firmware/misc 2021-07-12T16:14:46,715 creating build/lib.linux-armv7l-3.9/uefi_firmware/structs 2021-07-12T16:14:46,716 copying uefi_firmware/structs/intel_me_structs.py -> build/lib.linux-armv7l-3.9/uefi_firmware/structs 2021-07-12T16:14:46,718 copying uefi_firmware/structs/__init__.py -> build/lib.linux-armv7l-3.9/uefi_firmware/structs 2021-07-12T16:14:46,720 copying uefi_firmware/structs/uefi_structs.py -> build/lib.linux-armv7l-3.9/uefi_firmware/structs 2021-07-12T16:14:46,722 copying uefi_firmware/structs/flash_structs.py -> build/lib.linux-armv7l-3.9/uefi_firmware/structs 2021-07-12T16:14:46,724 creating build/lib.linux-armv7l-3.9/uefi_firmware/generator 2021-07-12T16:14:46,725 copying uefi_firmware/generator/__init__.py -> build/lib.linux-armv7l-3.9/uefi_firmware/generator 2021-07-12T16:14:46,726 copying uefi_firmware/generator/uefi.py -> build/lib.linux-armv7l-3.9/uefi_firmware/generator 2021-07-12T16:14:46,732 running build_ext 2021-07-12T16:14:46,737 building 'uefi_firmware.efi_compressor' extension 2021-07-12T16:14:46,738 creating build/temp.linux-armv7l-3.9 2021-07-12T16:14:46,738 creating build/temp.linux-armv7l-3.9/uefi_firmware 2021-07-12T16:14:46,739 creating build/temp.linux-armv7l-3.9/uefi_firmware/compression 2021-07-12T16:14:46,740 creating build/temp.linux-armv7l-3.9/uefi_firmware/compression/LZMA 2021-07-12T16:14:46,741 creating build/temp.linux-armv7l-3.9/uefi_firmware/compression/LZMA/SDK 2021-07-12T16:14:46,742 creating build/temp.linux-armv7l-3.9/uefi_firmware/compression/LZMA/SDK/C 2021-07-12T16:14:46,743 creating build/temp.linux-armv7l-3.9/uefi_firmware/compression/Tiano 2021-07-12T16:14:46,743 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 -Iuefi_firmware/compression/Include -I/usr/include/python3.9 -c uefi_firmware/compression/EfiCompressor.c -o build/temp.linux-armv7l-3.9/uefi_firmware/compression/EfiCompressor.o 2021-07-12T16:14:47,110 uefi_firmware/compression/EfiCompressor.c: In function ‘ParseObject’: 2021-07-12T16:14:47,110 uefi_firmware/compression/EfiCompressor.c:109:42: error: ‘PyBufferProcs’ has no member named ‘bf_getsegcount’ 2021-07-12T16:14:47,111 109 | SegNum = SrcData->ob_type->tp_as_buffer->bf_getsegcount((PyObject *)SrcData, NULL); 2021-07-12T16:14:47,111 | ^~ 2021-07-12T16:14:47,111 uefi_firmware/compression/EfiCompressor.c:115:43: error: ‘PyBufferProcs’ has no member named ‘bf_getreadbuffer’; did you mean ‘bf_getbuffer’? 2021-07-12T16:14:47,111 115 | Len = SrcData->ob_type->tp_as_buffer->bf_getreadbuffer((PyObject *)SrcData, Index, &BufSeg); 2021-07-12T16:14:47,111 | ^~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,111 | bf_getbuffer 2021-07-12T16:14:47,112 uefi_firmware/compression/EfiCompressor.c: In function ‘UefiDecompress’: 2021-07-12T16:14:47,112 uefi_firmware/compression/EfiCompressor.c:159:42: error: ‘PyBufferProcs’ has no member named ‘bf_getreadbuffer’; did you mean ‘bf_getbuffer’? 2021-07-12T16:14:47,112 159 | || SrcData->ob_type->tp_as_buffer->bf_getreadbuffer == NULL 2021-07-12T16:14:47,112 | ^~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,112 | bf_getbuffer 2021-07-12T16:14:47,112 uefi_firmware/compression/EfiCompressor.c:160:40: error: ‘PyBufferProcs’ has no member named ‘bf_getsegcount’ 2021-07-12T16:14:47,113 160 | || SrcData->ob_type->tp_as_buffer->bf_getsegcount == NULL) { 2021-07-12T16:14:47,113 | ^~ 2021-07-12T16:14:47,122 uefi_firmware/compression/EfiCompressor.c:185:10: warning: implicit declaration of function ‘PyBuffer_FromMemory’ [-Wimplicit-function-declaration] 2021-07-12T16:14:47,122 185 | return PyBuffer_FromMemory(DstBuf, (Py_ssize_t)DstDataSize); 2021-07-12T16:14:47,123 | ^~~~~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,123 uefi_firmware/compression/EfiCompressor.c:185:10: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2021-07-12T16:14:47,123 185 | return PyBuffer_FromMemory(DstBuf, (Py_ssize_t)DstDataSize); 2021-07-12T16:14:47,123 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,123 uefi_firmware/compression/EfiCompressor.c: In function ‘UefiCompress’: 2021-07-12T16:14:47,123 uefi_firmware/compression/EfiCompressor.c:229:42: error: ‘PyBufferProcs’ has no member named ‘bf_getreadbuffer’; did you mean ‘bf_getbuffer’? 2021-07-12T16:14:47,123 229 | || SrcData->ob_type->tp_as_buffer->bf_getreadbuffer == NULL 2021-07-12T16:14:47,124 | ^~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,124 | bf_getbuffer 2021-07-12T16:14:47,124 uefi_firmware/compression/EfiCompressor.c:230:40: error: ‘PyBufferProcs’ has no member named ‘bf_getsegcount’ 2021-07-12T16:14:47,124 230 | || SrcData->ob_type->tp_as_buffer->bf_getsegcount == NULL) { 2021-07-12T16:14:47,124 | ^~ 2021-07-12T16:14:47,124 uefi_firmware/compression/EfiCompressor.c:255:14: warning: comparison of integer expressions of different signedness: ‘UINT32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2021-07-12T16:14:47,125 255 | if (Status == EFI_BUFFER_TOO_SMALL) { 2021-07-12T16:14:47,125 | ^~ 2021-07-12T16:14:47,125 uefi_firmware/compression/EfiCompressor.c:270:10: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2021-07-12T16:14:47,125 270 | return PyBuffer_FromMemory(DstBuf, (Py_ssize_t)DstDataSize); 2021-07-12T16:14:47,125 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-12T16:14:47,133 uefi_firmware/compression/EfiCompressor.c: In function ‘initefi_compressor’: 2021-07-12T16:14:47,133 uefi_firmware/compression/EfiCompressor.c:378:3: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2021-07-12T16:14:47,134 378 | Py_InitModule3("efi_compressor", EfiCompressor_Funcs, "Various EFI Compression Algorithms Extension Module"); 2021-07-12T16:14:47,134 | ^~~~~~~~~~~~~~ 2021-07-12T16:14:47,138 uefi_firmware/compression/EfiCompressor.c:379:1: warning: control reaches end of non-void function [-Wreturn-type] 2021-07-12T16:14:47,138 379 | } 2021-07-12T16:14:47,139 | ^ 2021-07-12T16:14:47,145 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2021-07-12T16:14:47,232 Building wheel for uefi-firmware (setup.py): finished with status 'error' 2021-07-12T16:14:47,232 ERROR: Failed building wheel for uefi-firmware 2021-07-12T16:14:47,233 Running setup.py clean for uefi-firmware 2021-07-12T16:14:47,233 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-b_93ho07/uefi-firmware_e2e56ab26e0f43bbb335adb39a9a9c0c/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-12T16:14:48,195 /usr/local/lib/python3.9/dist-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead 2021-07-12T16:14:48,195 warnings.warn( 2021-07-12T16:14:48,299 running clean 2021-07-12T16:14:48,301 removing 'build/temp.linux-armv7l-3.9' (and everything under it) 2021-07-12T16:14:48,306 removing 'build/lib.linux-armv7l-3.9' (and everything under it) 2021-07-12T16:14:48,316 'build/bdist.linux-armv7l' does not exist -- can't clean it 2021-07-12T16:14:48,316 'build/scripts-3.9' does not exist -- can't clean it 2021-07-12T16:14:48,316 removing 'build' 2021-07-12T16:14:48,375 Failed to build uefi-firmware 2021-07-12T16:14:48,376 ERROR: Failed to build one or more wheels 2021-07-12T16:14:48,377 Exception information: 2021-07-12T16:14:48,377 Traceback (most recent call last): 2021-07-12T16:14:48,377 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-12T16:14:48,377 status = self.run(options, args) 2021-07-12T16:14:48,377 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-12T16:14:48,377 return func(self, options, args) 2021-07-12T16:14:48,377 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 174, in run 2021-07-12T16:14:48,377 raise CommandError( 2021-07-12T16:14:48,377 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2021-07-12T16:14:48,379 Removed build tracker: '/tmp/pip-req-tracker-2tjrzp50'