Public bug reported: frr from debian in the last merge[1] reverted the lua build profile, making it the default one:
commit 39f444c0606cdd3d34904e767896af5697d37c11 (tag: pkg/import/10.1.1-3) Author: Daniel Baumann <[email protected]> Date: Tue Nov 12 14:56:14 2024 +0100 10.1.1-3 (patches unapplied) Imported using git-ubuntu import. Notes (changelog): * Changing lua build-profile to match its original intendet purpose of enabling scripting support by default but allowing to exclude it if needed. * Changing pim6d build-profile to match its original intendet purpose of enabling pim6d by default but allowing to exclude it if needed (Closes: #1071653). * Updating TODO file. diff --git a/debian/control b/debian/control index 802bcecb..7bfc99dc 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: libcap-dev, libelf-dev:native, libjson-c-dev, - liblua5.3-dev <pkg.frr.lua>, + liblua5.3-dev <!pkg.frr.nolua>, libpam0g-dev, libpcre2-dev, libprotobuf-c-dev, @@ -28,7 +28,7 @@ Build-Depends: libssh-dev <!pkg.frr.nortrlib>, libunwind-dev [!alpha !m68k !sparc64 !x32], libyang2-dev (>= 2.1.128), - lua5.3 <pkg.frr.lua>, + lua5.3 <!pkg.frr.nolua>, pkgconf, protobuf-c-compiler, python3-dev:native, In Ubuntu, lua 5.3 is in universe, while lua 5.4 is in main. Frr upstream doesn't build with lua 5.4: ... checking for a Lua interpreter with version >= 5.3, < 5.4... none configure: error: Lua 5.3 is required to build with Lua support. No other version is supported. cd build && tail -v -n \+0 config.log That is still the case in latest frr upstream from github: https://github.com/FRRouting/frr/blob/a92231af4dc839ca8e0f9a435a92a95bc309ebaf/configure.ac#L378 AX_PROG_LUA([5.3], [5.4], [], [ AC_MSG_ERROR([Lua 5.3 is required to build with Lua support. No other version is supported.]) ]) AX_LUA_HEADERS([], [ AC_MSG_ERROR([Lua 5.3 headers are required to build with Lua support. No other version is supported.]) ]) I found no upstream issue asking to support lua 5.4. I filed one[2], but for now our options are to drop lua support (which is the case already in the current ubuntu packages). 1. https://bugs.launchpad.net/ubuntu/+source/frr/+bug/2085232 2. https://github.com/FRRouting/frr/issues/17787 ** Affects: frr (Ubuntu) Importance: Undecided Assignee: Andreas Hasenack (ahasenack) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093186 Title: frr from debian depends on lua5.3, component mismatch To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/frr/+bug/2093186/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
