[Buildroot] luaposix not working with luajit/lua5.1

Peter Korsgaard peter at korsgaard.com
Mon Feb 20 20:25:48 UTC 2017


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 > On 20-02-17 12:01, François Perrad wrote:
 >> 2017-02-20 11:47 GMT+01:00 Arnout Vandecappelle <arnout at mind.be>:
 > [snip]
 >>> Integrating this package is not trivial, because our luarocks infra assumes
 >>> that the upstream name is the same as the Buildroot name. That's not the case
 >>> for bit32, however: in Buildroot, we really want to call it "lua-bit32". So it
 >>> requires a bit of infra change to clean it up. Therefore, it'll take me a couple
 >>> of days before I can submit.
 >>> 
 >> 
 >> We have already luarock packages which name is not prefixed by 'lua-'
 >> : copas, cosmo, dado, orbit, rings, ...

 >  These are really separate projects that happen to be using Lua, while bit32 is
 > really a Lua support module like luaposix.

 >  Although, now you mention it, copas and coxpcall are Lua support modules as
 > well. For Python and Perl, we always add a prefix for them. Is there a good
 > reason why we don't do this for Lua?

 >  Peter (and others), any opinion: should a module like coxpcall rather be called
 > lua-coxpcall? We actually have a lot of those. Things like "argparse"...

It would be nice from a consistency POV, but as François says, renaming
stuff is a bit painful for existing users. Perhaps we can just make sure
new lua packages are prefixed with lua-?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list