Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Unable to build synapse via podman on ppc64le - v1.82.0 #15547

Closed
helix-loop opened this issue May 6, 2023 · 2 comments
Closed

Unable to build synapse via podman on ppc64le - v1.82.0 #15547

helix-loop opened this issue May 6, 2023 · 2 comments
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@helix-loop
Copy link
Contributor

Description

Trying to build synapse v1.82.0 via podman on Debian Bullseye (ppc64le) fails due to a missing package in Stage 0:


WARN[0000] missing "TEST_ONLY_SKIP_DEP_HASH_VERIFICATION" build argument. Try adding "--build-arg TEST_ONLY_SKIP_DEP_HASH_VERIFICATION=<VALUE>" to the command line 
WARN[0000] missing "TEST_ONLY_IGNORE_POETRY_LOCKFILE" build argument. Try adding "--build-arg TEST_ONLY_IGNORE_POETRY_LOCKFILE=<VALUE>" to the command line 
WARN[0000] missing "TEST_ONLY_IGNORE_POETRY_LOCKFILE" build argument. Try adding "--build-arg TEST_ONLY_IGNORE_POETRY_LOCKFILE=<VALUE>" to the command line 
STEP 1: FROM docker.io/python:3.11-slim-bullseye AS requirements
STEP 2: RUN   --mount=type=cache,target=/var/cache/apt,sharing=locked   --mount=type=cache,target=/var/lib/apt,sharing=locked   apt-get update -qq && apt-get install -yqq   build-essential curl git libffi-dev libssl-dev   && rm -rf /var/lib/apt/lists/*
--> Using cache 2acdd70df3bcd3a684a7044997cc7f6c68a7a2b6d3884e5e891ec2d1bb454d68
--> 2acdd70df3b
STEP 3: ENV RUSTUP_HOME=/rust
--> Using cache 2c9a77fde8749f298a01f6f6edf867d22c547042f82b0799b0022e659a67f5b8
--> 2c9a77fde87
STEP 4: ENV CARGO_HOME=/cargo
--> Using cache d9fa7c2a60763f0f0bb73f59ef99a51d7445a60f6bb1cd5182e2ce8632bc39c1
--> d9fa7c2a607
STEP 5: ENV PATH=/cargo/bin:/rust/bin:$PATH
--> Using cache dde5cf8d9931497f8a34ee5c20ab5f3c339658ef00f12927c71b76f16e5034ad
--> dde5cf8d993
STEP 6: RUN mkdir /rust /cargo
--> Using cache f7d3eb894b29ce99b10c124e6931fc553bbd317545342983dc854a697c70aed7
--> f7d3eb894b2
STEP 7: RUN curl -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable --profile minimal
--> Using cache 47ee9f244dd2ef18ee3efa586c5c9ad712e3c49b4b472f4763736d66e526f767
--> 47ee9f244dd
STEP 8: ARG CARGO_NET_GIT_FETCH_WITH_CLI=false
--> Using cache adfc60912e2c4ffe9b06d8edefa5b074ff06ab3ced29f24f5b9d91acca4e990e
--> adfc60912e2
STEP 9: ENV CARGO_NET_GIT_FETCH_WITH_CLI=$CARGO_NET_GIT_FETCH_WITH_CLI
--> Using cache ff3944b4f4fa65d55873a15e29e6d0060c7b8461e82b5b22e35773b403bf4060
--> ff3944b4f4f
STEP 10: RUN --mount=type=cache,target=/root/.cache/pip   pip install --user "poetry==1.3.2"
Collecting poetry==1.3.2
  Downloading poetry-1.3.2-py3-none-any.whl (218 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 218.9/218.9 kB 637.0 kB/s eta 0:00:00
Collecting cachecontrol[filecache]<0.13.0,>=0.12.9
  Downloading CacheControl-0.12.11-py2.py3-none-any.whl (21 kB)
Collecting cleo<3.0.0,>=2.0.0
  Downloading cleo-2.0.1-py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.3/77.3 kB 1.5 MB/s eta 0:00:00
Collecting crashtest<0.5.0,>=0.4.1
  Downloading crashtest-0.4.1-py3-none-any.whl (7.6 kB)
Collecting dulwich<0.21.0,>=0.20.46
  Downloading dulwich-0.20.50.tar.gz (430 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 430.4/430.4 kB 1.5 MB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting filelock<4.0.0,>=3.8.0
  Downloading filelock-3.12.0-py3-none-any.whl (10 kB)
Collecting html5lib<2.0,>=1.0
  Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 616.5 kB/s eta 0:00:00
Collecting jsonschema<5.0.0,>=4.10.0
  Downloading jsonschema-4.17.3-py3-none-any.whl (90 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 kB 1.6 MB/s eta 0:00:00
Collecting keyring<24.0.0,>=23.9.0
  Downloading keyring-23.13.1-py3-none-any.whl (37 kB)
Collecting lockfile<0.13.0,>=0.12.2
  Downloading lockfile-0.12.2-py2.py3-none-any.whl (13 kB)
Collecting packaging>=20.4
  Downloading packaging-23.1-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 1.0 MB/s eta 0:00:00
Collecting pexpect<5.0.0,>=4.7.0
  Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 kB 1.3 MB/s eta 0:00:00
Collecting pkginfo<2.0,>=1.5
  Downloading pkginfo-1.9.6-py3-none-any.whl (30 kB)
Collecting platformdirs<3.0.0,>=2.5.2
  Downloading platformdirs-2.6.2-py3-none-any.whl (14 kB)
Collecting poetry-core==1.4.0
  Downloading poetry_core-1.4.0-py3-none-any.whl (546 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 546.4/546.4 kB 1.1 MB/s eta 0:00:00
Collecting poetry-plugin-export<2.0.0,>=1.2.0
  Downloading poetry_plugin_export-1.3.1-py3-none-any.whl (10 kB)
Collecting requests<3.0,>=2.18
  Downloading requests-2.30.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 988.5 kB/s eta 0:00:00
Collecting requests-toolbelt<0.11.0,>=0.9.1
  Downloading requests_toolbelt-0.10.1-py2.py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 kB 549.9 kB/s eta 0:00:00
Collecting shellingham<2.0,>=1.5
  Downloading shellingham-1.5.0.post1-py2.py3-none-any.whl (9.4 kB)
Collecting tomlkit!=0.11.2,!=0.11.3,<1.0.0,>=0.11.1
  Downloading tomlkit-0.11.8-py3-none-any.whl (35 kB)
Collecting trove-classifiers>=2022.5.19
  Downloading trove_classifiers-2023.5.2-py3-none-any.whl (13 kB)
Collecting urllib3<2.0.0,>=1.26.0
  Downloading urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 2.0 MB/s eta 0:00:00
Collecting virtualenv!=20.4.5,!=20.4.6,<21.0.0,>=20.4.3
  Downloading virtualenv-20.23.0-py3-none-any.whl (3.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 2.5 MB/s eta 0:00:00
Collecting msgpack>=0.5.2
  Downloading msgpack-1.0.5.tar.gz (127 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.8/127.8 kB 2.2 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting rapidfuzz<3.0.0,>=2.2.0
  Downloading rapidfuzz-2.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 2.0 MB/s eta 0:00:00
Collecting six>=1.9
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting attrs>=17.4.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 1.1 MB/s eta 0:00:00
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
  Downloading pyrsistent-0.19.3-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 1.3 MB/s eta 0:00:00
Collecting jaraco.classes
  Downloading jaraco.classes-3.2.3-py3-none-any.whl (6.0 kB)
Collecting importlib-metadata>=4.11.4
  Downloading importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Collecting SecretStorage>=3.2
  Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Collecting jeepney>=0.4.2
  Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 848.4 kB/s eta 0:00:00
Collecting ptyprocess>=0.5
  Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (207 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 kB 1.7 MB/s eta 0:00:00
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 1.0 MB/s eta 0:00:00
Collecting certifi>=2017.4.17
  Downloading certifi-2022.12.7-py3-none-any.whl (155 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 1.2 MB/s eta 0:00:00
Collecting distlib<1,>=0.3.6
  Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.5/468.5 kB 1.7 MB/s eta 0:00:00
Collecting virtualenv!=20.4.5,!=20.4.6,<21.0.0,>=20.4.3
  Downloading virtualenv-20.22.0-py3-none-any.whl (3.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 2.0 MB/s eta 0:00:00
  Downloading virtualenv-20.21.1-py3-none-any.whl (8.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.7/8.7 MB 2.5 MB/s eta 0:00:00
Collecting zipp>=0.5
  Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
Collecting cryptography>=2.0
  Downloading cryptography-40.0.2.tar.gz (625 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 625.6/625.6 kB 1.9 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting more-itertools
  Downloading more_itertools-9.1.0-py3-none-any.whl (54 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.2/54.2 kB 1.3 MB/s eta 0:00:00
Collecting cffi>=1.12
  Using cached cffi-1.15.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (472 kB)
Collecting pycparser
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: dulwich, msgpack, cryptography
  Building wheel for dulwich (setup.py): started
  Building wheel for dulwich (setup.py): finished with status 'done'
  Created wheel for dulwich: filename=dulwich-0.20.50-cp311-cp311-linux_ppc64le.whl size=465656 sha256=69937fee2ba251ff4ab054fb4a7effcdc57132bffb9d92b3a476c1915a2386be
  Stored in directory: /root/.cache/pip/wheels/d0/69/62/29322a45d576adae8c84e8b951e475f3b8e84a7bab617bf7bc
  Building wheel for msgpack (pyproject.toml): started
  Building wheel for msgpack (pyproject.toml): finished with status 'done'
  Created wheel for msgpack: filename=msgpack-1.0.5-cp311-cp311-linux_ppc64le.whl size=77323 sha256=fd4b5a35c9900a78966b326495be1457c50deaef278d4f4c44d67ba1cbc8f749
  Stored in directory: /root/.cache/pip/wheels/31/e1/be/9e0401715d0fb4f3c23e5ab702f0e6b0c855eb1ca81d7e5765
  Building wheel for cryptography (pyproject.toml): started
  Building wheel for cryptography (pyproject.toml): still running...
  Building wheel for cryptography (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for cryptography (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [413 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-ppc64le-cpython-311
      creating build/lib.linux-ppc64le-cpython-311/cryptography
      copying src/cryptography/__about__.py -> build/lib.linux-ppc64le-cpython-311/cryptography
      copying src/cryptography/exceptions.py -> build/lib.linux-ppc64le-cpython-311/cryptography
      copying src/cryptography/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography
      copying src/cryptography/utils.py -> build/lib.linux-ppc64le-cpython-311/cryptography
      copying src/cryptography/fernet.py -> build/lib.linux-ppc64le-cpython-311/cryptography
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat
      copying src/cryptography/hazmat/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat
      copying src/cryptography/hazmat/_oid.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat
      creating build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/base.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/name.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/general_name.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/extensions.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/oid.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      copying src/cryptography/x509/ocsp.py -> build/lib.linux-ppc64le-cpython-311/cryptography/x509
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends
      copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings
      copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/backends/openssl
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/types.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/asymmetric
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/ciphers
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/twofactor
      copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/twofactor
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/serialization
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/primitives/kdf
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/openssl
      copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/openssl
      running egg_info
      writing src/cryptography.egg-info/PKG-INFO
      writing dependency_links to src/cryptography.egg-info/dependency_links.txt
      writing requirements to src/cryptography.egg-info/requires.txt
      writing top-level names to src/cryptography.egg-info/top_level.txt
      reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      no previously-included directories found matching 'docs/_build'
      warning: no previously-included files found matching 'vectors'
      warning: no previously-included files matching '*' found under directory 'vectors'
      warning: no previously-included files matching '*' found under directory '.github'
      warning: no previously-included files found matching 'release.py'
      warning: no previously-included files found matching '.readthedocs.yml'
      warning: no previously-included files found matching 'ci-constraints-requirements.txt'
      warning: no previously-included files found matching 'mypy.ini'
      adding license file 'LICENSE'
      adding license file 'LICENSE.APACHE'
      adding license file 'LICENSE.BSD'
      adding license file 'LICENSE.PSF'
      writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
      /tmp/pip-build-env-jwxywavp/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'cryptography.hazmat.bindings._rust' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      /tmp/pip-build-env-jwxywavp/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'cryptography.hazmat.bindings._rust.openssl' is absent from the `packages` configuration.
      !!
      
              ********************************************************************************
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'cryptography.hazmat.bindings._rust.openssl' as an importable package[^1],
              but it is absent from setuptools' `packages` configuration.
      
              This leads to an ambiguous overall configuration. If you want to distribute this
              package, please make sure that 'cryptography.hazmat.bindings._rust.openssl' is explicitly added
              to the `packages` configuration field.
      
              Alternatively, you can also rely on setuptools' discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
      
              You can read more about "package discovery" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
      
              If you don't want 'cryptography.hazmat.bindings._rust.openssl' to be distributed and are
              already explicitly excluding 'cryptography.hazmat.bindings._rust.openssl' via
              `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
              you can try to use `exclude_package_data`, or `include-package-data=False` in
              combination with a more fine grained `package-data` configuration.
      
              You can read more about "package data files" on setuptools documentation page:
      
              - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
      
      
              [^1]: For Python, any directory (with suitable naming) can be imported,
                    even if it does not contain any `.py` files.
                    On the other hand, currently there is no concept of package data
                    directory, all directories are treated like packages.
              ********************************************************************************
      
      !!
        check.warn(importable)
      copying src/cryptography/py.typed -> build/lib.linux-ppc64le-cpython-311/cryptography
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/__init__.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/_openssl.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/asn1.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/ocsp.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/pkcs7.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      copying src/cryptography/hazmat/bindings/_rust/x509.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust
      creating build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/__init__.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      copying src/cryptography/hazmat/bindings/_rust/openssl/x25519.pyi -> build/lib.linux-ppc64le-cpython-311/cryptography/hazmat/bindings/_rust/openssl
      running build_ext
      running build_rust
      cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features pyo3/abi3-py36 pyo3/extension-module --crate-type cdylib --
          Updating crates.io index
       Downloading crates ...
        Downloaded bitflags v1.3.2
        Downloaded aliasable v0.1.3
        Downloaded chrono v0.4.24
        Downloaded cfg-if v1.0.0
        Downloaded parking_lot_core v0.8.6
        Downloaded pkg-config v0.3.26
        Downloaded proc-macro-error-attr v1.0.4
        Downloaded scopeguard v1.1.0
        Downloaded quote v1.0.26
        Downloaded proc-macro-hack v0.5.20+deprecated
        Downloaded proc-macro-error v1.0.4
        Downloaded version_check v0.9.4
        Downloaded base64 v0.13.1
        Downloaded instant v0.1.12
        Downloaded ouroboros v0.15.6
        Downloaded lock_api v0.4.9
        Downloaded openssl-sys v0.9.85
        Downloaded pyo3-macros v0.15.2
        Downloaded foreign-types v0.3.2
        Downloaded cc v1.0.79
        Downloaded autocfg v1.1.0
        Downloaded unicode-ident v1.0.8
        Downloaded unindent v0.1.11
        Downloaded indoc-impl v0.3.6
        Downloaded smallvec v1.10.0
        Downloaded pyo3-macros-backend v0.15.2
        Downloaded ouroboros_macro v0.15.6
        Downloaded iana-time-zone v0.1.54
        Downloaded once_cell v1.14.0
        Downloaded proc-macro2 v1.0.53
        Downloaded asn1 v0.13.0
        Downloaded pyo3-build-config v0.15.2
        Downloaded openssl v0.10.50
        Downloaded syn v1.0.109
        Downloaded pyo3 v0.15.2
        Downloaded libc v0.2.140
        Downloaded indoc v0.3.6
        Downloaded paste-impl v0.1.18
        Downloaded pem v1.1.1
        Downloaded paste v0.1.18
        Downloaded openssl-macros v0.1.0
        Downloaded foreign-types-shared v0.1.1
        Downloaded parking_lot v0.11.2
        Downloaded num-traits v0.2.15
        Downloaded num-integer v0.1.45
        Downloaded asn1_derive v0.13.0
        Downloaded Inflector v0.11.4
         Compiling proc-macro2 v1.0.53
         Compiling quote v1.0.26
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/quote-1.0.26/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=d883cc13a30944e2 -C extra-filename=-d883cc13a30944e2 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/quote-d883cc13a30944e2 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro2-1.0.53/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=790f1f64c4059c8a -C extra-filename=-790f1f64c4059c8a --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro2-790f1f64c4059c8a -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling unicode-ident v1.0.8
           Running `rustc --crate-name unicode_ident --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/unicode-ident-1.0.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=fd4bdab36539bdec -C extra-filename=-fd4bdab36539bdec --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro2-790f1f64c4059c8a/build-script-build`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/quote-d883cc13a30944e2/build-script-build`
           Running `rustc --crate-name proc_macro2 --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro2-1.0.53/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' --cfg 'feature="span-locations"' -C metadata=17e1eace07827a51 -C extra-filename=-17e1eace07827a51 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern unicode_ident=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libunicode_ident-fd4bdab36539bdec.rmeta --cap-lints allow --cfg span_locations --cfg use_proc_macro --cfg wrap_proc_macro`
         Compiling syn v1.0.109
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=29711e0a6bea5090 -C extra-filename=-29711e0a6bea5090 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/syn-29711e0a6bea5090 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/syn-29711e0a6bea5090/build-script-build`
         Compiling autocfg v1.1.0
           Running `rustc --crate-name autocfg /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=377015fdc5f432f4 -C extra-filename=-377015fdc5f432f4 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name quote --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/quote-1.0.26/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=5cf736f688adce6f -C extra-filename=-5cf736f688adce6f --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libproc_macro2-17e1eace07827a51.rmeta --cap-lints allow`
           Running `rustc --crate-name syn --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=13f632766177515f -C extra-filename=-13f632766177515f --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern proc_macro2=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libproc_macro2-17e1eace07827a51.rmeta --extern quote=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libquote-5cf736f688adce6f.rmeta --extern unicode_ident=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libunicode_ident-fd4bdab36539bdec.rmeta --cap-lints allow --cfg syn_disable_nightly_tests`
         Compiling pyo3-build-config v0.15.2
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/pyo3-build-config-0.15.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=679c70826c8f0630 -C extra-filename=-679c70826c8f0630 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/pyo3-build-config-679c70826c8f0630 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling version_check v0.9.4
           Running `rustc --crate-name version_check /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=44a876149f617e23 -C extra-filename=-44a876149f617e23 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/pyo3-build-config-679c70826c8f0630/build-script-build`
         Compiling proc-macro-hack v0.5.20+deprecated
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-hack-0.5.20+deprecated/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=2c4f57a042196a5b -C extra-filename=-2c4f57a042196a5b --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro-hack-2c4f57a042196a5b -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling libc v0.2.140
           Running `rustc --crate-name build_script_build /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/libc-0.2.140/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=33c1c2d95ce22d33 -C extra-filename=-33c1c2d95ce22d33 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/libc-33c1c2d95ce22d33 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling cc v1.0.79
           Running `rustc --crate-name cc --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/cc-1.0.79/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=923619b470301d6c -C extra-filename=-923619b470301d6c --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling once_cell v1.14.0
           Running `rustc --crate-name once_cell --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/once_cell-1.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=34390ac7c871d33b -C extra-filename=-34390ac7c871d33b --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `rustc --crate-name pyo3_build_config --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/pyo3-build-config-0.15.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on --cfg 'feature="abi3"' --cfg 'feature="abi3-py310"' --cfg 'feature="abi3-py36"' --cfg 'feature="abi3-py37"' --cfg 'feature="abi3-py38"' --cfg 'feature="abi3-py39"' --cfg 'feature="default"' --cfg 'feature="resolve-config"' -C metadata=5c466cbda69e6818 -C extra-filename=-5c466cbda69e6818 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern once_cell=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libonce_cell-34390ac7c871d33b.rmeta --cap-lints allow`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/libc-33c1c2d95ce22d33/build-script-build`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro-hack-2c4f57a042196a5b/build-script-build`
         Compiling pkg-config v0.3.26
           Running `rustc --crate-name pkg_config /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/pkg-config-0.3.26/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=37e0b283867e47ac -C extra-filename=-37e0b283867e47ac --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
         Compiling openssl-sys v0.9.85
           Running `rustc --crate-name build_script_main --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/openssl-sys-0.9.85/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=e6083a3784c73962 -C extra-filename=-e6083a3784c73962 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/openssl-sys-e6083a3784c73962 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern cc=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libcc-923619b470301d6c.rlib --extern pkg_config=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libpkg_config-37e0b283867e47ac.rlib --cap-lints allow`
           Running `rustc --crate-name proc_macro_hack --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-hack-0.5.20+deprecated/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=db5492ec64190f00 -C extra-filename=-db5492ec64190f00 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern proc_macro --cap-lints allow`
           Running `rustc --crate-name libc /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/libc-0.2.140/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=28c0b7b3b2c23130 -C extra-filename=-28c0b7b3b2c23130 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
         Compiling proc-macro-error-attr v1.0.4
           Running `rustc --crate-name build_script_build --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=f1383fbff46d14b5 -C extra-filename=-f1383fbff46d14b5 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro-error-attr-f1383fbff46d14b5 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern version_check=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libversion_check-44a876149f617e23.rlib --cap-lints allow`
         Compiling num-traits v0.2.15
           Running `rustc --crate-name build_script_build /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/num-traits-0.2.15/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C overflow-checks=on -C metadata=0537067e7eaf40d9 -C extra-filename=-0537067e7eaf40d9 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/num-traits-0537067e7eaf40d9 -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --extern autocfg=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps/libautocfg-377015fdc5f432f4.rlib --cap-lints allow`
         Compiling cfg-if v1.0.0
           Running `rustc --crate-name cfg_if --edition=2018 /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C overflow-checks=on -C metadata=c36b65e7adfc5ef2 -C extra-filename=-c36b65e7adfc5ef2 --out-dir /tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps -L dependency=/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/deps --cap-lints allow`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/num-traits-0537067e7eaf40d9/build-script-build`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/proc-macro-error-attr-f1383fbff46d14b5/build-script-build`
           Running `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/openssl-sys-e6083a3784c73962/build-script-main`
      error: failed to run custom build command for `openssl-sys v0.9.85`
      
      Caused by:
        process didn't exit successfully: `/tmp/pip-install-d8z2xxl0/cryptography_107242a26d78413eaefb0e4b72381f8e/src/rust/target/release/build/openssl-sys-e6083a3784c73962/build-script-main` (exit status: 101)
        --- stdout
        cargo:rerun-if-env-changed=POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR
        POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
        OPENSSL_LIB_DIR unset
        cargo:rerun-if-env-changed=POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR
        POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
        OPENSSL_INCLUDE_DIR unset
        cargo:rerun-if-env-changed=POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_DIR
        POWERPC64LE_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_DIR
        OPENSSL_DIR unset
        cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
        cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le-unknown-linux-gnu
        cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le_unknown_linux_gnu
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG
        cargo:rerun-if-env-changed=PKG_CONFIG
        cargo:rerun-if-env-changed=OPENSSL_STATIC
        cargo:rerun-if-env-changed=OPENSSL_DYNAMIC
        cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
        cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH_powerpc64le-unknown-linux-gnu
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH_powerpc64le_unknown_linux_gnu
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
        cargo:rerun-if-env-changed=PKG_CONFIG_PATH
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_powerpc64le-unknown-linux-gnu
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_powerpc64le_unknown_linux_gnu
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
        cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_powerpc64le-unknown-linux-gnu
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_powerpc64le_unknown_linux_gnu
        cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
        cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
        run pkg_config fail: Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "openssl"`
        The pkg-config command could not be found.
      
        Most likely, you need to install a pkg-config package for your OS.
        Try `apt install pkg-config`, or `yum install pkg-config`,
        or `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.
      
        If you've already installed it, ensure the pkg-config command is one of the
        directories in the PATH environment variable.
      
        If you did not expect this build to link to a pre-installed system library,
        then check documentation of the openssl-sys crate for an option to
        build the library from source, or disable features or dependencies
        that require pkg-config.
      
        --- stderr
        thread 'main' panicked at '
      
        Could not find directory of OpenSSL installation, and this `-sys` crate cannot
        proceed without this knowledge. If OpenSSL is installed and this crate had
        trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
        compilation process.
      
        Make sure you also have the development packages of openssl installed.
        For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
      
        If you're in a situation where you think the directory *should* be found
        automatically, please open a bug at https://github.com/sfackler/rust-openssl
        and include information about your system as well as this message.
      
        $HOST = powerpc64le-unknown-linux-gnu
        $TARGET = powerpc64le-unknown-linux-gnu
        openssl-sys = 0.9.85
      
      
        It looks like you're compiling on Linux and also targeting Linux. Currently this
        requires the `pkg-config` utility to find OpenSSL but unfortunately `pkg-config`
        could not be found. If you have OpenSSL installed you can likely fix this by
        installing `pkg-config`.
      
        ', /cargo/registry/src/git.luolix.top-1ecc6299db9ec823/openssl-sys-0.9.85/build/find_normal.rs:190:5
        note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
      warning: build failed, waiting for other jobs to finish...
      
          =============================DEBUG ASSISTANCE=============================
          If you are seeing a compilation error please try the following steps to
          successfully install cryptography:
          1) Upgrade to the latest pip and try again. This will fix errors for most
             users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
          2) Read https://cryptography.io/en/latest/installation/ for specific
             instructions for your platform.
          3) Check our frequently asked questions for more information:
             https://cryptography.io/en/latest/faq/
          4) Ensure you have a recent Rust toolchain installed:
             https://cryptography.io/en/latest/installation/#rust
      
          Python: 3.11.1
          platform: Linux-5.10.0-21-powerpc64le-ppc64le-with-glibc2.31
          pip: n/a
          setuptools: 67.7.2
          setuptools_rust: 1.6.0
          rustc: 1.68.2 (9eb3afe9e 2023-03-27)
          =============================DEBUG ASSISTANCE=============================
      
      error: `cargo rustc --lib --message-format=json-render-diagnostics --manifest-path src/rust/Cargo.toml --release -v --features 'pyo3/abi3-py36 pyo3/extension-module' --crate-type cdylib --` failed with code 101
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cryptography
Successfully built dulwich msgpack
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
STEP 11: FROM docker.io/python:3.11-slim-bullseye AS builder
STEP 12: RUN   --mount=type=cache,target=/var/cache/apt,sharing=locked   --mount=type=cache,target=/var/lib/apt,sharing=locked   apt-get update -qq && apt-get install -yqq   build-essential   libffi-dev   libjpeg-dev   libpq-dev   libssl-dev   libwebp-dev   libxml++2.6-dev   libxslt1-dev   openssl   zlib1g-dev   git   curl   libicu-dev   pkg-config   && rm -rf /var/lib/apt/lists/*
Error: error building at STEP "RUN --mount=type=cache,target=/root/.cache/pip pip install --user "poetry==1.3.2"": error while running runtime: exit status 1

Steps to reproduce

get synapse v1.82.0 source
untar
cd into dir
sudo podman build -t synapse/synapse-v1.82.0 -f docker/Dockerfile .

Platform

Debian Bullseye (ppc64le) (Linux 5.10.0-21-powerpc64le SMP Debian 5.10.162-1 (2023-01-21) ppc64le GNU/Linux)

Anything else that would be useful to know?

Issue can be fixed by adding pkg-config to packages in Stage 0.

@DMRobertson
Copy link
Contributor

Issue can be fixed by adding pkg-config to packages in Stage 0.

Thanks for investigating. We'd gratefully accept a PR which does this.

@squahtx squahtx added A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels May 9, 2023
@clokep
Copy link
Member

clokep commented May 12, 2023

I think this was fixed by #15567.

@clokep clokep closed this as completed May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Packaging Our Debian packages, docker images; or issues relevant to downstream packagers O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

4 participants