You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install lmod with spack install lmod on our spack test system which is behind an http/ftp proxy without direct access to the network outside our cluster network. Install failed when trying to install lua-luafilesystem due to a failed git clone. I was able to work around this with git config --global url."https://".insteadOf git:// , so this seems to be a result of attempting to do a clone with the git protocol. I tried to figure out where this is happening - the package lists an url for an archive and I don't know spack code yet to trace where the git clone is happening. Globally re-routing git:// to http:// in my mind isn't desirable. Am I missing a configuration somewhere or does spack assume direct access to outside networks?
I'll start trying to learn more about the spack code base but in the meantime I thought i'd file an issue
Steps to reproduce the issue
$ spack install lmod...==> Installing lua-luafilesystem ==> Searching for binary cache of lua-luafilesystem ==> Warning: No Spack mirrors are currently configured ==> No binary for lua-luafilesystem found: installing from source ==> Fetching https://github.com/keplerproject/luafilesystem/archive/v1_6_3.tar.gz ######################################################################## 100.0% ==> Staging archive: /opt/spack/0.12.1/var/spack/stage/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawiatflkdlenx2cmw/v1_6_3.tar.gz ==> Created stage in /opt/spack/0.12.1/var/spack/stage/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawiatflkdlenx2cmw ==> No patches needed for lua-luafilesystem ==> Building lua-luafilesystem [Package] ==> Executing phase: 'install' ==> Error: ProcessError: Command exited with status 1: '/opt/spack/0.12.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lua-5.3.4-fmnxcwkmwacfljeceseiyqdbba6xlwis/bin/luarocks' '--tree=/opt/spack/0.12.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawia$flkdlenx2cmw' 'install' '/opt/spack/0.12.1/var/spack/stage/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawiatflkdlenx2cmw/luafilesystem-1_6_3/rockspecs/luafilesystem-1.6.3-1.rockspec'1 error found in build log: 1 ==> Executing phase: 'install' 2 ==> '/opt/spack/0.12.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lua-5.3.4-fmnxcwkmwacfljeceseiyqdbba6xlwis/bin/luarocks' '--tree=/opt/spack/0.12.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lua-luafilesystem-1_6_3-xyxg47b6y 7mvperawiatflkdlenx2cmw' 'install' '/opt/spack/0.12.1/var/spack/stage/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawiatflkdlenx2cmw/luafilesystem-1_6_3/rockspecs/luafilesystem-1.6.3-1.rockspec' 3 Using /opt/spack/0.12.1/var/spack/stage/lua-luafilesystem-1_6_3-xyxg47b6y7mvperawiatflkdlenx2cmw/luafilesystem-1_6_3/rockspecs/luafilesystem-1.6.3-1.rockspec... switching to 'build' mode 4 Cloning into 'luafilesystem'... 5 fatal: unable to look up github.com (port 9418) (Name or service not known) 6 >> 7 Error: Failed cloning git repository.
Information on your system
This includes:
platform: CentOS 7.6
spack: 0.12.1
The text was updated successfully, but these errors were encountered:
I tried to install lmod with
spack install lmod
on our spack test system which is behind an http/ftp proxy without direct access to the network outside our cluster network. Install failed when trying to installlua-luafilesystem
due to a failed git clone. I was able to work around this withgit config --global url."https://".insteadOf git://
, so this seems to be a result of attempting to do a clone with the git protocol. I tried to figure out where this is happening - the package lists an url for an archive and I don't know spack code yet to trace where the git clone is happening. Globally re-routing git:// to http:// in my mind isn't desirable. Am I missing a configuration somewhere or does spack assume direct access to outside networks?I'll start trying to learn more about the spack code base but in the meantime I thought i'd file an issue
Steps to reproduce the issue
Information on your system
This includes:
The text was updated successfully, but these errors were encountered: