Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2180

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

    • Type: Icon: Question Question
    • Resolution: Works as Designed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 4.0.5
    • Component/s: All Tools
    • Labels:
      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@mongodb.com David Golden
            Reporter:
            alabard@gmail.com Patrik Laszlo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: