building the tools, throws the error "Current path '$(pwd)' doesn't resemble a GOPATH-style path. Aborting."

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Works as Designed
    • Priority: Trivial - P5
    • None
    • Affects Version/s: 4.0.5
    • Component/s: All Tools
    • None
    • Environment:
      linux

      Hello,

      For Debian Testing I have to build the mongo tools by hand.

      With 4.0.4, there was no problem, with 4.0.5 I consume this error:

      Current path '$(pwd)' doesn't resemble a GOPATH-style path. Aborting.

       

      https://github.com/mongodb/mongo-tools/blob/master/set_goenv.sh#L71

       

      All I do was doing:

      BUILD=$DIR/../build/

      git clone https://github.com/mongodb/mongo-tools

      git checkout tags/${MONGODB_RELEASE}

      bash ./build.sh

       ... and I get this error now

      No, I have to create this path, which looks unneeded:

      BUILD=$DIR/../build/src/github.com/mongodb/

      git clone https://github.com/mongodb/mongo-tools

      git checkout tags/${MONGODB_RELEASE}

      bash ./build.sh

       

      What do you think?

            Assignee:
            David Golden
            Reporter:
            Patrik Laszlo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: