-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble running pull-request
command on OS X.
#1058
Comments
Interesting! It looks like it's available for darwin under the general unix build flag. If you run |
@parkr same result. |
Hm, ok. It works just fine for me on Mac OS X 10.11.2. Perhaps 10.9.5 isn't yet compatible. Dump this file into some go file in its own directory and execute |
@parkr I get a 404 on that file. |
@mattjmorrison Sorry about that – please check the link again. |
Here is the result:
|
If that works, then building from source should produce a binary of hub that works. I defer to mislav & co. |
@parkr building from source using these instructions: https://github.com/github/hub#source did seem to correct the problem - apparently it is something with the homebrew dist? |
@mattjmorrison Perhaps! Glad you got it working. |
@mattjmorrison I'm glad you solved your problem, and sorry for the trouble. I don't know what causes this, but it seems like it's an incompatibility with pre-built binaries that we distribute with each release and OS X 10.9 😒 Thanks @parkr for help! |
The build process was recently changed since 2.2.2. I wonder if it's related to that. One way to find out would be to try out the OSX build of 2.2.1 and see if it works for OS X 10.9.5. |
There is at least one other go-enabled projects with a similar bug filed notaryproject/notary#194 (fix: notaryproject/notary#195). Possibly a Go error in finding the home directory on El Cap. Doesn't look like |
Per @jingweno's comment, I've verified that the |
We might need to pull in https://github.com/mitchellh/go-homedir as a workaround. |
This could be a problem with the cross compile script or a miss in Go's cross compile capability. The |
This is probably the same issue as #781. We will import go-homedir to solve this, but I'm wondering whether there will be other cgo incompatibilities in other code once execution is allowed to proceed past this point. |
I just installed
hub
from homebrew on OS X and I tried runninghub pull-request
. This is the message that I got:I'm not sure what I'm doing wrong, but any help would be greatly appreciated.
Here are the versions that I'm working with:
Thanks!
The text was updated successfully, but these errors were encountered: