Bug#873386: LuaJIT 2.1 breaks Lua 5.1 API

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#873386: LuaJIT 2.1 breaks Lua 5.1 API

Evgeni Golov-2
Package: libluajit-5.1-dev
Version: 2.1.0~beta3+dfsg-2
Severity: serious
Tags: upstream

Hi,

LuaJIT 2.1 introduces symbols from Lua 5.2 [1] and drops a few compat symbols [2] that are still present in Lua 5.1 [3].
This breaks software that either not expects these 5.2 symbols, or expects the compat stuff to be present. [4]

I don't think the current state is apropriate for testing.

Regards
Evgeni

[1] https://github.com/LuaJIT/LuaJIT/commit/de97b9d52bbc42effeaf1180764053a912526873
[2] https://github.com/LuaJIT/LuaJIT/commit/dc320ca70f2c5bb3977b82853bcee6dad2523d01
[3] https://www.lua.org/source/5.1/lauxlib.h.html
[4] https://github.com/LuaJIT/LuaJIT/issues/325

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libluajit-5.1-dev:amd64 depends on:
ii  libluajit-5.1-2  2.1.0~beta3+dfsg-2

libluajit-5.1-dev:amd64 recommends no packages.

libluajit-5.1-dev:amd64 suggests no packages.

-- no debconf information

Reply | Threaded
Open this post in threaded view
|

Bug#873386: LuaJIT 2.1 breaks Lua 5.1 API

Ondřej Surý-2
Package: libluajit-5.1-dev
Version: 2.1.0~beta3+dfsg-2
Followup-For: Bug #873386

Hi Evgeni,

> This breaks software that either not expects these 5.2 symbols

Such software is broken by definition.  Symbol addition must not break
any software.

> expects the compat stuff to be present.

The LuaJit 5.1 was released in 2006.  That's a plenty of time to start
using correct API.  However there are only four packages in Debian
affected by the drop of compatibility symbols:

- aegisub - #873327
- ettercap - #878131 (however the lua bindings are now disabled)
- minetest - #878132
- wrk - #873321

Also as this is only #define removals, it affects only compilation and
not runtime, so it's safe to migrate to testing, so I am just going to
close the bug.

Cheers,
Ondrej

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-93-generic (SMP w/24 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libluajit-5.1-dev depends on:
ii  libluajit-5.1-2  2.1.0~beta3+dfsg-2

libluajit-5.1-dev recommends no packages.

libluajit-5.1-dev suggests no packages.

-- no debconf information