Created
July 6, 2018 21:48
-
-
Save tinybike/3fe7b58759edce816297204c981cb6c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jack@substrate:~/src/augur-core$ npm run build | |
> augur-core@1.0.0-20 build /home/jack/src/augur-core | |
> npm run build:source && npm run lint && npm run build:contracts && npm run build:interfaces | |
> augur-core@1.0.0-20 build:source /home/jack/src/augur-core | |
> npx tsc | |
> augur-core@1.0.0-20 lint /home/jack/src/augur-core | |
> npx solium --dir source --reporter=gcc | |
> augur-core@1.0.0-20 build:contracts /home/jack/src/augur-core | |
> npm run build:flattener && . venv/bin/activate && node output/deployment/compileContracts.js | |
> augur-core@1.0.0-20 build:flattener /home/jack/src/augur-core | |
> source/tools/installSolidityFlattener | |
+ '[' -d venv ']' | |
+ ./venv/bin/pip install augur-solidity-flattener==0.2.3 | |
Requirement already satisfied: augur-solidity-flattener==0.2.3 in ./venv/lib/python3.5/site-packages (0.2.3) | |
Compiling contracts, this may take a minute... | |
Error: Process Exit Code 1 | |
libraries/IOwnable.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
libraries/ITyped.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
libraries/Initializable.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
libraries/token/ERC20Basic.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
libraries/token/ERC20.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IReputationToken.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
trading/ICash.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
trading/IShareToken.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IReportingParticipant.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IMailbox.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IMarket.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IUniverse.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IFeeWindow.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
reporting/IFeeToken.sol:1:1: Error: Source file requires different compiler version (current compiler is 0.4.24+commit.e67f0147.Linux.g++ - note that nightly builds are considered to be strictly less than the released version | |
pragma solidity 0.4.20; | |
^---------------------^ | |
Traceback (most recent call last): | |
File "/home/jack/src/augur-core/venv/bin/solidity_flattener", line 4, in <module> | |
flattener.core.main() | |
File "/home/jack/src/augur-core/venv/lib/python3.5/site-packages/flattener/core.py", line 108, in main | |
solc_proc.check_returncode() | |
File "/usr/lib/python3.5/subprocess.py", line 659, in check_returncode | |
self.stderr) | |
subprocess.CalledProcessError: Command '['solc', '--ast', '--allow-paths', '.', 'trading/IShareToken.sol']' returned non-zero exit status 1 | |
at ChildProcess.<anonymous> (/home/jack/src/augur-core/source/libraries/ContractCompiler.ts:38:45) | |
at emitTwo (events.js:131:20) | |
at ChildProcess.emit (events.js:214:7) | |
at maybeClose (internal/child_process.js:925:16) | |
at Socket.stream.socket.on (internal/child_process.js:346:11) | |
at emitOne (events.js:116:13) | |
at Socket.emit (events.js:211:7) | |
at Pipe._handle.close [as _onclose] (net.js:554:12) | |
> augur-core@1.0.0-20 build:interfaces /home/jack/src/augur-core | |
> node output/tools/generateContractInterfaces.js | |
Compiling contracts, this may take a minute... | |
Error: Process Exit Code 127 | |
/bin/sh: solidity_flattener: command not found | |
at ChildProcess.<anonymous> (/home/jack/src/augur-core/source/libraries/ContractCompiler.ts:38:45) | |
at emitTwo (events.js:131:20) | |
at ChildProcess.emit (events.js:214:7) | |
at maybeClose (internal/child_process.js:925:16) | |
at Socket.stream.socket.on (internal/child_process.js:346:11) | |
at emitOne (events.js:116:13) | |
at Socket.emit (events.js:211:7) | |
at Pipe._handle.close [as _onclose] (net.js:554:12) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! augur-core@1.0.0-20 build:interfaces: `node output/tools/generateContractInterfaces.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the augur-core@1.0.0-20 build:interfaces script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/jack/.npm/_logs/2018-07-06T21_46_05_291Z-debug.log | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! augur-core@1.0.0-20 build: `npm run build:source && npm run lint && npm run build:contracts && npm run build:interfaces` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the augur-core@1.0.0-20 build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/jack/.npm/_logs/2018-07-06T21_46_05_317Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment