Bug 2440549

Summary: monotone-1.1-54.fc45 FTBFS: src/lua.cc:121:50: error: ‘LUAI_MAXSTACK’ was not declared in this scope
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: monotoneAssignee: Thomas Moschny <thomas.moschny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 45CC: thomas.moschny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org//package/monotone
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-02 10:14:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2433833    

Description Petr Pisar 2026-02-18 09:04:52 UTC
monotone-1.1-54.fc45 fails to build in Fedora 45:

g++  -I.    -I/usr/include/botan-1.10          -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wall -W -Wno-unused -c -o src/lua.o src/lua.cc
[...]
src/lua.cc: In member function ‘bool Lua::check_stack(int)’:
src/lua.cc:121:50: error: ‘LUAI_MAXSTACK’ was not declared in this scope; did you mean ‘LUA_MINSTACK’?
  121 |       fail((FL("lua stack limit '%d' reached") % LUAI_MAXSTACK).str());
      |                                                  ^~~~~~~~~~~~~

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/22461685>. An upgrade of lua-devel from 5.4.8-5.fc44 to 5.5.0-1.fc45 is suspicious.

Comment 1 Fedora Update System 2026-03-17 00:25:39 UTC
FEDORA-2026-35f1f03bc6 (apk-tools-3.0.4-1.fc45, aqualung-2.0-5.fc45, and 109 more) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-35f1f03bc6