[MacPorts] #67348: clang-11-bootstrap @11.1.0_4: Attempting to use @rpath without CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being set

MacPorts noreply at macports.org
Tue May 2 17:50:10 UTC 2023


#67348: clang-11-bootstrap @11.1.0_4: Attempting to use @rpath without
CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG being set
---------------------------------+--------------------
  Reporter:  Cebtenzzre          |      Owner:  (none)
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.8.1
Resolution:                      |   Keywords:  tiger
      Port:  clang-11-bootstrap  |
---------------------------------+--------------------

Comment (by Cebtenzzre):

 Better, but there are still problems. I'm running into #67360 for all
 attempts to use gcc 10, plus these compiler errors (I ran make with
 --keep-going this time):
 {{{
 In file included from
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Path.cpp:1151:
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/Path.inc: In function 'std::string
 llvm::sys::fs::getMainExecutable(const char*, void*)':
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/Path.inc:198:7: error:
 '_NSGetExecutablePath' was not declared in this scope
   198 |   if (_NSGetExecutablePath(exe_path, &size) == 0) {
       |       ^~~~~~~~~~~~~~~~~~~~
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/Path.inc: In function 'std::error_code
 llvm::sys::fs::copy_file(const llvm::Twine&, const llvm::Twine&)':
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/Path.inc:1292:19: error:
 'COPYFILE_DATA' was not declared in this scope
  1292 |   uint32_t Flag = COPYFILE_DATA;
       |                   ^~~~~~~~~~~~~
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/Path.inc:1305:7: error: 'copyfile' was
 not declared in this scope; did you mean 'copy_file'?
  1305 |       copyfile(From.str().c_str(), To.str().c_str(), /* State */
 NULL, Flag);
       |       ^~~~~~~~
       |       copy_file
 }}}
 {{{
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/RWMutex.cpp: In constructor
 'llvm::sys::RWMutexImpl::RWMutexImpl()':
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/RWMutex.cpp:112:40: error: expected type-
 specifier before 'MutexImpl'
   112 | RWMutexImpl::RWMutexImpl() : data_(new MutexImpl(false)) { }
       |                                        ^~~~~~~~~
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/RWMutex.cpp: In destructor
 'llvm::sys::RWMutexImpl::~RWMutexImpl()':
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/RWMutex.cpp:115:22: error: 'MutexImpl' does
 not name a type; did you mean 'RWMutexImpl'?
   115 |   delete static_cast<MutexImpl *>(data_);
       |                      ^~~~~~~~~
       |                      RWMutexImpl
 }}}
 {{{
 In file included from
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/ThreadLocal.cpp:42:
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/ThreadLocal.inc: In member function
 'void llvm::sys::ThreadLocalImpl::setInstance(const void*)':
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/Unix/ThreadLocal.inc:66:57: error:
 incompatible types in assignment of 'void*' to 'char [8]'
    66 | void ThreadLocalImpl::setInstance(const void* d) { data =
 const_cast<void*>(d);}
       |
 ~~~~~^~~~~~~~~~~~~~~~~~~~~~
 }}}

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


More information about the macports-tickets mailing list