gigalixir / homebrew-brew

0 stars 0 forks source link

Failed building wheel for cffi #5

Open fklement opened 1 month ago

fklement commented 1 month ago

During installation I encounter the following error:

Last 15 lines from /Users/fklement/Library/Logs/Homebrew/gigalixir/03.python3:
  1 error generated.
  error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for cffi (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/gigalixir/1.13.1/libexec/bin/python /opt/homebrew/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmpk2hlckeu
  cwd: /private/tmp/gigalixir--cffi-20241011-30468-rfjm88/cffi-1.15.1
  Building wheel for cffi (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
rodolfoghi commented 1 week ago

Same issue here.

$ brew install gigalixir
Building wheel for cffi (pyproject.toml) did not run successfully. ==> Downloading https://formulae.brew.sh/api/formula.jws.json ==> Fetching gigalixir/brew/gigalixir ==> Downloading https://files.pythonhosted.org/packages/b0/ee/9b19140fe824b367c04c5e1b369942dd754c4c5462d5674002f75c4dedc1/certifi-2024.8.30.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/18e13a2d3e9a6526069dfa4193934fc84cc77cd36cb7ec4cb6f2971d47f6cd9b--certifi-2024.8.30.tar.gz ==> Downloading https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/89944296f6018c29a3dd9eb2ec338f753b53fb0e227a56396f3ded0f93a4cb86--cffi-1.17.1.tar.gz ==> Downloading https://files.pythonhosted.org/packages/f2/4f/e1808dc01273379acc506d18f1504eb2d299bd4131743b9fc54d7be4df1e/charset_normalizer-3.4.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/9352f3e65b66c8ac22e5ae7646670e6f18916cd485224bd3198a27d2024fed7e--charset_normalizer-3.4.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/96/d3/f04c7bfcf5c1862a2a5b845c6b2b360488cf47af55dfa79c98f6a6bf98b5/click-8.1.7.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/514f2631bcd0db35f916229ad1892d0b17f42488b77d1fb384e957226d714f37--click-8.1.7.tar.gz ==> Downloading https://files.pythonhosted.org/packages/0d/05/07b55d1fa21ac18c3a8c79f764e2514e6f6a9698f1be44994f5adf0d29db/cryptography-43.0.3.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/370de2d83c7d72f204a87087c4caa2e7bfe2e77a67e43604f0f6d9b3e8937c14--cryptography-43.0.3.tar.gz ==> Downloading https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/3affd3078a0b5d59318795b81185b5e4662f3e539ac8d41a58c9e2ed94b0e138--idna-3.10.tar.gz ==> Downloading https://files.pythonhosted.org/packages/cd/12/33e59336dca5be0c398a7482335911a33aa0e20776128f038019f1a95f1b/importlib_metadata-8.5.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/0f4b0fcd273418ef293493814858bec90fc743b13a922ee5da80f8cbf28475de--importlib_metadata-8.5.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/5e8f4716befd99b120c16f955aebde76d0d3573d3b8bc3a82f5578ef7716ff3f--pycparser-2.22.tar.gz ==> Downloading https://files.pythonhosted.org/packages/8e/62/8336eff65bcbc8e4cb5d05b55faf041285951b6e80f33e2bff2024788f31/pygments-2.18.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/ed3fac6e333b1a19843519938dedcdb11ba73d75f6a2494623501346de3b80e1--pygments-2.18.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/5d/70/ff56a63248562e77c0c8ee4aefc3224258f1856977e0c1472672b62dadb8/pyopenssl-24.2.1.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/1d59a33e8cbbf904db1bb26783f3cc140de1286a4a81fdd6ffd68e767a62bd3a--pyopenssl-24.2.1.tar.gz ==> Downloading https://files.pythonhosted.org/packages/d7/db/6fc9631cac1327f609d2c8ae3680ecd987a2e97472437f2de7ead1235156/qrcode-8.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/ca03030a5a244d1d5be5da113d452843e818848eba297e25a2eba4376d3eae00--qrcode-8.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/63/70/2bf7780ad2d390a8d301ad0b550f1581eadbd9a20f896afe06353c2a2913/requests-2.32.3.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/26cafcb79fc854ec4e90131ac2e75dc79dedf682a8ffeb12ffad30db3dfbd030--requests-2.32.3.tar.gz ==> Downloading https://files.pythonhosted.org/packages/a7/63/ff156ee27ea24a18f78eac7288b16f88d999c919b3767f4ebb1bd06f5ad9/rollbar-1.0.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/f8228b8be118c1fe62f6cd068a5f1b9908e00e13c7a52e4cf6d728ce0546bb17--rollbar-1.0.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/3090f0022e8388f5c3bbff25d19f54b7af62562659cbf599e5f7fb044f280199--six-1.16.0.tar.gz ==> Downloading https://files.pythonhosted.org/packages/3f/82/0732dd3c352c047cdde76aed389c0b7386faa6ffad2b2d952729b593a6c2/stripe-11.1.1.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/b2a3707886cd602d796908f30e56df25f70ed0c1ef6e26b1569437856b274309--stripe-11.1.1.tar.gz ==> Downloading https://files.pythonhosted.org/packages/df/db/f35a00659bc03fec321ba8bce9420de607a1d37f8342eee1863174c69557/typing_extensions-4.12.2.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/04c04e7bff5b5fa35222ee3ed3c023212f2978f75ded0c18f91ac728c07fc748--typing_extensions-4.12.2.tar.gz ==> Downloading https://files.pythonhosted.org/packages/ed/63/22ba4ebfe7430b76388e7cd448d5478814d3032121827c12a2cc287e2260/urllib3-2.2.3.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/bb8803d915a4cc5328c49fabf0eddbe45fe97d5b4768065fae0917e4eabf1618--urllib3-2.2.3.tar.gz ==> Downloading https://files.pythonhosted.org/packages/54/bf/5c0000c44ebc80123ecbdddba1f5dcd94a5ada602a9c225d84b5aaa55e86/zipp-3.20.2.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/a253253bc5a94832a24ff0519433b95af9e7dbcdc05f659da3d8692698f6a1dd--zipp-3.20.2.tar.gz ==> Downloading https://github.com/gigalixir/gigalixir-cli/archive/v1.13.1.tar.gz Already downloaded: /home/rghiggi/.cache/Homebrew/downloads/1e28d6ae167dd64e05a6686155cac46c06227fe7c1fd5869aec3dafe17188ef2--gigalixir-cli-1.13.1.tar.gz ==> Installing gigalixir from gigalixir/brew ==> python3 -m venv --system-site-packages --without-pip /home/linuxbrew/.linuxbrew/Cellar/gigalixir/1.13.1/libexec ==> python3 -m pip --python=/home/linuxbrew/.linuxbrew/Cellar/gigalixir/1.13.1/libexec/bin/python install /tmp/gigalixir--certifi-20241114-19428-9or971/certifi-2024.8.30 ==> python3 -m pip --python=/home/linuxbrew/.linuxbrew/Cellar/gigalixir/1.13.1/libexec/bin/python install /tmp/gigalixir--cffi-20241114-19428-ovfpp8/cffi-1.17.1 Last 15 lines from /home/rghiggi/.cache/Homebrew/Logs/gigalixir/03.python3: × Building wheel for cffi (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/linuxbrew/.linuxbrew/Cellar/gigalixir/1.13.1/libexec/bin/python /home/linuxbrew/.linuxbrew/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpy5gjh1kp cwd: /tmp/gigalixir--cffi-20241114-19428-ovfpp8/cffi-1.17.1 Building wheel for cffi (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for cffi Failed to build cffi [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python -m pip install --upgrade pip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi) If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/gigalixir/homebrew-brew/issues

$ uname -r

5.15.167.4-microsoft-standard-WSL2

$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble