[MacPorts] #64146: rust on Mac OS 10.6.8?

MacPorts noreply at macports.org
Sun Jun 12 17:11:42 UTC 2022


#64146: rust on Mac OS 10.6.8?
--------------------------+----------------------
  Reporter:  catap        |      Owner:  catap
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:
      Port:  rust         |
--------------------------+----------------------

Comment (by MarcusCalhoun-Lopez):

 The problem seems to be that curl-sys looks for the static runtime library
 by [https://github.com/alexcrichton/curl-
 rust/commit/a6969c03b1e8f66bc4c801914327176ed38f44c5 running clang].\\
 On Mac OS X 10.6, `clang --print-search-dirs` returns an empty
 directory.\\
 Attempting to link with `-L/lib/darwin -lclang_rt.osx` results in a
 [https://github.com/alexcrichton/curl-
 rust/commit/b3a3ce876921f2e82a145d9abd539cd8f9b7ab7b failure].\\

 On my test machine, I was following the strategy from
 UsingTheRightCompiler, and `clang`
 [https://svn.macports.org/repository/macports/users/ryandesign/no_default_gcc/
 failed] instead of returning an empty directory.\\
 MacPorts [https://github.com/macports/macports-
 ports/blob/adb3f21cf227f414b5f9ee3f4a3b8272d94c598d/lang/rust/Portfile#L100
 links the static library] for other reasons Mac OS X 10.6, so
 [https://github.com/alexcrichton/curl-rust/issues/279 the upstream error]
 did not materialize.

 There are pull request to fix the problem [https://github.com/macports
 /macports-ports/pull/15121 in MacPorts] and
 [https://github.com/alexcrichton/curl-rust/pull/451 upstream].

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


More information about the macports-tickets mailing list