openemr/openemr-devops

docker multiarch build pipeline broken

bradymiller opened this issue · 8 comments

Unable to build multiarch dockers (arm7 builds breaking) because of what appears to be a fundamental bug in qemu that is unmasked by rust/cargo stuff:
rust-lang/cargo#8719

Gonna try to create an appliance and use the mount tmpfs solution in it to see if that works

btw, here is where the arm7 builds are going south:

#33 2583.5 Building wheels for collected packages: cryptography
#33 2583.5   Building wheel for cryptography (pyproject.toml): started
#33 2725.8   Building wheel for cryptography (pyproject.toml): still running...
#33 2726.0   Building wheel for cryptography (pyproject.toml): finished with status 'error'
#33 2726.0   ERROR: Command errored out with exit status 1:
#33 2726.0    command: /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmphwlf1atf
#33 2726.0        cwd: /tmp/pip-install-1z7wci7i/cryptography_9dab514d6d954a24903e4d063ad5a2d3
#33 2726.0   Complete output (213 lines):
#33 2726.0   running bdist_wheel
#33 2726.0   running build
#33 2726.0   running build_py
#33 2726.0   creating build
#33 2726.0   creating build/lib.linux-armv7l-3.9
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/x509
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat
#33 2726.0   copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat
#33 2726.0   copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings
#33 2726.0   copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/backends
#33 2726.0   copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends
#33 2726.0   copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/openssl
#33 2726.0   copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/openssl
#33 2726.0   copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/openssl
#33 2726.0   copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/openssl
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/serialization
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/asymmetric
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/twofactor
#33 2726.0   copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/twofactor
#33 2726.0   copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/twofactor
#33 2726.0   copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/twofactor
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/kdf
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/primitives/ciphers
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-3.9/cryptography/hazmat/backends/openssl
#33 2726.0   running egg_info
#33 2726.0   writing src/cryptography.egg-info/PKG-INFO
#33 2726.0   writing dependency_links to src/cryptography.egg-info/dependency_links.txt
#33 2726.0   writing requirements to src/cryptography.egg-info/requires.txt
#33 2726.0   writing top-level names to src/cryptography.egg-info/top_level.txt
#33 2726.0   reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
#33 2726.0   reading manifest template 'MANIFEST.in'
#33 2726.0   no previously-included directories found matching 'docs/_build'
#33 2726.0   warning: no previously-included files found matching 'vectors'
#33 2726.0   warning: no previously-included files matching '*' found under directory 'vectors'
#33 2726.0   warning: no previously-included files matching '*' found under directory '.github'
#33 2726.0   warning: no previously-included files found matching 'release.py'
#33 2726.0   warning: no previously-included files found matching '.coveragerc'
#33 2726.0   warning: no previously-included files found matching 'codecov.yml'
#33 2726.0   warning: no previously-included files found matching '.readthedocs.yml'
#33 2726.0   warning: no previously-included files found matching 'dev-requirements.txt'
#33 2726.0   warning: no previously-included files found matching 'tox.ini'
#33 2726.0   warning: no previously-included files found matching 'mypy.ini'
#33 2726.0   warning: no previously-included files matching '*' found under directory '.zuul.d'
#33 2726.0   warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
#33 2726.0   adding license file 'LICENSE'
#33 2726.0   adding license file 'LICENSE.APACHE'
#33 2726.0   adding license file 'LICENSE.BSD'
#33 2726.0   adding license file 'LICENSE.PSF'
#33 2726.0   writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
#33 2726.0   copying src/cryptography/py.typed -> build/lib.linux-armv7l-3.9/cryptography
#33 2726.0   creating build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/_rust
#33 2726.0   copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/_rust
#33 2726.0   copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/_rust
#33 2726.0   copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/_rust
#33 2726.0   copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-armv7l-3.9/cryptography/hazmat/bindings/_rust
#33 2726.0   running build_ext
#33 2726.0   running build_rust
#33 2726.0       Updating crates.io index
#33 2726.0   error: failed to get `asn1` as a dependency of package `cryptography-rust v0.1.0 (/tmp/pip-install-1z7wci7i/cryptography_9dab514d6d954a24903e4d063ad5a2d3/src/rust)`
#33 2726.0   
#33 2726.0   Caused by:
#33 2726.0     failed to fetch `https://github.com/rust-lang/crates.io-index`
#33 2726.0   
#33 2726.0   Caused by:
#33 2726.0     no REF_DELTA found, cannot inject object; class=Indexer (15)
#33 2726.0   
#33 2726.0       =============================DEBUG ASSISTANCE=============================
#33 2726.0       If you are seeing a compilation error please try the following steps to
#33 2726.0       successfully install cryptography:
#33 2726.0       1) Upgrade to the latest pip and try again. This will fix errors for most
#33 2726.0          users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
#33 2726.0       2) Read https://cryptography.io/en/latest/installation/ for specific
#33 2726.0          instructions for your platform.
#33 2726.0       3) Check our frequently asked questions for more information:
#33 2726.0          https://cryptography.io/en/latest/faq/
#33 2726.0       4) Ensure you have a recent Rust toolchain installed:
#33 2726.0          https://cryptography.io/en/latest/installation/#rust
#33 2726.0   
#33 2726.0       Python: 3.9.5
#33 2726.0       platform: Linux-5.11.0-7620-generic-armv7l-with
#33 2726.0       pip: n/a
#33 2726.0       setuptools: 59.4.0
#33 2726.0       setuptools_rust: 1.1.0
#33 2726.0       =============================DEBUG ASSISTANCE=============================
#33 2726.0   
#33 2726.0   Traceback (most recent call last):
#33 2726.0     File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
#33 2726.0       main()
#33 2726.0     File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
#33 2726.0       json_out['return_val'] = hook(**hook_input['kwargs'])
#33 2726.0     File "/usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 261, in build_wheel
#33 2726.0       return _build_backend().build_wheel(wheel_directory, config_settings,
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 230, in build_wheel
#33 2726.0       return self._build_with_temp_dir(['bdist_wheel'], '.whl',
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
#33 2726.0       self.run_setup()
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 158, in run_setup
#33 2726.0       exec(compile(code, __file__, 'exec'), locals())
#33 2726.0     File "setup.py", line 39, in <module>
#33 2726.0       setup(
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
#33 2726.0       return distutils.core.setup(**attrs)
#33 2726.0     File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
#33 2726.0       dist.run_commands()
#33 2726.0     File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
#33 2726.0       self.run_command(cmd)
#33 2726.0     File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
#33 2726.0       cmd_obj.run()
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
#33 2726.0       self.run_command('build')
#33 2726.0     File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
#33 2726.0       self.distribution.run_command(command)
#33 2726.0     File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
#33 2726.0       cmd_obj.run()
#33 2726.0     File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
#33 2726.0       self.run_command(cmd_name)
#33 2726.0     File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
#33 2726.0       self.distribution.run_command(command)
#33 2726.0     File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
#33 2726.0       cmd_obj.run()
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools_rust/setuptools_ext.py", line 132, in run
#33 2726.0       build_rust.run()
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools_rust/command.py", line 80, in run
#33 2726.0       self.run_for_extension(ext)
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools_rust/build.py", line 106, in run_for_extension
#33 2726.0       dylib_paths = self.build_extension(ext, self.target)
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools_rust/build.py", line 137, in build_extension
#33 2726.0       target_dir = _base_cargo_target_dir(ext)
#33 2726.0     File "/tmp/pip-build-env-liec78k0/overlay/lib/python3.9/site-packages/setuptools_rust/build.py", line 663, in _base_cargo_target_dir
#33 2726.0       metadata = json.loads(check_output(metadata_command))
#33 2726.0     File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
#33 2726.0       return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
#33 2726.0     File "/usr/lib/python3.9/subprocess.py", line 528, in run
#33 2726.0       raise CalledProcessError(retcode, process.args,
#33 2726.0   subprocess.CalledProcessError: Command '['cargo', 'metadata', '--manifest-path', 'src/rust/Cargo.toml', '--format-version', '1']' returned non-zero exit status 101.
#33 2726.0   ----------------------------------------
#33 2726.0   ERROR: Failed building wheel for cryptography
#33 2726.0 Failed to build cryptography
#33 2726.0 ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
------
Dockerfile:23
--------------------
  22 |     
  23 | >>> RUN apk add --no-cache git build-base libffi-dev python3-dev cargo \
  24 | >>>     && git clone https://github.com/openemr/openemr.git --depth 1 \
  25 | >>>     && rm -rf openemr/.git \
  26 | >>>     && cd openemr \
  27 | >>>     && composer install --no-dev \
  28 | >>>     && npm install --unsafe-perm \
  29 | >>>     && npm run build \
  30 | >>>     && cd ccdaservice \
  31 | >>>     && npm install --unsafe-perm \
  32 | >>>     && cd ../ \
  33 | >>>     && composer global require phing/phing \
  34 | >>>     && /root/.composer/vendor/bin/phing vendor-clean \
  35 | >>>     && /root/.composer/vendor/bin/phing assets-clean \
  36 | >>>     && composer global remove phing/phing \
  37 | >>>     && composer dump-autoload -o \
  38 | >>>     && composer clearcache \
  39 | >>>     && npm cache clear --force \
  40 | >>>     && rm -fr node_modules \
  41 | >>>     && cd ../ \
  42 | >>>     && chmod 666 openemr/sites/default/sqlconf.php \
  43 | >>>     && chown -R apache openemr/ \
  44 | >>>     && mv openemr /var/www/localhost/htdocs/ \
  45 | >>>     && git clone https://github.com/letsencrypt/letsencrypt --depth 1 /opt/certbot \
  46 | >>>     && pip install --upgrade pip \
  47 | >>>     && pip install -e /opt/certbot/acme -e /opt/certbot/certbot \
  48 | >>>     && mkdir -p /etc/ssl/certs /etc/ssl/private \
  49 | >>>     && apk del --no-cache git build-base libffi-dev python3-dev cargo
  50 |     WORKDIR /var/www/localhost/htdocs/openemr
--------------------
error: failed to solve: process "/bin/sh -c apk add --no-cache git build-base libffi-dev python3-dev cargo     && git clone https://github.com/openemr/openemr.git --depth 1     && rm -rf openemr/.git     && cd openemr     && composer install --no-dev     && npm install --unsafe-perm     && npm run build     && cd ccdaservice     && npm install --unsafe-perm     && cd ../     && composer global require phing/phing     && /root/.composer/vendor/bin/phing vendor-clean     && /root/.composer/vendor/bin/phing assets-clean     && composer global remove phing/phing     && composer dump-autoload -o     && composer clearcache     && npm cache clear --force     && rm -fr node_modules     && cd ../     && chmod 666 openemr/sites/default/sqlconf.php     && chown -R apache openemr/     && mv openemr /var/www/localhost/htdocs/     && git clone https://github.com/letsencrypt/letsencrypt --depth 1 /opt/certbot     && pip install --upgrade pip     && pip install -e /opt/certbot/acme -e /opt/certbot/certbot     && mkdir -p /etc/ssl/certs /etc/ssl/private     && apk del --no-cache git build-base libffi-dev python3-dev cargo" did not complete successfully: exit code: 1

another related link on this (which again points to that the tmpfs workaround could work):
https://giters.com/pyca/cryptography/issues/6347

@jesdynf ,
yep, it didn't work (but i did learn how to use snap multipass to get a ubuntu virtual machine up to build multiarch dockers and be able to mount the directory to tmpfs :) ). Couldn't find anything on google regarding this REF_DELTA error so guessing is a new bug and will give it a couple days since guessing it will get addressed over that time.

@jesdynf ,
Any thoughts on me dropping the linux/arm/v7 build until this bug gets worked out (it would basically temporarily halt raspberry pi support in development dockers)? This would then allow me to move forward on migration to alpine 3.15 in 6.1.0-dev and other dev dockers.

yep, the prior flex-3.14 series docker images will still work on arm

this has resolved and the pertinent dockers have been rebuilt