-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
use standard cp arguments #571
Comments
Same stuff on Solaris. |
Huh. I thought I commented on this.
Should we just have a nodejs/gyp that both node and node-gyp can use? |
Same stuff on Oracle Solaris 11.2 |
@Fishrock123 Historically I've just updated gyp here when node.js/io.js updated its own copy of gyp (probably behind at this point!) |
Is there a way to resolve this issue by changing cp flags? Deployment of all packages via node-gyp fails on Oracle Solaris 11.2 because Oracle doesn't support GNU flag -a. I found a workaround by compiling package locally, creating a package structure, and moving *.node, package.json, and corresponding js files there. Also, it looks like running Demeteorizer is not enough and I have to write custom builder that would replace packages from my dev (OS X Maverics) with those locally compiled on Solaris. Im trying to deploy my Meteor app on Solaris via Demeteorizer and have problems with fibers and bcrypt. Any help would be appreciated. @GeorgeBailey: I wonder if you experience the same problems on your system. Manual builds of c++ node modules via node-gyp, and manual injection them works (I was able to run a Meteor app on Sol 11.2) |
You could also play with Makefile (or, if I don't remember correctly, with any other template issuing "cp -r"). |
Little known fact but you can override the cp command: If someone sends a patch to the upstream gyp project, I'll be happy to land it here (assuming it's accepted upstream, of course.) Grep for |
As an FYI we just did a similar change for AIX here https://codereview.chromium.org/1368133002/ |
@alexijs, Not thus far. Perhaps it is because all the |
See nodejs/node#3487 |
FYI - Imran is working on a PR for the same update to gyp as in nodejs/node#3487 but for node-gyp. Should be submitted soon. |
The PR mentioned above #781 |
On OpenBSD 5.7 I patched the files: (changing
That works successfully It would be great if the PR would be applied to reduce the pain on OpenBSD and others. Thanks, Tom |
I filed https://codereview.chromium.org/1483473002/ to fix |
Fixed (on OpenBSD anyway) in v3.2.1. |
The cp command takes an argument -a as a shortcut for -pPR.
While this works on most Linux distributions, it is not available on certain other operating systems such as OpenBSD, while the standard -pPR always works.
Would you consider replacing cp -af with the functionally equivalent cp -fpPR to improve OS support?
The text was updated successfully, but these errors were encountered: