long time a go there was a bug open in GO that go didn't work with https /
user in proxy

and then was other in special characters in the password.

If you have a proxy:

myproxy=http://user:pass@server:port

export http_proxy=$myproxy

export https_proxy=$myproxy

export HTTP_PROXY=$myproxy

export HTTPS_PROXY=$myproxy

before go get

if you have special character like # or : @ in the password, try to escape
to http values ie `%20C` (not an actual one, just to show how they look)
them.

Alvaro.

On Fri, Oct 28, 2016 at 4:46 PM, Dan Tran <[email protected]> wrote:

> I think it has something to do with my company  internal web proxy. still
> looking
>
> -D
>
> On Wednesday, October 26, 2016 at 2:42:46 PM UTC-7, Rickard von Essen
> wrote:
>>
>> You can always try:
>>
>> docker run -v $PWD:/host -it golang bash
>> go get github.com/mitchellh/packer && cd src/github.com/mitchellh/packer
>> XC_ARCH=amd64 XC_OS=darwin make dev
>> cp pkg/*/packer /host/
>>
>> XC_OS should be: darwin, windows, or linux
>>
>>
>>
>> On 26 October 2016 at 20:27, Alvaro Miranda Aguilera <[email protected]>
>> wrote:
>>
>>> Works on linux:
>>>
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath $ go get
>>> github.com/mitchellh/packer
>>>
>>>
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath $ cd src/
>>> github.com/mitchellh/packer/
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath/src/github.
>>> com/mitchellh/packer (master) $ make dev
>>> go get github.com/mitchellh/gox
>>> go get golang.org/x/tools/cmd/stringer
>>> go get github.com/kardianos/govendor
>>> govendor sync
>>> ==> Removing old directory...
>>> ==> Building...
>>> Number of parallel builds: 7
>>>
>>> -->     linux/amd64: github.com/mitchellh/packer
>>> ==> Copying binaries for this platform...
>>>
>>> ==> Results:
>>> total 44M
>>> -rwxr-xr-x 1 alvaro alvaro 44M okt 26 20:25 packer
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath/src/github.
>>> com/mitchellh/packer (master) $ bin/packer version
>>> Packer v0.11.1.dev (a66d125fc9747f90baba048cb6d42547cda458b7)
>>>
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath/src/github.
>>> com/mitchellh/packer (master) $ go version
>>> go version go1.6.3 linux/amd64
>>> 0 alvaro@alvaro-XPS-15-9550 ~/Downloads/gopath/src/github.
>>> com/mitchellh/packer (master) $
>>>
>>>
>>> On Wed, Oct 26, 2016 at 1:13 AM, Dan Tran <[email protected]> wrote:
>>>
>>>> Hi
>>>>
>>>> Attempt to build packer with GO 1.6.3 ( make) and it stops here
>>>>
>>>> govendor sync
>>>>         Ensures the contents of the vendor folder matches the vendor
>>>> file.
>>>>         Options:
>>>>                 -n           dry run, print out action only
>>>>                 -insecure    allow downloading over insecure connection
>>>>
>>>>
>>>> I need to test a fix at  packer for 0.11.1 dev build
>>>>
>>>> any suggestion?
>>>>
>>>>
>>>> very appreciate any help.
>>>>
>>>> Thanks
>>>>
>>>> -Dan
>>>>
>>>> --
>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>> violation of those guidelines may result in your removal from this mailing
>>>> list.
>>>>
>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>> IRC: #packer-tool on Freenode
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Packer" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/packer-tool/afac5f44-626b-4371-b9bd-47f25bf619af%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/packer-tool/afac5f44-626b-4371-b9bd-47f25bf619af%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Alvaro
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Packer" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/packer-tool/CAHqq0eyvZMYYGsSPDcsq1t%2BkqT8kHwu6RY4RCGSfb
>>> 7E6G%3D2yOw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/packer-tool/CAHqq0eyvZMYYGsSPDcsq1t%2BkqT8kHwu6RY4RCGSfb7E6G%3D2yOw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/aa3ef20e-b7a8-4613-80ba-a094897e75b1%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/aa3ef20e-b7a8-4613-80ba-a094897e75b1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0ewD5_OthZN3-RvrLT_zHvDwthUtGqnzFThvOSDo2TrsvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to