Opened 5 months ago

Last modified 5 months ago

#68815 assigned defect

clang-devel-20230925-f5cb9cb5_0+analyzer: CMake Error: failed to create symbolic link '.../outline_atomic_ldclr2_4.S': File exists

Reported by: amadeus24 Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma arm64 Cc: cjones051073 (Chris Jones)
Port: clang-devel

Description

Tried to install clang-devel on M1 Max MacBook Pro.

Attachments (1)

main.log (3.1 MB) - added by amadeus24 5 months ago.

Change History (3)

Changed 5 months ago by amadeus24

Attachment: main.log added

comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: cjones051073 added
Keywords: sonoma arm64 added; clang-level failed to build removed
Milestone: MacPorts 2.9.0
Owner: set to jeremyhu
Port: clang-devel added; clang-level removed
Status: newassigned
Summary: clang-level failed to buildclang-devel-20230925-f5cb9cb5_0+analyzer: CMake Error: failed to create symbolic link '.../outline_atomic_ldclr2_4.S': File exists

The log says:

:info:build CMake Error: failed to create symbolic link '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-devel/clang-devel/work/build/projects/compiler-rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_ldclr2_4.S': File exists

comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Earlier in the log it says:

:info:build [  1%] Generating outline_atomic_helpers.dir/outline_atomic_ldclr2_4.S
:info:build [  1%] Generating outline_atomic_helpers.dir/outline_atomic_ldclr2_4.S

The fact that it's trying to generate it twice implies that Makefile dependencies are not declared correctly in this project and that the problem might only affect parallel builds and that simply retrying might allow the build to succeed. If it does not, you can retry and add build.jobs=1 to the end of the port install or port upgrade command line to disable parallel building.

Wrong Makefile dependencies would be a problem that needs to be reported to the developers of clang so that they can fix it.

Note: See TracTickets for help on using tickets.