Opened 9 years ago

Closed 8 years ago

#49844 closed defect (fixed)

port select for clang misses creating 'clang-apply-replacements' symlink

Reported by: cjones051073 (Chris Jones) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mamoll (Mark Moll)
Port: clang_select

Description

Running port select for clang seems to miss one sym link, as running clang-modernize leads to

Failed to launch clang-apply-replacements: Executable "" doesn't exist!

after having selected macports clang 3.8.

Oberon ~/LHCb/MVATraining > sudo port select clang
Available versions for clang:
	mp-clang-3.8 (active)
	none

and looking in the bin area the link is indeed missing for this one binary.

Oberon /opt/local/bin > ls -lth clang*
lrwxr-xr-x  1 root  admin    27B 29 Nov 15:23 clang -> /opt/local/bin/clang-mp-3.8
lrwxr-xr-x  1 root  admin    29B 29 Nov 15:23 clang++ -> /opt/local/bin/clang++-mp-3.8
lrwxr-xr-x  1 root  admin    34B 29 Nov 15:23 clang-format -> /opt/local/bin/clang-format-mp-3.8
lrwxr-xr-x  1 root  admin    37B 29 Nov 15:23 clang-modernize -> /opt/local/bin/clang-modernize-mp-3.8
-rwxr-xr-x  1 root  admin    62B 28 Nov 09:12 clang++-mp-3.8
-rwxr-xr-x  1 root  admin    79B 28 Nov 09:12 clang-apply-replacements-mp-3.8
-rwxr-xr-x  1 root  admin    67B 28 Nov 09:12 clang-format-mp-3.8
-rwxr-xr-x  1 root  admin    70B 28 Nov 09:12 clang-modernize-mp-3.8
-rwxr-xr-x  1 root  admin    60B 28 Nov 09:12 clang-mp-3.8

Please can clang_select be updated to also create the sym link for clang-apply-replacements ?

cheers Chris

Change History (7)

comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Unfortunately not without revbumping all the ports.

comment:2 Changed 9 years ago by cjones051073 (Chris Jones)

annoying i guess, but is it a reason not too ? Most users i guess get clang via the binary tarballs anyway.

Last edited 9 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… removed
Owner: changed from macports-tickets@… to jeremyhu@…
Summary: port select for clang misses creating 'clang-apply-replacements' sum linkport select for clang misses creating 'clang-apply-replacements' symlink

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

No. It's just a reason to batch this up with potential other changes that we may need to make which require a revbump.

comment:5 Changed 9 years ago by cjones051073 (Chris Jones)

Ah right, I see. That is very reasonable yes...

comment:6 Changed 9 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

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

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