[MacPorts] #66974: lldb-9.0 fails to install

MacPorts noreply at macports.org
Tue Feb 21 22:12:19 UTC 2023


#66974: lldb-9.0 fails to install
----------------------------+----------------------
 Reporter:  clintolsen      |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.8.1
 Keywords:  lldb-9.0 cmake  |       Port:  lldb-9.0
----------------------------+----------------------
 I'm sure there's something trivially wrong. It fails out of the gate with
 a cmake error:

 {{{
 Checking whether the ASM compiler is GNU using "--version" did not match
 "(GNU assembler)|(GCC)|(Free Software Foundation)":
 Apple clang version 14.0.0 (clang-1400.0.29.202)
 Target: arm64-apple-darwin21.6.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 Determining if the include file link.h exists failed with the following
 output:
 Change Dir:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/build/CMakeFiles/CMakeTmp

 Run Build Command(s):/usr/bin/make -f Makefile cmTC_3c33f/fast &&
 /Library/Developer/CommandLineTools/usr/bin/make  -f
 CMakeFiles/cmTC_3c33f.dir/build.make CMakeFiles/cmTC_3c33f.dir/build
 Building C object CMakeFiles/cmTC_3c33f.dir/CheckIncludeFile.c.o
 /usr/bin/clang   -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -arch
 x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -mmacosx-version-min=12.0 -MD -MT
 CMakeFiles/cmTC_3c33f.dir/CheckIncludeFile.c.o -MF
 CMakeFiles/cmTC_3c33f.dir/CheckIncludeFile.c.o.d -o
 CMakeFiles/cmTC_3c33f.dir/CheckIncludeFile.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-9.0/lldb-9.0/work/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10:
 fatal error: 'link.h' file not found
 #include <link.h>
          ^~~~~~~~
 1 error generated.
 make[1]: *** [CMakeFiles/cmTC_3c33f.dir/CheckIncludeFile.c.o] Error 1
 make: *** [cmTC_3c33f/fast] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66974>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list