[MacPorts] #68273: clang-14 @14.0.6_2+analyzer: couldn't read file ".../clang_rt.asan_ios_dynamic.dir/link.txt": no such file or directory (was: clang-14 won't configure after reinstalled MacPorts to macos Sonoma 14.0 on M1 Mac)
MacPorts
noreply at macports.org
Thu Sep 28 20:29:15 UTC 2023
#68273: clang-14 @14.0.6_2+analyzer: couldn't read file
".../clang_rt.asan_ios_dynamic.dir/link.txt": no such file or directory
-----------------------+--------------------
Reporter: murrayE | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: sonoma
Port: clang-14 |
-----------------------+--------------------
Changes (by ryandesign):
* keywords: => sonoma
* port: clang-14.0.6_2+analyzer.darwin_23.arm64 => clang-14
Old description:
> I don't understand exactly what is causing the error, but I find this in
> the log:
>
> {{{{
> :info:configure CMake Warning:
> :info:configure Manually-specified variables were not used by the
> project:
> :info:configure CMAKE_OBJCXX_COMPILER
> :info:configure CMAKE_OBJC_COMPILER
> :info:configure CMAKE_POLICY_DEFAULT_CMP0025
> :info:configure CMAKE_POLICY_DEFAULT_CMP0060
> :info:configure -- Build files have been written to:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build
> :debug:configure Executing proc-post-org.macports.configure-configure-0
> :debug:configure configure.ccache restored to no
> :debug:configure Executing proc-post-org.macports.configure-configure-1
> :debug:configure Executing proc-post-org.macports.configure-configure-2
> :info:configure ---> Patching link.txt:
> s|-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk||
> :debug:configure Executing reinplace: /usr/bin/sed
> s|-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk||
> </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
> /compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt
> >@file18
> :debug:configure couldn't read file
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
> /compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt":
> no such file or directory
> :debug:configure while executing
> :debug:configure "exec -ignorestderr -- {*}$cmdline"
> :error:configure reinplace: couldn't read file
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
> /compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt":
> no such file or directory
> :error:configure Failed to configure clang-14: reinplace sed(1) failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: reinplace sed(1) failed
> :debug:configure while executing
> :debug:configure "$post $targetname"
> }}}}
>
> The error occurred while I was trying to install sundials5, which has
> clang-14 as a dependency.
New description:
I don't understand exactly what is causing the error, but I find this in
the log:
{{{
:info:configure CMake Warning:
:info:configure Manually-specified variables were not used by the
project:
:info:configure CMAKE_OBJCXX_COMPILER
:info:configure CMAKE_OBJC_COMPILER
:info:configure CMAKE_POLICY_DEFAULT_CMP0025
:info:configure CMAKE_POLICY_DEFAULT_CMP0060
:info:configure -- Build files have been written to:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build
:debug:configure Executing proc-post-org.macports.configure-configure-0
:debug:configure configure.ccache restored to no
:debug:configure Executing proc-post-org.macports.configure-configure-1
:debug:configure Executing proc-post-org.macports.configure-configure-2
:info:configure ---> Patching link.txt:
s|-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk||
:debug:configure Executing reinplace: /usr/bin/sed
s|-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk||
</opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt
>@file18
:debug:configure couldn't read file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt":
no such file or directory
:debug:configure while executing
:debug:configure "exec -ignorestderr -- {*}$cmdline"
:error:configure reinplace: couldn't read file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-14/clang-14/work/build/projects
/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_ios_dynamic.dir/link.txt":
no such file or directory
:error:configure Failed to configure clang-14: reinplace sed(1) failed
:debug:configure Error code: NONE
:debug:configure Backtrace: reinplace sed(1) failed
:debug:configure while executing
:debug:configure "$post $targetname"
}}}
The error occurred while I was trying to install sundials5, which has
clang-14 as a dependency.
--
--
Ticket URL: <https://trac.macports.org/ticket/68273#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list