Giter Club home page Giter Club logo

Comments (7)

pmorie avatar pmorie commented on June 19, 2024

working on this now

from open-service-broker-sdk.

jmrodri avatar jmrodri commented on June 19, 2024

The specific scenario under which I hit this issue does not yet work.

  1. clone project to some directory
  2. create a symlink to the project, locate the symlink in your GOPATH
  3. attempt to build
  4. fails

If I comment out the export GOPATH line in the Makefile everything works as I'd expect. I'm not sure if there are any other side effects of doing this though.

from open-service-broker-sdk.

jmrodri avatar jmrodri commented on June 19, 2024
  1. checkout code directly into GOPATH, WORKS
  2. checkout code directly into GOPATH, create symlink FROM another dir, WORKS
  3. checkout code outside GOPATH, create symlink IN GOPATH, FAILS

from open-service-broker-sdk.

eparis avatar eparis commented on June 19, 2024

In general symlinks + golang == failure. There are long standing incompatibilities with golang and symlinks which are constantly closed by the golang core team with an explanation that golang does not support symlinks. Whenever anything comes along that works the golang core team's answer is "great that works, but it might not tomorrow, you must follow the golang way"

kubernetes and openshift try to make symlink hacks work when we know they can, but in general we will not invest time into making it work. After enough hits on the head it becomes apparent that if one can not change the golang core team the only option is to conform.

from open-service-broker-sdk.

jmrodri avatar jmrodri commented on June 19, 2024

@eparis that's understandable. But if I comment out the export GOPATH defined in the Makefile all three of my scenarios work fine. If it's not something we plan to fix, then I can close and just live with it.

from open-service-broker-sdk.

jmrodri avatar jmrodri commented on June 19, 2024

Fixed by PR #12

from open-service-broker-sdk.

bparees avatar bparees commented on June 19, 2024

closing since this was fixed, but we still have a bad "getting started" experience since we now rely on the user having a valid GOPATH defined, as well as a proper directory structure.

from open-service-broker-sdk.

Related Issues (14)

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.