[MacPorts] #61497: Failed to build clang-9.0: command execution failed - Mac OS X big Sur 11.0.1

MacPorts noreply at macports.org
Mon Nov 16 17:58:02 UTC 2020


#61497: Failed to build clang-9.0: command execution failed - Mac OS X big Sur
11.0.1
------------------------+--------------------
  Reporter:  tiperiu    |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:  duplicate  |   Keywords:
      Port:  clang-9.0  |
------------------------+--------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 Replying to [ticket:61497 tiperiu]:
 >
 > I installed the command lines tools (note that the instruction on the
 macport site are obsolete for this)

 Which URL, which instructions specifically?

 The main.log says the problem is:

 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/projects
 /compiler-
 rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:31: error:
 invalid application of 'sizeof' to an incomplete type 'struct stat64'
 :info:build   unsigned struct_stat64_sz = sizeof(struct stat64);
 :info:build                               ^     ~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/clang-9.0/work/llvm-9.0.1.src/projects
 /compiler-
 rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:169:45: note:
 forward declaration of '__sanitizer::stat64'
 }}}

 So this is a duplicate of #61477.

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


More information about the macports-tickets mailing list