Giter Site home page Giter Site logo

Comments (8)

bcodesido avatar bcodesido commented on August 18, 2024

Thanks for the report.
We updated our documentation in the reproducible build article in the rskj wiki.

from artifacts.

janbraiins avatar janbraiins commented on August 18, 2024

Not sure, what you mean by the update, the snippet how to run the build is still the same just the security chain verification is now more ellaborate.
Let me know how to clarify this.

Thanks,

Jan

from artifacts.

bcodesido avatar bcodesido commented on August 18, 2024

The script you run to secure the chain downloads and verify the gradle wrapper.
That should solve the issue. 😄

from artifacts.

janbraiins avatar janbraiins commented on August 18, 2024

I am not sure what you mean by the comment. The script fails with the above error. I have checked out the latest tag GINGER-0.2.1. Looking at the origin, I don't see any recent fixes inside the script. I am assuming that the documentation should somehow reflect what needs to be done to build it inside the docker.

The example I gave was a shell session inside of the container so that I could investigate why it cannot find/download gradle. The container can reach the Internet.

from artifacts.

bcodesido avatar bcodesido commented on August 18, 2024

We have already fixed the README.md to reflect what needs to be done.

from artifacts.

janbraiins avatar janbraiins commented on August 18, 2024

I hope you won't take this as an offense. I am aware of the reproducible parameter but this is not the problem here. The thing just can't find the gradle class. Nothing is being downloaded, just this plain error. Is the Docker file missing any important part that needs to be part of the image then?

docker run -v $(pwd):/rskj -w /rskj -ti rsk-buildmachine:latest ./gradlew shadow reproducible
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

I have tested the above on the current master branch of rskj and the result is exactly the same.

from artifacts.

bcodesido avatar bcodesido commented on August 18, 2024

The docker container purpose is to reproduce the build, the README.md says that. Following the reproducible build procedure you will found that is needed to verify the secure chain. The secure chain verification also initialize the repo once is cloned by download your missing gradle wrapper.

from artifacts.

janbraiins avatar janbraiins commented on August 18, 2024

Thank you that explains the whole issue. I didn't need the verification for the test build and thus didn't run the configure.sh

from artifacts.

Related Issues (7)

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.