[MacPorts] #61396: rust @1.47.0: fails to build on Big Sur

MacPorts noreply at macports.org
Wed Nov 11 06:02:33 UTC 2020


#61396: rust @1.47.0: fails to build on Big Sur
-------------------------+--------------------
  Reporter:  5nefarious  |      Owner:  (none)
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.99
Resolution:  invalid     |   Keywords:  bigsur
      Port:  clang-9.0   |
-------------------------+--------------------
Changes (by ryandesign):

 * cc: larryv, kencu, jeremyhu (added)
 * port:  rust => clang-9.0


Comment:

 Ok, the main.log says the problem is:

 {{{
 projects/compiler-
 rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:31: error:
 invalid application of 'sizeof' to an incomplete type 'struct stat64'
   unsigned struct_stat64_sz = sizeof(struct stat64);
                               ^     ~~~~~~~~~~~~~~~

 }}}

 I haven't seen this before, but I see that you are trying to build a 3-way
 universal binary for arm64, i386 and x86_64, which you may be the first
 person to attempt, so it's not surprising you may run into some issues.
 32-bit is dead as of macOS 10.15, so I suggest removing i386 from your
 universal_archs in macports.conf.

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


More information about the macports-tickets mailing list