2023-09-11T12:14:07,503 Created temporary directory: /tmp/pip-build-tracker-8mmwpn5f 2023-09-11T12:14:07,505 Initialized build tracking at /tmp/pip-build-tracker-8mmwpn5f 2023-09-11T12:14:07,505 Created build tracker: /tmp/pip-build-tracker-8mmwpn5f 2023-09-11T12:14:07,505 Entered build tracker: /tmp/pip-build-tracker-8mmwpn5f 2023-09-11T12:14:07,506 Created temporary directory: /tmp/pip-wheel-ptdu2ujz 2023-09-11T12:14:07,509 Created temporary directory: /tmp/pip-ephem-wheel-cache-8bsz9j1n 2023-09-11T12:14:07,531 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T12:14:07,535 2 location(s) to search for versions of mseedindex: 2023-09-11T12:14:07,535 * https://pypi.org/simple/mseedindex/ 2023-09-11T12:14:07,535 * https://www.piwheels.org/simple/mseedindex/ 2023-09-11T12:14:07,535 Fetching project page and analyzing links: https://pypi.org/simple/mseedindex/ 2023-09-11T12:14:07,536 Getting page https://pypi.org/simple/mseedindex/ 2023-09-11T12:14:07,538 Found index url https://pypi.org/simple/ 2023-09-11T12:14:07,754 Fetched page https://pypi.org/simple/mseedindex/ as application/vnd.pypi.simple.v1+json 2023-09-11T12:14:07,755 Found link https://files.pythonhosted.org/packages/2a/53/b599b92aa205f1a4c3cf106878c6ede00b5fb881688690005cd076e658df/mseedindex-2.7.1.tar.gz (from https://pypi.org/simple/mseedindex/) (requires-python:>=2.7, <4), version: 2.7.1 2023-09-11T12:14:07,756 Fetching project page and analyzing links: https://www.piwheels.org/simple/mseedindex/ 2023-09-11T12:14:07,757 Getting page https://www.piwheels.org/simple/mseedindex/ 2023-09-11T12:14:07,758 Found index url https://www.piwheels.org/simple/ 2023-09-11T12:14:08,028 Fetched page https://www.piwheels.org/simple/mseedindex/ as text/html 2023-09-11T12:14:08,029 Skipping link: not a file: https://www.piwheels.org/simple/mseedindex/ 2023-09-11T12:14:08,030 Skipping link: not a file: https://pypi.org/simple/mseedindex/ 2023-09-11T12:14:08,057 Given no hashes to check 1 links for project 'mseedindex': discarding no candidates 2023-09-11T12:14:08,084 Collecting mseedindex==2.7.1 2023-09-11T12:14:08,087 Created temporary directory: /tmp/pip-unpack-_y6rmfz3 2023-09-11T12:14:08,307 Downloading mseedindex-2.7.1.tar.gz (3.7 kB) 2023-09-11T12:14:08,328 Added mseedindex==2.7.1 from https://files.pythonhosted.org/packages/2a/53/b599b92aa205f1a4c3cf106878c6ede00b5fb881688690005cd076e658df/mseedindex-2.7.1.tar.gz to build tracker '/tmp/pip-build-tracker-8mmwpn5f' 2023-09-11T12:14:08,329 Running setup.py (path:/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py) egg_info for package mseedindex 2023-09-11T12:14:08,330 Created temporary directory: /tmp/pip-pip-egg-info-5yowor64 2023-09-11T12:14:08,331 Preparing metadata (setup.py): started 2023-09-11T12:14:08,332 Running command python setup.py egg_info 2023-09-11T12:14:09,385 running egg_info 2023-09-11T12:14:09,386 creating /tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info 2023-09-11T12:14:09,409 writing /tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/PKG-INFO 2023-09-11T12:14:09,412 writing dependency_links to /tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/dependency_links.txt 2023-09-11T12:14:09,414 writing top-level names to /tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/top_level.txt 2023-09-11T12:14:09,415 writing manifest file '/tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/SOURCES.txt' 2023-09-11T12:14:09,463 reading manifest file '/tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/SOURCES.txt' 2023-09-11T12:14:09,466 writing manifest file '/tmp/pip-pip-egg-info-5yowor64/mseedindex.egg-info/SOURCES.txt' 2023-09-11T12:14:09,587 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T12:14:09,591 Source in /tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6 has version 2.7.1, which satisfies requirement mseedindex==2.7.1 from https://files.pythonhosted.org/packages/2a/53/b599b92aa205f1a4c3cf106878c6ede00b5fb881688690005cd076e658df/mseedindex-2.7.1.tar.gz 2023-09-11T12:14:09,592 Removed mseedindex==2.7.1 from https://files.pythonhosted.org/packages/2a/53/b599b92aa205f1a4c3cf106878c6ede00b5fb881688690005cd076e658df/mseedindex-2.7.1.tar.gz from build tracker '/tmp/pip-build-tracker-8mmwpn5f' 2023-09-11T12:14:09,598 Created temporary directory: /tmp/pip-unpack-391awp6l 2023-09-11T12:14:09,599 Created temporary directory: /tmp/pip-unpack-q9xvd3m3 2023-09-11T12:14:09,602 Building wheels for collected packages: mseedindex 2023-09-11T12:14:09,606 Created temporary directory: /tmp/pip-wheel-_tjrc9g8 2023-09-11T12:14:09,607 Building wheel for mseedindex (setup.py): started 2023-09-11T12:14:09,608 Destination directory: /tmp/pip-wheel-_tjrc9g8 2023-09-11T12:14:09,609 Running command python setup.py bdist_wheel 2023-09-11T12:14:10,906 running bdist_wheel 2023-09-11T12:14:11,003 running build 2023-09-11T12:14:11,004 /tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py:118: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-11T12:14:11,004 !! 2023-09-11T12:14:11,005 ******************************************************************************** 2023-09-11T12:14:11,006 Please avoid running ``setup.py`` directly. 2023-09-11T12:14:11,006 Instead, use pypa/build, pypa/installer or other 2023-09-11T12:14:11,007 standards-based tools. 2023-09-11T12:14:11,008 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-11T12:14:11,008 ******************************************************************************** 2023-09-11T12:14:11,009 !! 2023-09-11T12:14:11,010 install.initialize_options(self) 2023-09-11T12:14:11,030 installing to build/bdist.linux-armv7l/wheel 2023-09-11T12:14:11,030 running install 2023-09-11T12:14:13,566 Running make all in libmseed 2023-09-11T12:14:13,573 make[1]: Entering directory '/tmp/mseedindex/EarthScope-mseedindex-f15bb07/libmseed' 2023-09-11T12:14:13,620 cc -O2 -c fileutils.c -o fileutils.o 2023-09-11T12:14:14,474 cc -O2 -c genutils.c -o genutils.o 2023-09-11T12:14:15,635 cc -O2 -c gswap.c -o gswap.o 2023-09-11T12:14:15,819 cc -O2 -c lmplatform.c -o lmplatform.o 2023-09-11T12:14:15,963 cc -O2 -c lookup.c -o lookup.o 2023-09-11T12:14:16,171 cc -O2 -c msrutils.c -o msrutils.o 2023-09-11T12:14:17,249 cc -O2 -c pack.c -o pack.o 2023-09-11T12:14:18,037 cc -O2 -c packdata.c -o packdata.o 2023-09-11T12:14:18,999 cc -O2 -c traceutils.c -o traceutils.o 2023-09-11T12:14:20,277 cc -O2 -c tracelist.c -o tracelist.o 2023-09-11T12:14:21,259 cc -O2 -c parseutils.c -o parseutils.o 2023-09-11T12:14:22,673 cc -O2 -c unpack.c -o unpack.o 2023-09-11T12:14:23,455 cc -O2 -c unpackdata.c -o unpackdata.o 2023-09-11T12:14:24,236 cc -O2 -c selection.c -o selection.o 2023-09-11T12:14:24,734 cc -O2 -c logging.c -o logging.o 2023-09-11T12:14:24,990 Building static library libmseed.a 2023-09-11T12:14:24,991 rm -f -f libmseed.a 2023-09-11T12:14:24,996 ar -crs libmseed.a fileutils.o genutils.o gswap.o lmplatform.o lookup.o msrutils.o pack.o packdata.o traceutils.o tracelist.o parseutils.o unpack.o unpackdata.o selection.o logging.o 2023-09-11T12:14:25,103 make[1]: Leaving directory '/tmp/mseedindex/EarthScope-mseedindex-f15bb07/libmseed' 2023-09-11T12:14:25,104 Running make all in src 2023-09-11T12:14:25,327 make[1]: Entering directory '/tmp/mseedindex/EarthScope-mseedindex-f15bb07/src' 2023-09-11T12:14:25,328 cc -O2 -I../libmseed -I../sqlite -DWITHOUTPOSTGRESQL -c mseedindex.c -o mseedindex.o 2023-09-11T12:14:26,611 cc -O2 -I../libmseed -I../sqlite -DWITHOUTPOSTGRESQL -c md5.c -o md5.o 2023-09-11T12:14:27,016 cc -O2 -I../libmseed -I../sqlite -DWITHOUTPOSTGRESQL -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION -DHAVE_USLEEP=1 -c ../sqlite/sqlite3.c -o ../sqlite/sqlite3.o 2023-09-11T12:14:51,119 ../sqlite/sqlite3.c: In function ‘sqlite3SelectNew’: 2023-09-11T12:14:51,161 ../sqlite/sqlite3.c:118836:10: warning: function may return address of local variable [-Wreturn-local-addr] 2023-09-11T12:14:51,162 118836 | return pNew; 2023-09-11T12:14:51,163 | ^~~~ 2023-09-11T12:14:51,163 ../sqlite/sqlite3.c:118798:10: note: declared here 2023-09-11T12:14:51,164 118798 | Select standin; 2023-09-11T12:14:51,164 | ^~~~~~~ 2023-09-11T12:15:44,835 cc -O2 -o ../mseedindex mseedindex.o md5.o ../sqlite/sqlite3.o -L../libmseed -I../sqlite -lmseed 2023-09-11T12:15:45,020 make[1]: Leaving directory '/tmp/mseedindex/EarthScope-mseedindex-f15bb07/src' 2023-09-11T12:15:45,024 Traceback (most recent call last): 2023-09-11T12:15:45,024 File "/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py", line 91, in install_mseedindex 2023-09-11T12:15:45,025 mseedindex_binary = self.compile_and_install_mseedindex( 2023-09-11T12:15:45,026 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T12:15:45,027 File "/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py", line 85, in compile_and_install_mseedindex 2023-09-11T12:15:45,028 shutil.copy(mseedindex_binary, mseedindex_binary_dest) 2023-09-11T12:15:45,029 File "/usr/lib/python3.11/shutil.py", line 419, in copy 2023-09-11T12:15:45,029 copyfile(src, dst, follow_symlinks=follow_symlinks) 2023-09-11T12:15:45,030 File "/usr/lib/python3.11/shutil.py", line 258, in copyfile 2023-09-11T12:15:45,030 with open(dst, 'wb') as fdst: 2023-09-11T12:15:45,031 ^^^^^^^^^^^^^^^ 2023-09-11T12:15:45,032 PermissionError: [Errno 13] Permission denied: '/usr/bin/mseedindex' 2023-09-11T12:15:45,034 During handling of the above exception, another exception occurred: 2023-09-11T12:15:45,036 Traceback (most recent call last): 2023-09-11T12:15:45,037 File "", line 2, in 2023-09-11T12:15:45,038 File "", line 34, in 2023-09-11T12:15:45,038 File "/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py", line 144, in 2023-09-11T12:15:45,039 setup( 2023-09-11T12:15:45,040 File "/usr/local/lib/python3.11/dist-packages/setuptools/__init__.py", line 103, in setup 2023-09-11T12:15:45,040 return distutils.core.setup(**attrs) 2023-09-11T12:15:45,041 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T12:15:45,041 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 185, in setup 2023-09-11T12:15:45,042 return run_commands(dist) 2023-09-11T12:15:45,043 ^^^^^^^^^^^^^^^^^^ 2023-09-11T12:15:45,043 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/core.py", line 201, in run_commands 2023-09-11T12:15:45,044 dist.run_commands() 2023-09-11T12:15:45,044 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 969, in run_commands 2023-09-11T12:15:45,045 self.run_command(cmd) 2023-09-11T12:15:45,046 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T12:15:45,047 super().run_command(command) 2023-09-11T12:15:45,047 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T12:15:45,048 cmd_obj.run() 2023-09-11T12:15:45,049 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 360, in run 2023-09-11T12:15:45,049 self.run_command("install") 2023-09-11T12:15:45,050 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py", line 318, in run_command 2023-09-11T12:15:45,051 self.distribution.run_command(command) 2023-09-11T12:15:45,052 File "/usr/local/lib/python3.11/dist-packages/setuptools/dist.py", line 1001, in run_command 2023-09-11T12:15:45,052 super().run_command(command) 2023-09-11T12:15:45,053 File "/usr/local/lib/python3.11/dist-packages/setuptools/_distutils/dist.py", line 988, in run_command 2023-09-11T12:15:45,054 cmd_obj.run() 2023-09-11T12:15:45,055 File "/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py", line 121, in run 2023-09-11T12:15:45,055 self.install_mseedindex() 2023-09-11T12:15:45,056 File "/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py", line 96, in install_mseedindex 2023-09-11T12:15:45,057 raise Exception("Failed to install mseedindex - {}" 2023-09-11T12:15:45,057 Exception: Failed to install mseedindex - [Errno 13] Permission denied: '/usr/bin/mseedindex' 2023-09-11T12:15:45,175 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-11T12:15:45,188 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-11T12:15:45,188 exec(compile('"'"''"'"''"'"' 2023-09-11T12:15:45,188 # This is -- a caller that pip uses to run setup.py 2023-09-11T12:15:45,188 # 2023-09-11T12:15:45,188 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-11T12:15:45,188 # import from `distutils.core` to work with newer packaging standards. 2023-09-11T12:15:45,188 # - It provides a clear error message when setuptools is not installed. 2023-09-11T12:15:45,188 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-11T12:15:45,188 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-11T12:15:45,188 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-11T12:15:45,188 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-11T12:15:45,188 import os, sys, tokenize 2023-09-11T12:15:45,188 2023-09-11T12:15:45,188 try: 2023-09-11T12:15:45,188 import setuptools 2023-09-11T12:15:45,188 except ImportError as error: 2023-09-11T12:15:45,188 print( 2023-09-11T12:15:45,188 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-11T12:15:45,188 "the build environment.", 2023-09-11T12:15:45,188 file=sys.stderr, 2023-09-11T12:15:45,188 ) 2023-09-11T12:15:45,188 sys.exit(1) 2023-09-11T12:15:45,188 2023-09-11T12:15:45,188 __file__ = %r 2023-09-11T12:15:45,188 sys.argv[0] = __file__ 2023-09-11T12:15:45,188 2023-09-11T12:15:45,188 if os.path.exists(__file__): 2023-09-11T12:15:45,188 filename = __file__ 2023-09-11T12:15:45,188 with tokenize.open(__file__) as f: 2023-09-11T12:15:45,188 setup_py_code = f.read() 2023-09-11T12:15:45,188 else: 2023-09-11T12:15:45,188 filename = "" 2023-09-11T12:15:45,188 setup_py_code = "from setuptools import setup; setup()" 2023-09-11T12:15:45,188 2023-09-11T12:15:45,188 exec(compile(setup_py_code, filename, "exec")) 2023-09-11T12:15:45,188 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-_tjrc9g8[/] 2023-09-11T12:15:45,189 [bold magenta]cwd[/]: /tmp/pip-wheel-ptdu2ujz/mseedindex_aa50437f55fa45fb81d61a6e1826fbf6/ 2023-09-11T12:15:45,189 Building wheel for mseedindex (setup.py): finished with status 'error' 2023-09-11T12:15:45,190 ERROR: Failed building wheel for mseedindex 2023-09-11T12:15:45,192 Running setup.py clean for mseedindex 2023-09-11T12:15:45,193 Running command python setup.py clean 2023-09-11T12:15:46,362 running clean 2023-09-11T12:15:46,409 'build/lib' does not exist -- can't clean it 2023-09-11T12:15:46,410 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-11T12:15:46,411 'build/scripts-3.11' does not exist -- can't clean it 2023-09-11T12:15:46,532 Failed to build mseedindex 2023-09-11T12:15:46,533 ERROR: Failed to build one or more wheels 2023-09-11T12:15:46,534 Exception information: 2023-09-11T12:15:46,534 Traceback (most recent call last): 2023-09-11T12:15:46,534 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-11T12:15:46,534 status = run_func(*args) 2023-09-11T12:15:46,534 ^^^^^^^^^^^^^^^ 2023-09-11T12:15:46,534 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-11T12:15:46,534 return func(self, options, args) 2023-09-11T12:15:46,534 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-11T12:15:46,534 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-11T12:15:46,534 raise CommandError("Failed to build one or more wheels") 2023-09-11T12:15:46,534 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-11T12:15:46,538 Removed build tracker: '/tmp/pip-build-tracker-8mmwpn5f'