Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile:103: *** Unsupported MAC OS X version. Stop. (BigSur 11.4) #56

Open
ilmoi opened this issue Jul 16, 2021 · 3 comments
Open

Makefile:103: *** Unsupported MAC OS X version. Stop. (BigSur 11.4) #56

ilmoi opened this issue Jul 16, 2021 · 3 comments

Comments

@ilmoi
Copy link

ilmoi commented Jul 16, 2021

I've tried running honggfuzz with both the original make that comes with OSX (3.81) and with one installed via homebrew (4.3) - in both cases I get this error:

❯ cargo hfuzz run try-hong
   Compiling honggfuzz v0.5.54
   Compiling arbitrary v1.0.1
   Compiling lazy_static v1.4.0
error: failed to run custom build command for `honggfuzz v0.5.54`

Caused by:
  process didn't exit successfully: `/Users/ilmoi/Downloads/try-hong/hfuzz_target/release/build/honggfuzz-f99475d7c12e0151/build-script-build` (exit code: 101)
  --- stdout
  make: Entering directory '/Users/ilmoi/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.54/honggfuzz'
  make: Leaving directory '/Users/ilmoi/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.54/honggfuzz'

  --- stderr
  Makefile:103: *** Unsupported MAC OS X version.  Stop.
  thread 'main' panicked at 'assertion failed: status.success()', /Users/ilmoi/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.54/build.rs:41:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

The advice here didn't help and I'm not finding anything useful on google.

Is there anything else I can try and do?

I'm on Big Sur 11.4

@PaulGrandperrin
Copy link
Member

The issue is that the upstream project honggfuzz hasn't been updated to work on the latest version of macOS.

See google/honggfuzz#371

The error comes from this line: https://github.com/google/honggfuzz/blob/master/Makefile#L103

In the meantime, I would recommend you to use some Linux to do your fuzzing. Compatibility, features and support is almost always better for this kind of projects.

@ilmoi
Copy link
Author

ilmoi commented Jul 19, 2021

Understood. Thanks for commenting.

VegetarianOrc added a commit to igneous-labs/solana-program-library that referenced this issue Nov 8, 2021
… to honggfuzz not supporting OSX 11.6 (rust-fuzz/honggfuzz-rs#56). Will circle back with maybe running them via docker.
@JekaMas
Copy link

JekaMas commented May 15, 2023

@PaulGrandperrin @ilmoi Just had the same issue with MacOs. I believe google/honggfuzz#371 was closed successfully some time ago.
However, mentioned lines in Makefile are still there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants