swagger-api / swagger-api/swagger-codegen
swagger-codegen 3.0.23 build issue
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
👋 run into some OSX build issue the error log is as below.
12:21:09.078 [main] INFO i.s.v.g.online.GeneratorController - using destination path
12:21:09.152 [main] DEBUG i.s.v.g.online.GeneratorController - generate start - lang: java, version: V3, specURL: null, spec: {
"openapi" : "3.0.0",
"servers" : [,
12:21:09.153 [main] ERROR i.s.v.g.u.FileAccessSecurityManager - Blocking attempt to write to not allowed directory for file /var/folders/g4/hmj3z8n96sb6nldr3_0gm7040000gp/T/codegen-4708154575602983896-tmp
java.lang.SecurityException: Unable to create temporary file
relates to https://github.com/Homebrew/homebrew-core/pull/63950
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
The report identifies FileAccessSecurityManager and a macOS temporary-file failure; start by reproducing the build from the error log and tracing that class's directory checks. Compare behavior with the linked Homebrew pull request; done means the macOS build can create its temporary file without the SecurityException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, macos
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100