[MacPorts] #65148: py310-cryptography: error: linking with `cc` failed: exit status: 1

MacPorts noreply at macports.org
Mon May 9 22:01:25 UTC 2022


#65148: py310-cryptography: error: linking with `cc` failed: exit status: 1
------------------------+-----------------------------
 Reporter:  ryandesign  |      Owner:  stromnov
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:  yosemite    |       Port:  py-cryptography
------------------------+-----------------------------
 py310-cryptography failed to build on Yosemite:
 {{{
 :info:build error: linking with `cc` failed: exit status: 1
 :info:build   |
 :info:build   = note: "cc" "-m64" "-arch" "x86_64"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.0.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.1.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.10.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.11.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.12.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.13.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.14.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.15.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.2.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.3.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.4.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.5.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.6.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.7.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.8.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.build_script_build.5863e48c-
 cgu.9.rcgu.o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798.9cw809z83zyeruu.rcgu.o" "-L"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/deps" "-L"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib/libstd-
 2267b89b52a89c34.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /libpanic_unwind-d4fe5626b94ad397.rlib" "/opt/bblocal/lib/rustlib/x86_64
 -apple-darwin/lib/libobject-930dd0f269423f83.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-
 890b93fd163a14cd.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /libaddr2line-348b710fee0e9a4e.rlib" "/opt/bblocal/lib/rustlib/x86_64
 -apple-darwin/lib/libgimli-5c9801828c5b1c9c.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-
 59442225f84349a4.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /libstd_detect-15d8cae37863e6a6.rlib" "/opt/bblocal/lib/rustlib/x86_64
 -apple-darwin/lib/libhashbrown-92c7fa3d550fa405.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /librustc_std_workspace_alloc-2e74373919305d12.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib/libunwind-
 3a6040e293521e8c.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /libcfg_if-e5cecc5177c72e72.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-
 darwin/lib/liblibc-7fee8f9fcda802ef.rlib" "/opt/bblocal/lib/rustlib/x86_64
 -apple-darwin/lib/liballoc-03429b7442abf702.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /librustc_std_workspace_core-fc26738952614a2f.rlib"
 "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib/libcore-
 61fbb865c837dd2f.rlib" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib
 /libcompiler_builtins-f37414c8fa7f9d05.rlib" "-lSystem" "-lresolv" "-lc"
 "-lm" "-liconv" "-L" "/opt/bblocal/lib/rustlib/x86_64-apple-darwin/lib"
 "-o"
 "/opt/bblocal/var/macports/build/_opt_bblocal_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 cryptography/py310-cryptography/work/pyca-cryptography-
 e20fd30/src/rust/target/release/build/proc-macro-hack-ac587d3e7d4d5798
 /build_script_build-ac587d3e7d4d5798" "-Wl,-dead_strip" "-nodefaultlibs"
 :info:build   = note: 0  0x10748b342  __assert_rtn + 144
 :info:build           1  0x10749d488  void
 std::__1::vector<mach_o::relocatable::Parser<x86>::FixupInAtom,
 std::__1::allocator<mach_o::relocatable::Parser<x86>::FixupInAtom>
 >::__push_back_slow_path<mach_o::relocatable::Parser<x86>::FixupInAtom>(mach_o::relocatable::Parser<x86>::FixupInAtom&&)
 + 0
 :info:build           2  0x107494024
 mach_o::relocatable::Parser<x86_64>::addFixup(mach_o::relocatable::Parser<x86_64>::SourceLocation
 const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 34
 :info:build           3  0x10748f1c3
 mach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&,
 macho_relocation_info<Pointer64<LittleEndian> > const*) + 1649
 :info:build           4  0x1074a21c6
 mach_o::relocatable::Section<x86_64>::makeFixups(mach_o::relocatable::Parser<x86_64>&,
 mach_o::relocatable::Parser<x86_64>::CFI_CU_InfoArrays const&) + 92
 :info:build           5  0x10749e854
 mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
 const&) + 2148
 :info:build           6  0x10749692e
 mach_o::relocatable::Parser<x86_64>::parse(unsigned char const*, unsigned
 long long, char const*, long, ld::File::Ordinal,
 mach_o::relocatable::ParserOptions const&) + 388
 :info:build           7  0x1074c4ccf
 archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry
 const*) const + 761
 :info:build           8  0x1074c41e2
 archive::File<x86_64>::justInTimeforEachAtom(char const*,
 ld::File::AtomHandler&) const + 122
 :info:build           9  0x1074dea75
 ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool,
 ld::File::AtomHandler&) const + 265
 :info:build           10  0x1074e7db8
 ld::tool::Resolver::resolveUndefines() + 160
 :info:build           11  0x1074ea117  ld::tool::Resolver::resolve() + 79
 :info:build           12  0x10748c060  main + 812
 :info:build           13  0x1079a35c9  start + 1
 :info:build           A linker snapshot was created at:
 :info:build           /tmp/build_script_build-
 ac587d3e7d4d5798-2022-04-09-205349.ld-snapshot
 :info:build           ld: Assertion failed: (name != NULL), function
 Fixup, file
 /Library/Caches/com.apple.xbs/Sources/ld64/ld64-253.9/src/ld/ld.hpp, line
 525.
 :info:build           clang: error: linker command failed with exit code 1
 (use -v to see invocation)
 :info:build
 :info:build error: linking with `cc` failed: exit status: 1
 :info:build   |
 :info:build   = note: "cc" "-m64" "-arch" "x86_64"
 }}}
 {{{
 :info:build     =============================DEBUG
 ASSISTANCE=============================
 :info:build     If you are seeing a compilation error please try the
 following steps to
 :info:build     successfully install cryptography:
 :info:build     1) Upgrade to the latest pip and try again. This will fix
 errors for most
 :info:build        users. See: https://pip.pypa.io/en/stable/installing
 /#upgrading-pip
 :info:build     2) Read https://cryptography.io/en/latest/installation/
 for specific
 :info:build        instructions for your platform.
 :info:build     3) Check our frequently asked questions for more
 information:
 :info:build        https://cryptography.io/en/latest/faq/
 :info:build     4) Ensure you have a recent Rust toolchain installed:
 :info:build        https://cryptography.io/en/latest/installation/#rust
 :info:build
 :info:build     Python: 3.10.4
 :info:build     platform: macOS-10.10.5-x86_64-i386-64bit
 :info:build     pip: 22.0.4
 :info:build     setuptools: 62.1.0
 :info:build     setuptools_rust: 0.12.1
 :info:build     =============================DEBUG
 ASSISTANCE=============================
 :info:build
 :info:build error: cargo failed with code: 101
 }}}

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


More information about the macports-tickets mailing list