[MacPorts] #62843: py-cryptography @3.4.7: ports failing to build for MacOS 10.12 and earlier

MacPorts noreply at macports.org
Sat May 8 14:53:10 UTC 2021


#62843: py-cryptography @3.4.7: ports failing to build for MacOS 10.12 and earlier
---------------------+-----------------------------
 Reporter:  mascguy  |      Owner:  stromnov
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  py-cryptography
---------------------+-----------------------------
 I'm seeing two potential linker-related issues:

 {{{
      Running `rustc --crate-name cryptography_rust --edition=2018
 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-
 type cdylib --emit=dep-info,link -C opt-level=3 -C lto=thin --crate-type
 cdylib -C link-arg=-undefined -C link-arg=dynamic_lookup -C
 metadata=f440199ca35a370a --out-dir /opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 cryptography/py39-cryptography/work/pyca-cryptography-
 b2536af/src/rust/target/x86_64-apple-darwin/release/deps --target x86_64
 -apple-darwin -L dependency=/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 cryptography/py39-cryptography/work/pyca-cryptography-
 b2536af/src/rust/target/x86_64-apple-darwin/release/deps -L
 dependency=/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 cryptography/py39-cryptography/work/pyca-cryptography-
 b2536af/src/rust/target/release/deps --extern
 pyo3=/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_python_py-
 cryptography/py39-cryptography/work/pyca-cryptography-
 b2536af/src/rust/target/x86_64-apple-
 darwin/release/deps/libpyo3-1cc1820c704d7621.rlib -C
 linker=/opt/local/libexec/rust-compiler-wrap/bin/ld -C 'link-
 args=-Wl,-install_name, at rpath/_rust.abi3.so'`
 error: linking with `/opt/local/libexec/rust-compiler-wrap/bin/ld` failed:
 exit code: 1
 }}}

 And:

 {{{
   = note: ld: unknown option:
 -exported_symbols_list,/opt/local/var/macports/build
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62843>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list