Giter Site home page Giter Site logo

Comments (11)

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024 1

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.

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024 1

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.

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024 1

You can delete the build caches in Travis.

from multichain.

tloriato avatar tloriato commented on September 24, 2024 1

No luck from my side. Tried with the checkout, without depth and deleting cache.

from multichain.

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024 1

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.

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024

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.

  1. Downlad the binary:
$ wget https://github.com/paciofs/multichain/releases/download/2.0-dev-20190123T153408/multichain-2.0-dev-42e424a-osx.tar.gz
  1. Compute the SHA256 hash:
$ shasum -a 256 multichain-2.0-dev-42e424a-osx.tar.gz | cut -f 1 -d ' '
93a5db98282672ba6a83c5bfdf0b93e9edc2aed49f9c54446670a10d6ee3751f
  1. 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.

tloriato avatar tloriato commented on September 24, 2024

@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.

robert-schmidtke avatar robert-schmidtke commented on September 24, 2024

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.

tloriato avatar tloriato commented on September 24, 2024

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.

Screen Shot 2019-04-23 at 11 31 02 AM

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.

tloriato avatar tloriato commented on September 24, 2024

Nice catch with suggestion! Running build right now

from multichain.

tloriato avatar tloriato commented on September 24, 2024

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.

@robert-schmidtke

from multichain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.