Opened 8 years ago

Closed 8 years ago

#50664 closed defect (fixed)

clang_select tries to symlink clang-modernize but it doesn't exist for clang-3.[8,9]

Reported by: dev@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: clang_select

Description

I've installed clang-3.8 and tried to activate it with the command

sudo port select --set clang mp-clang-3.8

The resulting error message is

Selecting 'mp-clang-3.8' for 'clang' failed: could not create new link "/opt/local/bin/clang-modernize": target "/opt/local/bin/clang-modernize-mp-3.8" doesn't exist

Running

ls /opt/local/bin/ | grep clang

lists the following files:

clang++-mp-3.8
clang-apply-replacements-mp-3.8
clang-check-mp-3.8
clang-cl-mp-3.8
clang-format-mp-3.8
clang-mp-3.8
clang-query-mp-3.8
clang-rename-mp-3.8
clang-tidy-mp-3.8
git-clang-format-mp-3.8

Clearly clang-modernize-mp-3.8 does not exists.

Change History (4)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… removed
Keywords: select clang removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 8 years ago by dev@…

Any update on this? What would be a quick fix?

comment:3 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I just need to do this the next time I bump them for other reasons. No point in forcing a rebuild just for this. I'll be doing that soon for a polly codegen fix.

comment:4 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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