google / google/oss-fuzz

VSCode extension not working on Mac

Open
#11,489 0 comments 0 reactions 1 assignee Claimed by @DavidKorczynski View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

Dear oss-fuzz team,

I am trying out the new VSCode extension on MacOS 14.1.1. When I try to run the "Build Fuzzers in Workspace" command, the build is not successful due to an illegal "-T" option of the `cp` command, which might come from here: https://github.com/google/oss-fuzz/blob/774ff32addfc21b8371035285fc1ce023afa2691/tools/vscode-extension/src/ossfuzzWrappers.ts#L172-L176

The error message is quite straightforward. It might need a quick fix because macOS does not have a "-T" option in `cp`.
```
CMD start: WSBuildFuzzers3
cp: illegal option -- T
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-aclpSsvXx] source_file ... target_directory
Command execution errored
[object Object]
Failed to build fuzzers
CMD end: WSBuildFuzzers4
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.