Comments (11)
You could try checking out a specific version of depot_tools, as suggested here: https://github.com/MultiChain/multichain/blob/master/V8_mac.md I do not have this step in my scripts. It appears that there is some difference between the checkouts, as your log says to build 672 targets, while mine only builds 667. V8 and the other sources should be the same. I'll kick off a build for master myself.
from multichain.
Ok so my build of master fails with the same error as yours. Let me know whether checking out depot_tools properly works.
from multichain.
You can delete the build caches in Travis.
from multichain.
No luck from my side. Tried with the checkout, without depth and deleting cache.
from multichain.
So the thing that appears to do the trick was to ignore the extra semicolon warning as well (first stage is succeeding now): paciofs@a8025cb Cannot be bothered figuring out what was going wrong here.
Yup: https://travis-ci.org/paciofs/multichain/builds/523862865
from multichain.
I realized someone might be worried about the authenticity of the builds, so here is what you can do. I'm going to use https://github.com/paciofs/multichain/releases/tag/2.0-dev-20190123T153408 as an example.
- Downlad the binary:
$ wget https://github.com/paciofs/multichain/releases/download/2.0-dev-20190123T153408/multichain-2.0-dev-42e424a-osx.tar.gz
- Compute the SHA256 hash:
$ shasum -a 256 multichain-2.0-dev-42e424a-osx.tar.gz | cut -f 1 -d ' '
93a5db98282672ba6a83c5bfdf0b93e9edc2aed49f9c54446670a10d6ee3751f
- Check out the Travis build log (link is provided in the release notes on GitHub, the line numbers may differ) and compare the SHA256 printed there (I also print the file size and SHA1 hash):
https://travis-ci.org/paciofs/multichain/jobs/484983883#L2357
Hopefully this convinces you that I have not uploaded a forged version from my laptop. The build log, script and checkout is all public, so you can trace every step. Finally you can compare the branches across repositories: 2.0-dev...paciofs:2.0-dev and you should find only differences related to building MultiChain on Travis.
from multichain.
@robert-schmidtke I was wondering if you ever managed to get Travis CI working on master/2.0-release? I tried copying your configurations file but the second stage always fail to me.
+cd ./v8
+export RELEASE=out.gn/x64.release
+RELEASE=out.gn/x64.release
+ninja -C out.gn/x64.release antlr4 icu inspector torque v8_libbase v8_libplatform v8_libsampler
ninja: Entering directory `out.gn/x64.release'
[6/672] CXX obj/v8_libbase/file-utils.o
FAILED: obj/v8_libbase/file-utils.o
....[CASCADE OF ERRORS]....
6 errors generated.
[8/672] CXX obj/v8_libbase/ieee754.o
ninja: build stopped: subcommand failed.
The command "./.travis/build-v8.sh antlr4 icu inspector torque v8_libbase v8_libplatform v8_libsampler" failed and exited with 1 during .
I saw in your Travis CI that yours is working, but they skipped building v8 because it was cached. I wonder if something has changed, even though you checkout a specific branch? Perhaps do you have any clues on that?
from multichain.
In addition to what I described in the initial post, I also added the 2.0-release branch (see https://github.com/paciofs/multichain/releases). I have not tried building the master branch. I checked out the version of V8 as suggested in https://github.com/MultiChain/multichain/blob/master/V8_mac.md and then built it accordingly. In the meantime, the developers have provided a prebuilt version of V8 for Mac: https://github.com/MultiChain/multichain-binaries/raw/master/macos-v8.tar.gz Maybe you could try that instead? I don't think something has changed in V8, the last time it was built in Travis is here: https://travis-ci.org/paciofs/multichain/builds/502041701 Maybe you can compare the logs/environment/configuration?
from multichain.
I have not tried building the master branch
Apparently it should be no issue, as the difference between the 2.0-release and master right now are just the travis files.
Mine fails in the second stage for some reason that I can't explain. I checked your logs line by line and they match exactly until... they don't.
Summary:
ninja: Entering directory `out.gn/x64.release'
[6/672] CXX obj/v8_libbase/file-utils.o
FAILED: obj/v8_libbase/file-utils.o
6 errors generated.
[7/672] CXX obj/v8_libbase/logging.o
FAILED: obj/v8_libbase/logging.o
6 errors generated.
[8/672] CXX obj/v8_libbase/ieee754.o
ninja: build stopped: subcommand failed.
The command "./.travis/build-v8.sh antlr4 icu inspector torque v8_libbase v8_libplatform v8_libsampler" failed and exited with 1 during .
Which is absolutely bonkers because the repository wast a match by match with yours, with the exception of pointing to my own multichain repository instead of here, but the error was before all that.
Absolutely strange to me this... I'm trying again, let's see.
from multichain.
Nice catch with suggestion! Running build right now
from multichain.
Failed [477/672] CXX obj/v8_libbase/file-utils.o
I'm trying again but without the --depth=1.
If it doesn't work then I'll probably be using the compiled V8 already.
from multichain.
Related Issues (20)
- multichain-cli can't connect to the remote node HOT 9
- Linux 18 Build fail - /v8/v8engine.h:10:10: fatal error: v8.h: No such file or directory #include <v8.h>
- getnewadress or keypollrefill - return error in cold wallet
- Compiling MultiChain on Mac OS X Mojave
- RPC 500 HTTP error on not found block and tx
- The RPC server response error data on high concurrent requests.
- Compile error HOT 1
- compile error HOT 2
- liststreamitems pagination does not work for descending ordering HOT 2
- "Forgetting" the private part of an address?
- "-initprivkey" broken with 2.1.1 HOT 2
- "-rpcport" not honored in "params.dat" HOT 3
- Wrong address tried to connect to other nodes HOT 4
- Wishlist: RPC call to wait
- Poor native blockchain currency settings means no one can submit transactions HOT 8
- Item data should be hexadecimal string HOT 1
- Missing error message details on non-mandatory-script-verify-flag HOT 1
- Smart Filter: Error when passing strings like: 'I\'m a valid string!'
- SmartFilter: JS-Code size limit? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multichain.