[MacPorts] #49952: docker-machine installs cleanly, but generated binary is broken
MacPorts
noreply at macports.org
Wed Dec 9 12:05:44 PST 2015
#49952: docker-machine installs cleanly, but generated binary is broken
------------------------+--------------------------------
Reporter: kngspook@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: docker-machine
------------------------+--------------------------------
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49952>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list