Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28288

Windows MongoDB 3.4.1 tools show "built-without-version-string" instead of the actual version

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.4, 3.5.4
    • Affects Version/s: None
    • Component/s: Tools
    • Labels:
      None
    • Environment:
      Windows 7
    • Fully Compatible
    • v3.4
    • Platforms 2017-03-06, Platforms 2017-04-17

      I have downloaded and installed the latest (3.4.1) for Windows: "Windows Server 2008 R2 64-bit and later, with SSL support x64".

      When running all "go" related tools with the /version flag the git and tool version are missing and replaced with "built-without-git-spec" and "built-without-version-string":

      C:\Program Files\MongoDB\Server\3.4\bin>mongodump.exe /version
      mongodump version: built-without-version-string
      git version: built-without-git-spec
      Go version: go1.7
         os: windows
         arch: amd64
         compiler: gc
      OpenSSL version: OpenSSL 1.0.1t  3 May 2016
      
      C:\Program Files\MongoDB\Server\3.4\bin>mongorestore.exe /version
      mongorestore version: built-without-version-string
      git version: built-without-git-spec
      Go version: go1.7
         os: windows
         arch: amd64
         compiler: gc
      OpenSSL version: OpenSSL 1.0.1t  3 May 2016
      

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            pavel.duchovny@mongodb.com Pavel Duchovny
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: