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

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

    XMLWordPrintable

    Details

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

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                david.golden David Golden
                Reporter:
                patrikx3 Patrik Laszlo
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: