Opened 9 years ago
Closed 9 years ago
#49952 closed defect (fixed)
docker-machine installs cleanly, but generated binary is broken
Reported by: | kngspook@… | Owned by: | seanfarley (Sean Farley) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | kngspook@… | |
Port: | docker-machine |
Description
I've noticed that docker-machine doesn't seem to build properly, but I'm afraid debugging this one is a little beyond my skillset, as I'm not very familiar with Go.
When I run the docker-machine from MacPorts:
$ docker-machine --help /opt/local/bin/docker-machine: line 1: syntax error near unexpected token `newline' /opt/local/bin/docker-machine: line 1: `!<arch>'
But if I download the executable from GitHub:
$ ./docker-machine --help Usage: docker-machine [OPTIONS] COMMAND [arg...] Create and manage machines running Docker. Version: 0.5.2 ( 0456b9f ) Author: Docker Machine Contributors - <https://github.com/docker/machine> Options: --debug, -D Enable debug mode ...
Furthermore, here's the MacPorts generated file:
$ file docker-machine docker-machine: current ar archive
And again compared to the downloaded binary from GitHub:
$ file docker-machine docker-machine: Mach-O 64-bit executable x86_64
Change History (4)
comment:1 Changed 9 years ago by kngspook@…
comment:3 Changed 9 years ago by seanfarley (Sean Farley)
Owner: | changed from macports-tickets@… to sean@… |
---|---|
Status: | new → assigned |
God dammit I hate Go.
comment:4 Changed 9 years ago by seanfarley (Sean Farley)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should be fixed in r143330.
Note: See
TracTickets for help on using
tickets.
Also, fwiw, the docker port appears to be working fine in conjunction with the GitHub docker-machine binaries.