make: *** [install] Error 71
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
I'm getting this error running make install from the root directory after cloning this repo. How do I resolve this?
rm -f "SourceKitten.pkg"
rm -rf "/tmp/SourceKitten.dst"
swift package clean
install -d "/usr/local/bin"
install: chmod 755 /usr/local/bin: Operation not permitted
install "/Users/me/Desktop/SourceKitten/.build/arm64-apple-macosx/release/sourcekitten" "/usr/local/bin"
install: /Users/me/Desktop/SourceKitten/.build/arm64-apple-macosx/release/sourcekitten: No such file or directory
make: *** [install] Error 71
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing make install from the repository root and inspect the install target behind the reported command sequence. Check how the target handles /usr/local/bin permissions and the missing .build/arm64-apple-macosx/release/sourcekitten path; done means the command completes and installs the executable successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100