Nymphium / opeth

Opeth is the optimizer and debug tools for Lua 5.3 VM bytecode, or Metal band
http://www.coins.tsukuba.ac.jp/syllabus/GB13312_GB13322.html
MIT License
70 stars 1 forks source link

Missing rockspecs? #9

Closed saucisson closed 7 years ago

saucisson commented 7 years ago

When trying to install opeth via luarocks, i get the following error:

$ luarocks install https://raw.githubusercontent.com/Nymphium/opeth/master/rockspec/opeth-all-0.0-1.rockspec
Using https://raw.githubusercontent.com/Nymphium/opeth/master/rockspec/opeth-all-0.0-1.rockspec... switching to 'build' mode

Missing dependencies for opeth-all:
opeth-moonstep 
opeth-lvis 
opeth-opeth 
opeth-lasm 

Using https://luarocks.org/opeth-moonstep-0.0-1.src.rock... switching to 'build' mode

Missing dependencies for opeth-moonstep:
opeth-core 
inspect 

Error: Failed installing dependency: https://luarocks.org/opeth-moonstep-0.0-1.src.rock - Could not satisfy dependency: opeth-core 

It seems that opeth-core is not released.

Nymphium commented 7 years ago

Hmm... I couldn't get that error. And opeth-core is registered to luarocks:

(also I registered opeth-all to luarocks a few ago)

$ luarocks search opeth

Search results:
===============

Rockspecs and source rocks:
---------------------------

opeth-all
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

opeth-core
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

opeth-lasm
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

opeth-lvis
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

opeth-moonstep
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

opeth-opeth
   0.0-1 (rockspec) - https://luarocks.org
   0.0-1 (src) - https://luarocks.org

I found a typo in opeth-lvis rockspec and corrected, so when reflected to luarocks.org try again.

saucisson commented 7 years ago

My fault: i was trying with a luarocks installed for Lua < 5.3. But all the rockspecs do not specify a Lua version: some say lua >= 5.3 while others do not state anything.

Nymphium commented 7 years ago

Oh, you can say that again. This constraint must be added.

Nymphium commented 7 years ago

Added constarint lua >= 5.3 to core rockspeck. Sorry for too late to fix it.