[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
Mon May 1 22:05:28 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):

 That fix appears to have worked, now it successfully configures but fails
 to build. Should I open a new ticket?
 {{{
 :info:build
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp: In function 'void
 setThreadBackgroundPriority()':
 :info:build
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:442:15: error:
 'PRIO_DARWIN_THREAD' was not declared in this scope
 :info:build   442 |   setpriority(PRIO_DARWIN_THREAD, 0, PRIO_DARWIN_BG);
 :info:build       |               ^~~~~~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:442:38: error:
 'PRIO_DARWIN_BG' was not declared in this scope
 :info:build   442 |   setpriority(PRIO_DARWIN_THREAD, 0, PRIO_DARWIN_BG);
 :info:build       |                                      ^~~~~~~~~~~~~~
 :info:build
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp: In function 'bool
 hasThreadBackgroundPriority()':
 :info:build
 /opt/local/var/macports/build/_Users_cebtenzzre_ports_lang_clang-11-bootstrap/clang-11-bootstrap/work
 /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:448:22: error:
 'PRIO_DARWIN_THREAD' was not declared in this scope
 :info:build   448 |   return getpriority(PRIO_DARWIN_THREAD, 0) == 1;
 :info:build       |                      ^~~~~~~~~~~~~~~~~~
 :info:build make[2]: ***
 [lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o] Error
 1
 :info:build make[2]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list