lunarmodules / busted

Elegant Lua unit testing.
https://lunarmodules.github.io/busted/
MIT License
1.38k stars 184 forks source link

Can't install dependency 'mediator_lua' of busted via luarocks #708

Closed 616b2f closed 1 year ago

616b2f commented 1 year ago

I try to install busted and it fails, but strange is that it seems to be kind of DNS resolution problem but other packages worked just fine. I tried to purge and install again and it always fails with the same message on the same package.

$ luarocks --lua-version=5.1 install busted
Installing https://luarocks.org/busted-2.1.1-1.src.rock
Missing dependencies for busted 2.1.1-1:
   mediator_lua >= 1.1.1 (not installed)

busted 2.1.1-1 depends on lua >= 5.1 (5.1-1 provided by VM)
busted 2.1.1-1 depends on lua_cliargs 3.0 (3.0-2 installed)
busted 2.1.1-1 depends on luafilesystem >= 1.5.0 (1.8.0-1 installed)
busted 2.1.1-1 depends on luasystem >= 0.2.0 (0.2.1-0 installed)
busted 2.1.1-1 depends on dkjson >= 2.1.0 (2.6-1 installed)
busted 2.1.1-1 depends on say >= 1.4-1 (1.4.1-3 installed)
busted 2.1.1-1 depends on luassert >= 1.9.0-1 (1.9.0-1 installed)
busted 2.1.1-1 depends on lua-term >= 0.1 (0.7-1 installed)
busted 2.1.1-1 depends on penlight >= 1.3.2 (1.13.1-1 installed)
busted 2.1.1-1 depends on mediator_lua >= 1.1.1 (not installed)
Installing https://luarocks.org/mediator_lua-1.1.2-0.rockspec
Warning: Failed downloading. Attempting mirror at https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/mediator_lua-1.1.2-0.rockspec
Warning: Failed downloading. Attempting mirror at https://luafr.org/luarocks/mediator_lua-1.1.2-0.rockspec

Error: Failed installing dependency: https://luarocks.org/mediator_lua-1.1.2-0.rockspec - Error fetching file: Failed downloading https://luarocks.org/mediator_lua-1.1.2-0.rockspec -
temporary failure in name resolution
temporary failure in name resolution
temporary failure in name resolution

I am on Fedora Silverblue 37, not sure if this makes any difference here.

Any ideas what can be the issue?

Tieske commented 1 year ago

I think this is a LuaRocks issue, not a Busted one

616b2f commented 1 year ago

@Tieske thank you for your fast response, then I will open an issue there.