[pkg-lua-devel] Bug#1135172: lua-system: FTBFS on multiple architectures - circular test dependency

Trupti trupti at linux.ibm.com
Tue Apr 28 19:42:34 BST 2026


Package: lua-system
Version: 0.7.0-2
Severity: important
Tags: ftbfs
X-Debbugs-Cc:  
pkg-lua-devel at lists.alioth.debian.org,debian-amd64 at lists.debian.org, 
debian-arm at lists.debian.org, debian-powerpc at lists.debian.org, 
debian-s390 at lists.debian.org, debian-riscv at lists.debian.org

User: debian-powerpc at lists.debian.org
Usertags: ppc64el,powerpc,ppc64
User: debian-amd64 at lists.debian.org
Usertags: amd64
User: debian-arm at lists.debian.org
Usertags: arm64 armhf
User: debian-s390 at lists.debian.org
Usertags: s390x
User: debian-riscv at lists.debian.org
Usertags: riscv64
User: debian-qa at lists.debian.org
Usertags: i386
User: debian-hppa at lists.debian.org
Usertags: hppa
User: debian-hurd at lists.debian.org
Usertags: hurd-i386
User: debian-sparc at lists.debian.org
Usertags: sparc64


Dear Maintainer,

lua-system fails to build from source on multiple architectures due to
a circular test dependency when building with Lua 5.5 support.

AFFECTED ARCHITECTURES:
-----------------------
Build-Attempted (FTBFS) on:
   amd64:    
https://buildd.debian.org/status/fetch.php?pkg=lua-system&arch=amd64&ver=0.7.0-2&stamp=1777308214&raw=0
   arm64:    
https://buildd.debian.org/status/fetch.php?pkg=lua-system&arch=arm64&ver=0.7.0-2&stamp=1777308126&raw=0
  ppc64el:   
https://buildd.debian.org/status/fetch.php?pkg=lua-system&arch=ppc64el&ver=0.7.0-2&stamp=1777308122&raw=0
   i386, mips64el, riscv64, s390x (similar failures)

Only m68k builds successfully because it uses DEB_BUILD_OPTIONS=nocheck
(skips all tests), which is not applicable to other architectures.


THE PROBLEM:
When building lua-system for Lua 5.5, the tests fail because the
test framework (busted) has dependencies that do not have Lua 5.5 files
Below are error msg:



Making target test for debian/lua5.5.dh-lua.conf
# tests
Copying system/init.lua in 
/build/reproducible-path/lua-system-0.7.0/5.5-system for test
****************** lua dynamic custom (5.5) ******
lua5.5: /usr/share/lua/5.5/busted/utils.lua:13: module 'pl.utils' not 
found:
	no field package.preload['pl.utils']
	no file 
'/build/reproducible-path/lua-system-0.7.0/5.5-system/pl/utils.lua'
	no file 
'/build/reproducible-path/lua-system-0.7.0/5.5-system/pl/utils/init.lua'

Making target test for debian/lua5.5.dh-lua.conf
# tests
Copying lua/pl/xml.lua lua/pl/utils.lua lua/pl/url.lua lua/pl/types.lua 
lua/pl/text.lua lua/pl/test.lua lua/pl/template.lua lua/pl/tablex.lua 
lua/pl/stringx.lua lua/pl/stringio.lua lua/pl/strict.lua lua/pl/sip.lua 
lua/pl/seq.lua lua/pl/pretty.lua lua/pl/permute.lua lua/pl/path.lua 
lua/pl/operator.lua lua/pl/luabalanced.lua lua/pl/lexer.lua 
lua/pl/lapp.lua lua/pl/input.lua lua/pl/init.lua lua/pl/import_into.lua 
lua/pl/func.lua lua/pl/file.lua lua/pl/dir.lua lua/pl/data.lua 
lua/pl/config.lua lua/pl/comprehension.lua lua/pl/compat.lua 
lua/pl/class.lua lua/pl/array2d.lua lua/pl/app.lua lua/pl/Set.lua 
lua/pl/OrderedMap.lua lua/pl/MultiMap.lua lua/pl/Map.lua lua/pl/List.lua 
lua/pl/Date.lua in 
/build/reproducible-path/lua-penlight-1.15.0/5.5-penlight for test
********************** lua dynamic (5.5) *********
Test: run.lua
lua5.5: run.lua:4: module 'lfs' not found:
	no field package.preload['lfs']
	no file 
'/build/reproducible-path/lua-penlight-1.15.0/5.5-penlight/lfs.lua'
	no file 
'/build/reproducible-path/lua-penlight-1.15.0/5.5-penlight/lfs/init.lua'




Making target test for debian/lua5.5.dh-lua.conf
# tests
Copying system/init.lua in 
/home/debian/FTBFS/lua-system/lua-system-0.7.0/5.5-system for test
****************** lua dynamic custom (5.5) ******
lua5.5: /usr/share/lua/5.5/busted/core.lua:42: module 'mediator' not 
found:
         no field package.preload['mediator']
         no file 
'/home/debian/FTBFS/lua-system/lua-system-0.7.0/5.5-system/mediator.lua'
         no file 
'/home/debian/FTBFS/lua-system/lua-system-0.7.0/5.5-system/mediator/init.lua'
         no file '/usr/local/share/lua/5.5/mediator.lua'
         no file '/usr/local/share/lua/5.5/mediator/init.lua'
         no file '/usr/local/lib/lua/5.5/mediator.lua'

Making target test for debian/lua5.5.dh-lua.conf
# tests
Copying src/mediator.lua in 
/home/debian/FTBFS/lua-mediator/lua-mediator-1.1.2-0/5.5-mediator for 
test
****************** lua dynamic custom (5.5) ******
lua5.5: /usr/share/lua/5.5/busted/core.lua:45: module 'system' not 
found:
	no field package.preload['system']
	no file 
'/home/debian/FTBFS/lua-mediator/lua-mediator-1.1.2-0/5.5-mediator/system.lua'
	no file 
'/home/debian/FTBFS/lua-mediator/lua-mediator-1.1.2-0/5.5-mediator/system/init.lua'
	no file '/usr/local/share/lua/5.5/system.lua'
	no file '/usr/local/share/lua/5.5/system/init.lua'




1. lua-system busted needs lua-penlight    =>    lua-penlight does not 
have Lua 5.5 packaging
2. lua-penlight needs lua-filesystem       =>   lua-filesystem does not 
have Lua 5.5 packaging

and also
3. lua-system needs lua-mediator => lua-mediator does not have Lua 5.5 
packaging
4. lua-mediator also needs lua-system => circular dependency



Thanks,
Trupti



More information about the pkg-lua-devel mailing list