Skip to content

Instantly share code, notes, and snippets.

@NunoAlexandre
Last active October 12, 2021 08:12
Show Gist options
  • Save NunoAlexandre/981c1f39c4e9ecaceb9a63ca3e88a4b0 to your computer and use it in GitHub Desktop.
Save NunoAlexandre/981c1f39c4e9ecaceb9a63ca3e88a4b0 to your computer and use it in GitHub Desktop.
=> ERROR [9/9] RUN brownie compile 29.1s
------
> [9/9] RUN brownie compile:
#13 1.187 Brownie v1.16.4 - Python development framework for Ethereum
#13 1.187
13.5kiB [00:00, 632kiB/s]
#13 1.458 Downloading from https://solc-bin.ethereum.org/linux-amd64/solc-linux-amd64-v0.8.7+commit.e28d00a7
100%|██████████| 12.1M/12.1M [00:21<00:00, 558kiB/s]
#13 23.33 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
#13 23.41 Downloading from https://solc-bin.ethereum.org/linux-amd64/solc-linux-amd64-v0.8.9+commit.e5eed63a
0%| | 0.00/12.4M [00:00<?, ?iB/s]WARNING: Unable to compile autoluminescent/mock-contract@4.1.0 due to a SolcInstallationError - you may still be able to import sources from the package, but will be unable to load the package directly.
#13 23.50
100%|██████████| 12.4M/12.4M [00:05<00:00, 2.25MiB/s]
#13 29.01 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
#13 29.02 File "brownie/_cli/__main__.py", line 64, in main
#13 29.02 importlib.import_module(f"brownie._cli.{cmd}").main()
#13 29.02 File "brownie/_cli/compile.py", line 50, in main
#13 29.02 proj = project.load()
#13 29.02 File "brownie/project/main.py", line 750, in load
#13 29.02 return Project(name, project_path)
#13 29.02 File "brownie/project/main.py", line 182, in __init__
#13 29.02 self.load()
#13 29.02 File "brownie/project/main.py", line 237, in load
#13 29.02 self._compile(changed, self._compiler_config, False)
#13 29.02 File "brownie/project/main.py", line 94, in _compile
#13 29.02 build_json = compiler.compile_and_format(
#13 29.02 File "brownie/project/compiler/__init__.py", line 105, in compile_and_format
#13 29.02 find_solc_versions(solc_sources, install_needed=True, silent=silent)
#13 29.02 File "brownie/project/compiler/solidity.py", line 173, in find_solc_versions
#13 29.02 install_solc(*to_install)
#13 29.02 File "brownie/project/compiler/solidity.py", line 105, in install_solc
#13 29.02 solcx.install_solc(version, show_progress=True)
#13 29.02 File "solcx/install.py", line 466, in install_solc
#13 29.02 raise exc
#13 29.02 File "solcx/install.py", line 459, in install_solc
#13 29.02 _validate_installation(version, solcx_binary_path)
#13 29.02 File "solcx/install.py", line 636, in _validate_installation
#13 29.02 raise SolcInstallationError(
#13 29.02 SolcInstallationError: Downloaded binary would not execute, or returned unexpected output. If this issue persists, you can try to compile from source code using `solcx.compile_solc('0.8.9')`.
------
executor failed running [/bin/sh -c brownie compile]: exit code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment