[MacPorts] #64088: cargo-c fails to build on 10.13

MacPorts noreply at macports.org
Fri Dec 3 07:08:19 UTC 2021


#64088: cargo-c fails to build on 10.13
-----------------------+---------------------------------
  Reporter:  bK4gYuRo  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  cargo-c
      Port:  cargo-c   |
-----------------------+---------------------------------

Comment (by tomio-arisaka):

 This is my solution to the issue:


 {{{
 $ sudo port select --set clang mp-clang-13
 $ sudo port install cargo-c
 $ sudo port select --set clang none
 }}}

 Results:

 {{{
 $ port installed cargo-c
 The following ports are currently installed:
   cargo-c @0.9.5_0 (active)
 $
 $ xcodebuild -version
 Xcode 9.4.1
 Build version 9F2000
 $
 }}}

 I don't know why the issue happens.
 But, there are the following differences between the failed case and the
 succeeded case:

 * The failed case log includes the next option:  "-L
 /Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/lib/darwin"

 * The succeeded case log includes the next option:  "-L
 /opt/local/libexec/llvm-13/lib/clang/13.0.0/lib/darwin"

 I have installed the "Command Line Tools" before.

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


More information about the macports-tickets mailing list