init-docker-dev.sh
errors out when trying to install pysnv
on aarch64
architectures.
Building PySVN...
Processing /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pysvn
Building wheel for pysvn (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [34 lines of output]
running bdist_wheel
running build
running build_ext
running egg_info
creating pysvn.egg-info
writing pysvn.egg-info/PKG-INFO
writing dependency_links to pysvn.egg-info/dependency_links.txt
writing top-level names to pysvn.egg-info/top_level.txt
writing manifest file 'pysvn.egg-info/SOURCES.txt'
reading manifest file 'pysvn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'Source/pysvn/__init__.py'
warning: no previously-included files found matching 'Source/pysvn/*.so'
warning: no previously-included files found matching 'Source/*.o'
warning: no previously-included files found matching 'Source/Makefile'
warning: no previously-included files found matching 'Source/pysvn_docs.cpp'
warning: no previously-included files found matching 'Source/pysvn_docs.hpp'
warning: no previously-included files found matching 'Source/pysvn_version.hpp'
warning: no previously-included files found matching 'Source/generate_svn_error_codes.hpp'
warning: no previously-included files found matching 'Source/generate_svn_error_codes/generate_svn_error_codes'
writing manifest file 'pysvn.egg-info/SOURCES.txt'
Info: Configure for python 3.7.14 in exec_prefix /allura-data/virtualenv
Info: Using C compiler gcc
Info: Using C++ compiler g++
Info: Found PyCXX include in /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/Import/pycxx-7.1.5
Info: Found PyCXX Source in /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/Import/pycxx-7.1.5/Src
Info: Found SVN include in /usr/include/subversion-1
Error: Cannot find SVN library libsvn_client-1.so - use --svn-lib-dir
make: *** No rule to make target 'clean'. Stop.
make: *** No targets. Stop.
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build/lib.linux-aarch64-3.7
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build/lib.linux-aarch64-3.7/pysvn
error: [Errno 2] No such file or directory: 'pysvn/__init__.py'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pysvn
Running setup.py clean for pysvn
Failed to build pysvn
Installing collected packages: pysvn
Running setup.py install for pysvn ... error
error: subprocess-exited-with-error
× Running setup.py install for pysvn did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
running install
running build
running build_ext
running egg_info
writing pysvn.egg-info/PKG-INFO
writing dependency_links to pysvn.egg-info/dependency_links.txt
writing top-level names to pysvn.egg-info/top_level.txt
reading manifest file 'pysvn.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'Source/pysvn/__init__.py'
warning: no previously-included files found matching 'Source/pysvn/*.so'
warning: no previously-included files found matching 'Source/*.o'
warning: no previously-included files found matching 'Source/pysvn_docs.cpp'
warning: no previously-included files found matching 'Source/pysvn_docs.hpp'
warning: no previously-included files found matching 'Source/pysvn_version.hpp'
warning: no previously-included files found matching 'Source/generate_svn_error_codes.hpp'
warning: no previously-included files found matching 'Source/generate_svn_error_codes/generate_svn_error_codes'
writing manifest file 'pysvn.egg-info/SOURCES.txt'
Info: Configure for python 3.7.14 in exec_prefix /allura-data/virtualenv
Info: Using C compiler gcc
Info: Using C++ compiler g++
Info: Found PyCXX include in /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/Import/pycxx-7.1.5
Info: Found PyCXX Source in /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/Import/pycxx-7.1.5/Src
Info: Found SVN include in /usr/include/subversion-1
Error: Cannot find SVN library libsvn_client-1.so - use --svn-lib-dir
make: *** No rule to make target 'clean'. Stop.
make: *** No targets. Stop.
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build/lib.linux-aarch64-3.7
creating /tmp/tmpgwy4ajtc.pysvn-install/pysvn-1.9.18/build/lib.linux-aarch64-3.7/pysvn
error: [Errno 2] No such file or directory: 'pysvn/__init__.py'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pysvn
inside the docker image
uname -a
Linux 7b77c709308b 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
We can no longer reproduce this error