Thread View: linux.debian.bugs.rc
3 messages
3 total messages
Started by Nilesh Patra
Thu, 22 Oct 2026 14:20
Bug#1151636: lua5.5 should not be marked M-A: foreign
Author: Nilesh Patra
Date: Thu, 22 Oct 2026 14:20
Date: Thu, 22 Oct 2026 14:20
14 lines
2612 bytes
2612 bytes
Package: lua5.5 Version: 5.5.1-1 Severity: serious X-Debbugs-Cc: debian-cross@lists.debian.org lua5.1 is marked `M-A: foreign` which is wrong. As an example lua-zlib is an arch dependent lua extension. This is a violation of debian policy 5.6.34.2. This should probably be marked `M-A: allowed` Thanks, Nilesh
Bug#1151636: [pkg-lua-devel] Bug#1151636: lua5.5 should not be marked M-A: foreign
Author: Helmut Grohne
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
61 lines
4733 bytes
4733 bytes
Control: clone -1 -2 Control: retitle -2 tcl8.6 must not be marked Multi-Arch: foreign Control: reassign -2 tcl8.6 Control: found -2 8.6.11+dfsg-1 Hi Sergei, On Mon, Oct 26, 2026 at 10:53:47AM +0300, Sergei Golovan wrote: > Can you be a bit more specific? lua5.5 ships only a Lua interpreter > (and compiler), so, for > example lua5.5 i386 can be used to run Lua scripts on amd64. This is all right. What lua can also do is load the zlib (lua-zlib) library. | $ mmdebstrap unstable /dev/null --variant=essential --architectures=amd64,i386 --include=lua5.5,lua-zlib:i386 --chrooted-customize-hook="lua5.5 -e 'require(\"zlib\")'" | ... | lua5.5: (command line):1: module 'zlib' not found: | no field package.preload['zlib'] | no file '/usr/local/share/lua/5.5/zlib.lua' | no file '/usr/local/share/lua/5.5/zlib/init.lua' | no file '/usr/local/lib/lua/5.5/zlib.lua' | no file '/usr/local/lib/lua/5.5/zlib/init.lua' | no file '/usr/share/lua/5.5/zlib.lua' | no file '/usr/share/lua/5.5/zlib/init.lua' | no file './zlib.lua' | no file './zlib/init.lua' | no file '/usr/local/lib/lua/5.5/zlib.so' | no file '/usr/lib/x86_64-linux-gnu/lua/5.5/zlib.so' | no file '/usr/lib/lua/5.5/zlib.so' | no file '/usr/local/lib/lua/5.5/loadall.so' | no file './zlib.so' | stack traceback: | [C]: in global 'require' | (command line):1: in main chunk | [C]: in ? | $ > May be multi-arch allowed would be better than foreign, but at least > some other packages > with interpreters are multi-arch foreign: tcl8.6 (and tcl9.0), bash. > perl and python are > multi-arch allowed though. Those interpreters are not all the same. The key distinction is whether they're extensible with shared libraries. For Perl and Python there are a ton of such packaged extensions. Even GNU make can be extended in such a way (though it is very uncommon). When it comes to tcl8.6, I think the story is the same as for lua. Loading a foreign tcl-trf into tcl8.6 would fail in the very same way as above. For bash the story is less obvious. Searching its source code reveals that it does use dlopen and this is a strong clue. The "enable -f filename functionname" syntax appears to provide a similar feature, but I'm not sure it is practically relevant as it is with lua-zlib and tcl-trf. For instance, there is https://sources.debian.org/src/lm-sensors/1:3.6.2-2/prog/daemon/healthd.sh?hl=27#L27 but I could not find a matching sleep.so and the relevant file is installed as an example. Helmut
Processed: Re: Bug#1151636: [pkg-lua-devel] Bug#1151636: lua5.5 should not be marked M-A: foreign
Author: Debian Bug Tracking System
Date: Mon, 26 Oct 2026 20:20
Date: Mon, 26 Oct 2026 20:20
24 lines
2844 bytes
2844 bytes
Processing control commands: > clone -1 -2 Bug #1151636 [lua5.5] lua5.5 should not be marked M-A: foreign Bug 1151636 cloned as bug 1152224 > retitle -2 tcl8.6 must not be marked Multi-Arch: foreign Bug #1152224 [lua5.5] lua5.5 should not be marked M-A: foreign Changed Bug title to 'tcl8.6 must not be marked Multi-Arch: foreign' from 'lua5.5 should not be marked M-A: foreign'. > reassign -2 tcl8.6 Bug #1152224 [lua5.5] tcl8.6 must not be marked Multi-Arch: foreign Bug reassigned from package 'lua5.5' to 'tcl8.6'. No longer marked as found in versions lua5.5/5.5.1-1. Ignoring request to alter fixed versions of bug #1152224 to the same values previously set > found -2 8.6.11+dfsg-1 Bug #1152224 [tcl8.6] tcl8.6 must not be marked Multi-Arch: foreign Marked as found in versions tcl8.6/8.6.11+dfsg-1. -- 1151636: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1151636 1152224: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1152224 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads