Coder Social home page Coder Social logo

Missing dependency(?) about stellar HOT 7 CLOSED

ehazlett avatar ehazlett commented on June 24, 2024
Missing dependency(?)

from stellar.

Comments (7)

ehazlett avatar ehazlett commented on June 24, 2024

I ran into this a lot with some of the caddy dependencies. Let me take a look to see if I can reproduce.

from stellar.

ehazlett avatar ehazlett commented on June 24, 2024

Ok I was able to reproduce and just pushed a quick fix to the docker build dockerfile. It's not the greatest as the COPY busts the go module vendor but once buildkit integration is fully complete we can leverage that for some better caching. It should be building now (I tested both x86 and arm compiles). Thanks for reporting!

from stellar.

Hades32 avatar Hades32 commented on June 24, 2024

Thanks for the quick fix!

Unfortunately I now get a new error which doesn't really help...

go: finding github.com/hashicorp/go-cleanhttp v0.5.0
go: finding github.com/codegangsta/cli v1.20.0
go: finding github.com/ehazlett/element v0.0.0-20181026123607-f8763a7a1632
go: error loading module requirements
The command '/bin/sh -c go mod vendor' returned a non-zero code: 1
Makefile:33: recipe for target 'docker-build' failed
make: *** [docker-build] Error 1

any ideas?

from stellar.

ehazlett avatar ehazlett commented on June 24, 2024

ugh I'm getting random failures now as well. I'm going to re-think the vendoring and see if I can find why go mod vendor isn't placing all the needed deps in the local vendor.

from stellar.

ehazlett avatar ehazlett commented on June 24, 2024

OK so some how vendor/github.com/xenolf/acme was added as a submodule. I've fixed it (as well as removed the Go module vendoring for now) so all dependencies should reside in vendor. I also checked on a completely fresh aws instance just to be sure. Thanks for reporting and sorry for the issues!

from stellar.

Hades32 avatar Hades32 commented on June 24, 2024

Now it works perfectly! Thanks!

What's the reason for using the vendor dir anyway? Why don't you use go modules only?

from stellar.

ehazlett avatar ehazlett commented on June 24, 2024

@Hades32 the vendor dir is for backwards compat (pre-Go module versions) and to be able to build locally in the event of a network failure. There is also the issue if someone removes a branch or rebases (I've ran into this as well with Go modules).

from stellar.

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.