[MacPorts] #66591: rust @1.66.0: trouble building universal arm64/x86_64

MacPorts noreply at macports.org
Mon Jan 2 17:57:11 UTC 2023


#66591: rust @1.66.0: trouble building universal arm64/x86_64
---------------------+---------------------------------
  Reporter:  kencu   |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  closed
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:  fixed   |   Keywords:
      Port:  rust    |
---------------------+---------------------------------

Comment (by kencu):

 It might be something specific to the rav1e build, I suppose. In the
 x86_64 target, all the dylibs are arm64, but the rav1e binary is x86_64:

 {{{

 % find ./rav1e-0.5.1-x86_64/target | grep dylib | xargs file
 ./rav1e-0.5.1-x86_64/target/aarch64-apple-darwin/release/librav1e.dylib:
 Mach-O 64-bit dynamically linked shared library arm64
 ./rav1e-0.5.1-x86_64/target/aarch64-apple-
 darwin/release/deps/librav1e.dylib:                  Mach-O 64-bit
 dynamically linked shared library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libnoop_proc_macro-
 b6ab08a856a90633.dylib:            Mach-O 64-bit dynamically linked shared
 library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libnum_derive-
 4fda59adadbd9587.dylib:                 Mach-O 64-bit dynamically linked
 shared library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/librust_hawktracer_proc_macro-
 3ebbe354c8c07b39.dylib: Mach-O 64-bit dynamically linked shared library
 arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libpaste-20e5d05a7d7e8cfe.dylib:
 Mach-O 64-bit dynamically linked shared library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libsimd_helpers-
 f72d8d5113bb2161.dylib:               Mach-O 64-bit dynamically linked
 shared library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libthiserror_impl-
 5a95860f9ea52449.dylib:             Mach-O 64-bit dynamically linked
 shared library arm64
 ./rav1e-0.5.1-x86_64/target/release/deps/libarg_enum_proc_macro-
 d93e60f432b7cc0d.dylib:        Mach-O 64-bit dynamically linked shared
 library arm64

  % find ./rav1e-0.5.1-x86_64/target | grep release/rav1e | xargs file
 ./rav1e-0.5.1-x86_64/target/x86_64-apple-darwin/release/rav1e.d:
 ASCII text, with very long lines (25836)
 ./rav1e-0.5.1-x86_64/target/x86_64-apple-darwin/release/rav1e:
 Mach-O 64-bit executable x86_64
 ./rav1e-0.5.1-x86_64/target/aarch64-apple-darwin/release/rav1e-
 uninstalled.pc: ASCII text
 ./rav1e-0.5.1-x86_64/target/aarch64-apple-darwin/release/rav1e.pc:
 ASCII text
 ./rav1e-0.5.1-x86_64/target/aarch64-apple-darwin/release/rav1e.h:
 c program text, Unicode text, UTF-8 text
 }}}

 so how messed up is that?

 I will try another port and see what happens there.

-- 
Ticket URL: <https://trac.macports.org/ticket/66591#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list