2023-09-08T18:00:54,586 Created temporary directory: /tmp/pip-build-tracker-1kihm08a 2023-09-08T18:00:54,587 Initialized build tracking at /tmp/pip-build-tracker-1kihm08a 2023-09-08T18:00:54,588 Created build tracker: /tmp/pip-build-tracker-1kihm08a 2023-09-08T18:00:54,588 Entered build tracker: /tmp/pip-build-tracker-1kihm08a 2023-09-08T18:00:54,589 Created temporary directory: /tmp/pip-wheel-nxcqeigk 2023-09-08T18:00:54,592 Created temporary directory: /tmp/pip-ephem-wheel-cache-9_qx332j 2023-09-08T18:00:54,613 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T18:00:54,617 2 location(s) to search for versions of chdkptp-py: 2023-09-08T18:00:54,617 * https://pypi.org/simple/chdkptp-py/ 2023-09-08T18:00:54,617 * https://www.piwheels.org/simple/chdkptp-py/ 2023-09-08T18:00:54,618 Fetching project page and analyzing links: https://pypi.org/simple/chdkptp-py/ 2023-09-08T18:00:54,619 Getting page https://pypi.org/simple/chdkptp-py/ 2023-09-08T18:00:54,620 Found index url https://pypi.org/simple/ 2023-09-08T18:00:54,758 Fetched page https://pypi.org/simple/chdkptp-py/ as application/vnd.pypi.simple.v1+json 2023-09-08T18:00:54,760 Found link https://files.pythonhosted.org/packages/2f/2b/817856ae88bf2d1def842d2f6fc203e42585efc9e493c75a3dff050bea7e/chdkptp.py-0.1.2.tar.gz (from https://pypi.org/simple/chdkptp-py/), version: 0.1.2 2023-09-08T18:00:54,760 Found link https://files.pythonhosted.org/packages/98/a6/ceeeab6f800325cae6b8be5d861e1c06c83da7a25396937be675e824c7ab/chdkptp.py-0.1.3.tar.gz (from https://pypi.org/simple/chdkptp-py/), version: 0.1.3 2023-09-08T18:00:54,761 Fetching project page and analyzing links: https://www.piwheels.org/simple/chdkptp-py/ 2023-09-08T18:00:54,762 Getting page https://www.piwheels.org/simple/chdkptp-py/ 2023-09-08T18:00:54,763 Found index url https://www.piwheels.org/simple/ 2023-09-08T18:00:56,690 Fetched page https://www.piwheels.org/simple/chdkptp-py/ as text/html 2023-09-08T18:00:56,691 Skipping link: not a file: https://www.piwheels.org/simple/chdkptp-py/ 2023-09-08T18:00:56,692 Skipping link: not a file: https://pypi.org/simple/chdkptp-py/ 2023-09-08T18:00:56,726 Given no hashes to check 1 links for project 'chdkptp-py': discarding no candidates 2023-09-08T18:00:56,758 Collecting chdkptp-py==0.1.3 2023-09-08T18:00:56,762 Created temporary directory: /tmp/pip-unpack-dqbjh955 2023-09-08T18:00:56,984 Downloading chdkptp.py-0.1.3.tar.gz (263 kB) 2023-09-08T18:00:57,242 Added chdkptp-py==0.1.3 from https://files.pythonhosted.org/packages/98/a6/ceeeab6f800325cae6b8be5d861e1c06c83da7a25396937be675e824c7ab/chdkptp.py-0.1.3.tar.gz to build tracker '/tmp/pip-build-tracker-1kihm08a' 2023-09-08T18:00:57,243 Running setup.py (path:/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/setup.py) egg_info for package chdkptp-py 2023-09-08T18:00:57,244 Created temporary directory: /tmp/pip-pip-egg-info-4m7rowxl 2023-09-08T18:00:57,245 Preparing metadata (setup.py): started 2023-09-08T18:00:57,246 Running command python setup.py egg_info 2023-09-08T18:00:58,296 running egg_info 2023-09-08T18:00:58,297 creating /tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info 2023-09-08T18:00:58,321 writing /tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/PKG-INFO 2023-09-08T18:00:58,324 writing dependency_links to /tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/dependency_links.txt 2023-09-08T18:00:58,326 writing requirements to /tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/requires.txt 2023-09-08T18:00:58,327 writing top-level names to /tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/top_level.txt 2023-09-08T18:00:58,328 writing manifest file '/tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/SOURCES.txt' 2023-09-08T18:00:58,406 reading manifest file '/tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/SOURCES.txt' 2023-09-08T18:00:58,407 reading manifest template 'MANIFEST.in' 2023-09-08T18:00:58,418 writing manifest file '/tmp/pip-pip-egg-info-4m7rowxl/chdkptp.py.egg-info/SOURCES.txt' 2023-09-08T18:00:58,529 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T18:00:58,533 Source in /tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2 has version 0.1.3, which satisfies requirement chdkptp-py==0.1.3 from https://files.pythonhosted.org/packages/98/a6/ceeeab6f800325cae6b8be5d861e1c06c83da7a25396937be675e824c7ab/chdkptp.py-0.1.3.tar.gz 2023-09-08T18:00:58,534 Removed chdkptp-py==0.1.3 from https://files.pythonhosted.org/packages/98/a6/ceeeab6f800325cae6b8be5d861e1c06c83da7a25396937be675e824c7ab/chdkptp.py-0.1.3.tar.gz from build tracker '/tmp/pip-build-tracker-1kihm08a' 2023-09-08T18:00:58,538 Created temporary directory: /tmp/pip-unpack-8b_u9x1p 2023-09-08T18:00:58,539 Created temporary directory: /tmp/pip-unpack-aubtqtej 2023-09-08T18:00:58,542 Building wheels for collected packages: chdkptp-py 2023-09-08T18:00:58,546 Created temporary directory: /tmp/pip-wheel-w85pscnv 2023-09-08T18:00:58,547 Building wheel for chdkptp-py (setup.py): started 2023-09-08T18:00:58,548 Destination directory: /tmp/pip-wheel-w85pscnv 2023-09-08T18:00:58,548 Running command python setup.py bdist_wheel 2023-09-08T18:00:59,519 running bdist_wheel 2023-09-08T18:00:59,609 running build 2023-09-08T18:00:59,610 running build_py 2023-09-08T18:00:59,636 creating build 2023-09-08T18:00:59,636 creating build/lib 2023-09-08T18:00:59,637 creating build/lib/chdkptp 2023-09-08T18:00:59,638 copying chdkptp/util.py -> build/lib/chdkptp 2023-09-08T18:00:59,640 copying chdkptp/lua.py -> build/lib/chdkptp 2023-09-08T18:00:59,642 copying chdkptp/__init__.py -> build/lib/chdkptp 2023-09-08T18:00:59,644 copying chdkptp/device.py -> build/lib/chdkptp 2023-09-08T18:00:59,649 creating build/lib/chdkptp/vendor 2023-09-08T18:00:59,649 creating build/lib/chdkptp/vendor/chdkptp 2023-09-08T18:00:59,650 creating build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,651 copying chdkptp/vendor/chdkptp/lua/fsutil.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,654 copying chdkptp/vendor/chdkptp/lua/varsubst.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,656 copying chdkptp/vendor/chdkptp/lua/iniLib.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,658 copying chdkptp/vendor/chdkptp/lua/rlibs.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,661 copying chdkptp/vendor/chdkptp/lua/gui.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,664 copying chdkptp/vendor/chdkptp/lua/dngcli.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,666 copying chdkptp/vendor/chdkptp/lua/gui_live_stats.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,669 copying chdkptp/vendor/chdkptp/lua/multicam.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,671 copying chdkptp/vendor/chdkptp/lua/tests.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,674 copying chdkptp/vendor/chdkptp/lua/gui_icon.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,680 copying chdkptp/vendor/chdkptp/lua/gui_tree.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,683 copying chdkptp/vendor/chdkptp/lua/ustime.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,685 copying chdkptp/vendor/chdkptp/lua/prefs.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,687 copying chdkptp/vendor/chdkptp/lua/chdku.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,690 copying chdkptp/vendor/chdkptp/lua/errutil.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,692 copying chdkptp/vendor/chdkptp/lua/gui_sched.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,694 copying chdkptp/vendor/chdkptp/lua/camtests.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,697 copying chdkptp/vendor/chdkptp/lua/dng.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,700 copying chdkptp/vendor/chdkptp/lua/cli.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,703 copying chdkptp/vendor/chdkptp/lua/gui_live.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,706 copying chdkptp/vendor/chdkptp/lua/gui_user.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,708 copying chdkptp/vendor/chdkptp/lua/rsint.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,711 copying chdkptp/vendor/chdkptp/lua/lbufutil.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,713 copying chdkptp/vendor/chdkptp/lua/util.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,715 copying chdkptp/vendor/chdkptp/lua/exposure.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,717 copying chdkptp/vendor/chdkptp/lua/main.lua -> build/lib/chdkptp/vendor/chdkptp/lua 2023-09-08T18:00:59,721 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-08T18:00:59,721 !! 2023-09-08T18:00:59,722 ******************************************************************************** 2023-09-08T18:00:59,723 Please avoid running ``setup.py`` directly. 2023-09-08T18:00:59,723 Instead, use pypa/build, pypa/installer or other 2023-09-08T18:00:59,723 standards-based tools. 2023-09-08T18:00:59,724 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-08T18:00:59,725 ******************************************************************************** 2023-09-08T18:00:59,726 !! 2023-09-08T18:00:59,726 self.initialize_options() 2023-09-08T18:00:59,747 installing to build/bdist.linux-armv7l/wheel 2023-09-08T18:00:59,748 running install 2023-09-08T18:00:59,780 patching file Makefile 2023-09-08T18:00:59,782 patching file chdkptp.c 2023-09-08T18:00:59,784 patching file include.mk 2023-09-08T18:00:59,794 make: Entering directory '/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/chdkptp/vendor/chdkptp' 2023-09-08T18:00:59,816 make[1]: Entering directory '/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/chdkptp/vendor/chdkptp/lfs' 2023-09-08T18:00:59,828 gcc -MMD -DCHDKPTP_OSTYPE=\"Linux\" -Wall -fPIC -g -DLUA_COMPAT_ALL=1 -g -I/usr/include/lua5.2 -c -o lfs.o lfs.c 2023-09-08T18:00:59,948 lfs.c:59:10: fatal error: lua.h: No such file or directory 2023-09-08T18:00:59,949 59 | #include 2023-09-08T18:00:59,949 | ^~~~~~~ 2023-09-08T18:00:59,950 compilation terminated. 2023-09-08T18:00:59,951 make[1]: *** [../include.mk:103: lfs.o] Error 1 2023-09-08T18:00:59,952 make[1]: Leaving directory '/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/chdkptp/vendor/chdkptp/lfs' 2023-09-08T18:00:59,953 make: *** [include.mk:86: all-recursive] Error 1 2023-09-08T18:00:59,953 make: Leaving directory '/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/chdkptp/vendor/chdkptp' 2023-09-08T18:00:59,954 Traceback (most recent call last): 2023-09-08T18:00:59,954 File "", line 2, in 2023-09-08T18:00:59,955 File "", line 34, in 2023-09-08T18:00:59,956 File "/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/setup.py", line 21, in 2023-09-08T18:00:59,956 setup( 2023-09-08T18:00:59,957 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-08T18:00:59,957 return distutils.core.setup(**attrs) 2023-09-08T18:00:59,958 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T18:00:59,958 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-08T18:00:59,959 return run_commands(dist) 2023-09-08T18:00:59,960 ^^^^^^^^^^^^^^^^^^ 2023-09-08T18:00:59,960 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-08T18:00:59,961 dist.run_commands() 2023-09-08T18:00:59,961 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-08T18:00:59,962 self.run_command(cmd) 2023-09-08T18:00:59,962 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T18:00:59,963 super().run_command(command) 2023-09-08T18:00:59,963 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T18:00:59,964 cmd_obj.run() 2023-09-08T18:00:59,965 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 360, in run 2023-09-08T18:00:59,965 self.run_command("install") 2023-09-08T18:00:59,966 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-08T18:00:59,967 self.distribution.run_command(command) 2023-09-08T18:00:59,968 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-08T18:00:59,968 super().run_command(command) 2023-09-08T18:00:59,969 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-08T18:00:59,970 cmd_obj.run() 2023-09-08T18:00:59,971 File "/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/setup.py", line 18, in run 2023-09-08T18:00:59,971 subprocess.check_call(['make', '-C', CHDKPTP_PATH]) 2023-09-08T18:00:59,972 File "/usr/lib/python3.11/subprocess.py", line 413, in check_call 2023-09-08T18:00:59,973 raise CalledProcessError(retcode, cmd) 2023-09-08T18:00:59,974 subprocess.CalledProcessError: Command '['make', '-C', '/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/chdkptp/vendor/chdkptp']' returned non-zero exit status 2. 2023-09-08T18:01:00,077 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T18:01:00,090 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T18:01:00,090 exec(compile('"'"''"'"''"'"' 2023-09-08T18:01:00,090 # This is -- a caller that pip uses to run setup.py 2023-09-08T18:01:00,090 # 2023-09-08T18:01:00,090 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T18:01:00,090 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T18:01:00,090 # - It provides a clear error message when setuptools is not installed. 2023-09-08T18:01:00,090 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T18:01:00,090 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T18:01:00,090 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T18:01:00,090 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T18:01:00,090 import os, sys, tokenize 2023-09-08T18:01:00,090 2023-09-08T18:01:00,090 try: 2023-09-08T18:01:00,090 import setuptools 2023-09-08T18:01:00,090 except ImportError as error: 2023-09-08T18:01:00,090 print( 2023-09-08T18:01:00,090 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T18:01:00,090 "the build environment.", 2023-09-08T18:01:00,090 file=sys.stderr, 2023-09-08T18:01:00,090 ) 2023-09-08T18:01:00,090 sys.exit(1) 2023-09-08T18:01:00,090 2023-09-08T18:01:00,090 __file__ = %r 2023-09-08T18:01:00,090 sys.argv[0] = __file__ 2023-09-08T18:01:00,090 2023-09-08T18:01:00,090 if os.path.exists(__file__): 2023-09-08T18:01:00,090 filename = __file__ 2023-09-08T18:01:00,090 with tokenize.open(__file__) as f: 2023-09-08T18:01:00,090 setup_py_code = f.read() 2023-09-08T18:01:00,090 else: 2023-09-08T18:01:00,090 filename = "" 2023-09-08T18:01:00,090 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T18:01:00,090 2023-09-08T18:01:00,090 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T18:01:00,090 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-w85pscnv[/] 2023-09-08T18:01:00,090 [bold magenta]cwd[/]: /tmp/pip-wheel-nxcqeigk/chdkptp-py_41de476158124ff6bf3d9b22cda5c1a2/ 2023-09-08T18:01:00,091 Building wheel for chdkptp-py (setup.py): finished with status 'error' 2023-09-08T18:01:00,092 ERROR: Failed building wheel for chdkptp-py 2023-09-08T18:01:00,093 Running setup.py clean for chdkptp-py 2023-09-08T18:01:00,094 Running command python setup.py clean 2023-09-08T18:01:01,064 running clean 2023-09-08T18:01:01,109 removing 'build/lib' (and everything under it) 2023-09-08T18:01:01,119 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T18:01:01,119 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T18:01:01,120 removing 'build' 2023-09-08T18:01:01,229 Failed to build chdkptp-py 2023-09-08T18:01:01,231 ERROR: Failed to build one or more wheels 2023-09-08T18:01:01,232 Exception information: 2023-09-08T18:01:01,232 Traceback (most recent call last): 2023-09-08T18:01:01,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T18:01:01,232 status = run_func(*args) 2023-09-08T18:01:01,232 ^^^^^^^^^^^^^^^ 2023-09-08T18:01:01,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T18:01:01,232 return func(self, options, args) 2023-09-08T18:01:01,232 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T18:01:01,232 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T18:01:01,232 raise CommandError("Failed to build one or more wheels") 2023-09-08T18:01:01,232 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T18:01:01,235 Removed build tracker: '/tmp/pip-build-tracker-1kihm08a'