[MacPorts] #67597: Unable to upgrade rust to 1.70.0_0

MacPorts noreply at macports.org
Sat Jun 10 02:39:54 UTC 2023


#67597: Unable to upgrade rust to 1.70.0_0
---------------------+---------------------------------
  Reporter:  RobK88  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  accepted
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:
      Port:  rust    |
---------------------+---------------------------------

Comment (by RobK88):

 Yes, I can confirm that I was able to upgrade `rust` to version 1.70.0
 using `clang-16`.  That is, I used the following to upgrade `rust` on my
 Mac running High Sierra.

 {{{
 sudo port -vs upgrade rust configure.compiler=macports-clang-16
 }}}


 {{{
 $ rustc --version
 rustc 1.70.0 (90c541806 2023-05-31) (built from a source tarball)
 }}}


 So it looks like the default compiler on High Sierra (`clang-10`) is
 unable to compile `rust` version 1.70.0.


 {{{
 $ cc --version
 Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 Target: x86_64-apple-darwin17.7.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 Grinchs-MacBook-Pro:~ rob$
 Grinchs-MacBook-Pro:~ rob$ clang --version
 Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 Target: x86_64-apple-darwin17.7.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 }}}

 You may want to consider blacklisting `clang-10` in the Portfile for
 `rust`.  You might need to blacklist other compiler as well.

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


More information about the macports-tickets mailing list