Consensys / mythx-cli

A command line interface for the MythX smart contract security analysis API
https://mythx-cli.readthedocs.io/
MIT License
84 stars 29 forks source link

Unsupported macOS version #34

Closed maurelian closed 4 years ago

maurelian commented 4 years ago

Description

mythx analyze --mode quick contracts/**/*.sol
Unsupported macOS version.
We only support Mavericks, Yosemite, El Capitan, Sierra, High Sierra and Mojave.
Usage: mythx analyze [OPTIONS] [TARGET]...

Error: Error installing solc version v0.5.10: Command '['sh', '/var/folders/vk/01zl87497jx6bq66fhhhd9zm0000gn/T/py-solc-x-tmp/solidity_0.5.10/scripts/install_deps.sh']' returned non-zero exit status 1.
dmuhs commented 4 years ago

This is an issue with the py-solc-x dependency. Could you open up an issue there? I'll notify the developers that I can also make a PR to add support if necessary :+1:

dmuhs commented 4 years ago

Bumped to the latest py-solc-x version in mythx-cli==0.5.3. The changes from https://github.com/iamdefinitelyahuman/py-solc-x/issues/26 are in now. :+1:

mds1 commented 4 years ago

I'm currently getting the same issue:

mythx analyze contracts/ContractName.sol
Unsupported macOS version.
We only support Mavericks, Yosemite, El Capitan, Sierra, High Sierra and Mojave.
WARNING:solcx:Command '['sh', '/var/folders/12/7t1jw7md6tl7l0bn5k7qm3fc0000gn/T/solcx-tmp-66983/so
lidity_0.5.0/scripts/install_deps.sh']' returned non-zero exit status 1.

Using

Below is the output from mythx version

╒═════════╤══════════════════════════════════╕
│ Api     │ v1.6.0                           │
├─────────┼──────────────────────────────────┤
│ Maru    │ 0.7.4                            │
├─────────┼──────────────────────────────────┤
│ Mythril │ 0.22.1                           │
├─────────┼──────────────────────────────────┤
│ Harvey  │ 0.0.41                           │
├─────────┼──────────────────────────────────┤
│ Hash    │ df2ac71c075a98d70dddb7d0a30b9f79 │
╘═════════╧══════════════════════════════════╛

However, it does seem like everything ran successfully.

From this comment in the issue created by @maurelian, it seems this is actually a warning that can be ignored. However, that's not clear from the error message so I'm not totally sure if everything is running as expected.