-
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
lua-luaposix: unable to install from offline system #3909
Comments
This is a known problem...
The solution is to stop using [We have the same issue in Python-land and |
I am also interested in the resolution of this luarocks issue. |
@amklinv If I remember correctly (from more than a year ago), you can work around this deficiency by running spack in a mode that saves the stage directories. When the build fails, you can modify the rockspec file in the source directory to point to your local spack mirror instead of github.com and then run the install command again. It is painful, but this technique allowed me to install lmod on a stand-alone system. |
Hi there,
|
This way luarocks does not attempt to pull stuff from the internet. Fix #3909
This way luarocks does not attempt to pull stuff from the internet. Fix spack#3909
This way luarocks does not attempt to pull stuff from the internet. Fix spack#3909
The recipe for lua-luaposix attempts to download http://github.com/luaposix/luaposix/archive/release-v33.4.0.zip (see luaposix-33.4.0-1.rockspec in the source tree) and fails when it cannot access the internet (e.g.: air gap system).
Possible fix: Spack might need to download this zip file as a dependency (I'm not sure how to make this work) and patch the rockspec file to point to a location on the local file system instead of a url.
I see the same problem with lua-luafilesystem. In fact, even from machines that have internet access I can't access the required files for luafilesystem because it uses a git URL (
git://github.com/keplerproject/luafilesystem
) and the git protocol is blocked by our corporate firewall.My current work around is to
git clone git@github.com:keplerproject/luafilesystem
luafilesystem-1.6.3-1.rockspec
that is located in the stage directory so that it theurl
entry points to the local file system location from the above step.spack install
again.The text was updated successfully, but these errors were encountered: