In my case, I'm using go1.8 working fine at /usr/local/go
but when I call sudo all.bash || sudo -E bash ./all.bash || nothing work. :\
ERROR: $GOROOT_BOOTSTRAP must not be set to $GOROOT
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
On Saturday, May 27, 2017 at 10:26:27 AM UTC-3, Filipe
Why the $GOROOT_BOOTSTRAP must not be set to $GOROOT ??
On Saturday, December 10, 2016 at 4:30:25 PM UTC-3, Marko Mudrinić wrote:
>
> Thanks! It's working flawless with -E flag. =)
>
> On Saturday, December 10, 2016 at 8:29:17 PM UTC+1, Dmitri Goutnik wrote:
>>
>> sudo sanitizes environment, you n
Thanks! It's working flawless with -E flag. =)
On Saturday, December 10, 2016 at 8:29:17 PM UTC+1, Dmitri Goutnik wrote:
>
> sudo sanitizes environment, you need to either pass -E option or
> add GOROOT_BOOTSTRAP to env_keep in /etc/sudoers:
>
> Defaults env_keep += "GOROOT_BOOTSTRAP"
>
> On Sat,
sudo sanitizes environment, you need to either pass -E option or
add GOROOT_BOOTSTRAP to env_keep in /etc/sudoers:
Defaults env_keep += "GOROOT_BOOTSTRAP"
On Sat, Dec 10, 2016 at 1:57 PM, xMudrii wrote:
> Hi,
>
> I have downloaded Go 1.4 binaries and moved it to `/usr/local/go1.4` for
> example
`sudo all.bash`
sudo: all.bash: command not found
Same for `sudo ./all.bash`.
But I found out that `sudo -E bash ./all.bash` is working. So I think it's
solved now.
On Saturday, December 10, 2016 at 8:23:17 PM UTC+1, Jan Mercl wrote:
>
>
>
>
> On Sat, Dec 10, 2016 at 8:18 PM xMudrii >
> wrote:
On Sat, Dec 10, 2016 at 8:18 PM xMudrii wrote:
> `sudo bash all.bash`
$ sudo all.bash
--
-j
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsu
Hi,
I have downloaded Go 1.4 binaries and moved it to `/usr/local/go1.4` for
example.
Also I defined GOROOT_BOOTSTRAP variable in my users `.profile` file:
`export GOROOT_BOOTSTRAP=/usr/local/go1.4`
I sourced file and if I run echo $GOROOT_BOOTSTRAP, it'll work correctly.
When I run `bash all.b