Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61497 closed defect (duplicate)

Failed to build clang-9.0: command execution failed - Mac OS X big Sur 11.0.1

Reported by: tiperiu Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: clang-9.0

Description

Hi,

Just updated to the latest mac os, I installed the command lines tools (note that the instruction on the macport site are obsolete for this) I was in the process of reinstalling my sports from the old system, I had many errors - the first of which is this one when installing clang-9.0 (required by qt5-qtcreator)

thank you

Attachments (1)

main.log (4.9 MB) - added by tiperiu 4 years ago.
log file from installing clang-9.0 package

Change History (4)

Changed 4 years ago by tiperiu

Attachment: main.log added

log file from installing clang-9.0 package

comment:1 Changed 4 years ago by tiperiu

Summary: Failed to build clang-9.0: command execution failed - Mac OS X big slur 11.0.1Failed to build clang-9.0: command execution failed - Mac OS X big Sur 11.0.1

comment:2 Changed 4 years ago by kencu (Ken)

Resolution: duplicate
Status: newclosed

duplicate of #61447

comment:3 in reply to:  description Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign added

Replying to 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.

Note: See TracTickets for help on using tickets.