google / google/oss-fuzz

curl: Step #6: zip error: Invalid command arguments (short option '' not supported)

Open
#8,839 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

The curl builds have been failing recently (https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52458) with the final error lines:

```
Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp5k5tms54/curl_fuzzer_ftp
Finished Step #4 - "build-check-afl-address-x86_64"
Starting Step #5
Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner
Finished Step #5
Starting Step #6
Step #6: Already have image: gcr.io/oss-fuzz/curl
Step #6:
Step #6: zip error: Invalid command arguments (short option '' not supported)
Finished Step #6
ERROR
ERROR: build step 6 "gcr.io/oss-fuzz/curl" failed: step exited with non-zero status: 16
```

However I can't repro any failure like this locally. What's going on here?

Contributor guide

Open the contributing guide

Research direction

Start with the linked OSS-Fuzz report and the Step #6 failure log, then compare the local build with the cloud build that uses gcr.io/oss-fuzz/curl. Done means identifying why zip receives the unsupported short option and restoring successful curl builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.