Skip to content

cmd/dist: misleading warning when compiling with GOROOT_FINAL #5240

Description

@gopherbot

by kballard:

When running ./all.bash with GODIST_FINAL set and $GOROOT/bin not in $PATH, the final
output of ./all.bash incorrectly claims that I need to add $GOROOT/bin to my PATH. This
is incorrect because I actually need $GODIST_FINAL/bin in path. Specifically, this is
what I'm seeing:

  Installed Go for darwin/amd64 in /Volumes/UserData/Users/kballard/go
  Installed commands in /Volumes/UserData/Users/kballard/go/bin
  *** You need to add /Volumes/UserData/Users/kballard/go/bin to your PATH.
  
  On OS X the debuggers must be installed setgid procmod.
  Read and run ./sudo.bash to install the debuggers.
  
  The binaries expect /Volumes/UserData/Users/kballard/go to be copied or moved to /usr/local/go

The line starting with *** is incorrect, as shown by the final line.


Which operating system are you using?
Mac OS X 10.8.3

Which version are you using?  (run 'go version')
go version devel +d58997478ec6 Mon Apr 08 00:09:35 2013 -0700 darwin/amd64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions