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
Build fails with "Failed downloading https://rocks.moonscript.org/manifest" (~/.cache/luarocks owned by root user) #1170
Comments
First time I've seen this issue. I just ran Have you customized your curl/SSL configuration at all? I use stock ubuntu, so I don't know why the problem would only be present for you, but maybe you need to add a CA root? http://stackoverflow.com/q/24611640/152142
I assume that means Firefox says the cert is verified by a CA? |
I have the same issue when running
Trying manually, however:
I don't know how this is downloaded during the build process, but it works on my system despite the SSL error. Maybe the problem is something else? |
I'm 95% sure it's because luarocks falls back to curl if its preferred method isn't available. |
Actually, luarocks sends So the fact that |
You mean setting up a luarocks repository? |
@fwalch |
@justinmk I've thrown some print statement into /usr/local/share/lua/5.2/luarocks/fs/unix/tools.lua, but it does not show up. What does |
|
It's probably not CMake hiding those steps. The build of the dependencies themselves are do using GNU Make. It's simply running a command line. You might need to add something to an individual build command, if you want to see where it's failing. What that is varies by project though. |
It's running the external build to install Busted.
to produce it, as seen on line 164 of |
@jszakmeister thanks for clarification. |
@blueyed Does |
@justinmk @jszakmeister Running it directly fails the same: Adding
Running zsh: permission denied: /home/user/.cache/luarocks/https___rocks.moonscript.org/manifest-5.1 Fixing this by removing I think luarocks should maybe handle |
@blueyed I started to make a bug report for luarocks, but then I noticed in your post that
Maybe we should just remember to look out for that kind of message next time. |
Thanks @justinmk! I am closing this issue, which has been solved for me. |
@blueyed By the way, what's your |
@justinmk But the error resulted from The neovim build process could use a separate cache directory for luarocks maybe? |
@justinmk if the moonrocks server is misbehaving and you want to fetch files from github, you can configure LuaRocks to use the github mirror of moonrocks by default: https://github.com/keplerproject/luarocks/blob/master/src/luarocks/cfg.lua#L218-L221 — however, latest LuaRocks should be falling back to the next entry in the mirror list if moonrocks fails for any reason... |
@hishamhm Thanks, very good to know about that GitHub mirror! FYI, this specific issue wasn't a problem with the mirror list fallback, but rather a permissions issue with |
I've just tried building Neovim on Ubuntu, and it failed:
Accessing the manifest with curl fails like this:
Is this a temporary problem?
Accessing the URL using Firefox works.
I have left a comment about this at luarocks/luarocks-site#18 (comment).
The text was updated successfully, but these errors were encountered: