Opened 8 months ago

Closed 8 months ago

#68273 closed defect (fixed)

clang-14 @14.0.6_2+analyzer: couldn't read file ".../clang_rt.asan_ios_dynamic.dir/link.txt": no such file or directory

Reported by: murrayE Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: MaddTheSane (C.W. Betts)
Port: clang-14

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (105.8 KB) - added by murrayE 8 months ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 8 months ago by murrayE

Attachment: main.log added

main.log

comment:1 Changed 8 months ago by MaddTheSane (C.W. Betts)

Cc: MaddTheSane added

comment:2 Changed 8 months ago by MaddTheSane (C.W. Betts)

Do you have the iOS SDKs installed?

I don't and am having the same issue (M1 as well).

comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sonoma added
Port: clang-14 added; clang-14.0.6_2+analyzer.darwin_23.arm64 removed
Summary: clang-14 won't configure after reinstalled MacPorts to macos Sonoma 14.0 on M1 Macclang-14 @14.0.6_2+analyzer: couldn't read file ".../clang_rt.asan_ios_dynamic.dir/link.txt": no such file or directory

comment:4 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

I believe this was fixed two hours ago in [c04f7bf1e4b0aed2d1167ce0e498b8529b949335/macports-ports]; please try again after running sudo port selfupdate.

comment:5 Changed 8 months ago by murrayE

Yes, fixed now. Thank you for letting us know so quickly.

comment:6 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.