Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2023 15:08:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275951] error: failed to run custom build command for `cryptography-cffi v0.1.0
Message-ID:  <bug-275951-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275951

            Bug ID: 275951
           Summary: error: failed to run custom build command for
                    `cryptography-cffi v0.1.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: joel@tahoestores.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

make: stopped in /usr/ports/security/py-cryptography

I am not sure what to make of this port build failure. I suspect that you a=
re
including: rustc: 1.74.1 (a28077b28 2023-12-04) (built from a source tarbal=
l)
has something to do with it.

I am not sure why some ports are inclined to bundle ports like rust when th=
ey
that port is already installed. Seems to me that the bundled version confli=
cts
with the installed version and causes errors.

The entire error msgs:

Caused by:
  process didn't exit successfully:
`/usr/ports/security/py-cryptography/work-py39/cryptography-41.0.7/src/rust=
/target/release/build/c\
ryptography-cffi-3e7459992b0ef835/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=3DPYO3_PYTHON
  cargo:rerun-if-changed=3D../../_cffi_src/
  cargo:rerun-if-changed=3D../../cryptography/__about__.py

  --- stderr
  thread 'main' panicked at cryptography-cffi/build.rs:37:9:
  failed to run build_openssl.py, stdout:

  stderr:
  Traceback (most recent call last):
    File
"/usr/ports/security/py-cryptography/work-py39/cryptography-41.0.7/src/rust=
/cryptography-cffi/../../_cffi_src/build_openssl.p\
y", line 18, in <module>
      ffi =3D build_ffi_for_binding(
    File
"/usr/ports/security/py-cryptography/work-py39/cryptography-41.0.7/src/rust=
/cryptography-cffi/../../_cffi_src/utils.py",
line\
 50, in build_ffi_for_binding
      return build_ffi(
    File
"/usr/ports/security/py-cryptography/work-py39/cryptography-41.0.7/src/rust=
/cryptography-cffi/../../_cffi_src/utils.py",
line\
 62, in build_ffi
      ffi =3D FFI()
    File "/usr/local/lib/python3.9/site-packages/cffi/api.py", line 48, in
__init__
      import _cffi_backend as backend
  ModuleNotFoundError: No module named '_cffi_backend'

The entire build can be viewed at
https://tahoestores.org/py-cryptography.err

Please advise, thanks

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275951-7788>