Skip to content

lit make lit://luvit/luvit creates unusable binary after get-lit #252

@squeek502

Description

@squeek502

Luvit's package.lua specifies luvi 2.7.6 but get-lit downloads luvi 2.9.1 and compiles lit using that,
so then when you run lit make lit://luvit/luvit it downloads luvi 2.7.1 and makes luvit using that:

lit version: 3.7.0
luvi version: v2.9.1
command: make lit://luvit/luvit
load config: /home/ryan/.litconfig
connecting: wss://lit.luvit.io/
using snapshot: 6e805fb6a48f25304cc6553f18a01ecc30f10e30
creating binary: luvit
downloading: https://github.com/luvit/luvi/releases/download/v2.7.6/luvi-regular-Linux_x86_64
inserting luvi: /home/ryan/.litdb.git/cache/b46077e494b4a2647185c01af2ac46a3afbc2cb6/luvi
...

Luvit then throws this error if you try to run it:

/home/tim/luvi/src/lua/luvibundle.lua:321: bundle:deps/require.lua: cannot load incompatible bytecode

So either we need to make those versions match (update luvit to use same luvi as get-lit), or fix the cause of the error (is it a false positive?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions