]> git.99rst.org Git - openwrt-packages.git/commitdiff
lua-eco: fix LUA_ECO_CRASH_BACKTRACE recursive dependency
authorAlexandru Ardelean <redacted>
Wed, 29 Jul 2026 12:22:33 +0000 (15:22 +0300)
committerAlexandru Ardelean <redacted>
Thu, 30 Jul 2026 11:23:00 +0000 (14:23 +0300)
LUA_ECO_CRASH_BACKTRACE declared "depends on PACKAGE_lua-eco" while
lua-eco's DEPENDS carries "+LUA_ECO_CRASH_BACKTRACE:libunwind", which the
generator turns into "select libunwind if LUA_ECO_CRASH_BACKTRACE". kconfig
then sees lua-eco and the symbol depending on each other:

  error: recursive dependency detected!
    symbol LUA_ECO_CRASH_BACKTRACE depends on PACKAGE_lua-eco
    symbol PACKAGE_lua-eco depends on LUA_ECO_CRASH_BACKTRACE

Drop the redundant guard; the option only affects lua-eco's own build, so
nothing is pulled in when lua-eco itself is not selected.

Fixes: https://github.com/openwrt/packages/pull/30098#issuecomment-5113528752
Signed-off-by: Alexandru Ardelean <redacted>
lang/lua/lua-eco/Makefile

index c255a34c9bc72726bffa4de8f81333ab755696ab..10a4b459ebed329014bf59d16ccfb7e1bf4ec82b 100644 (file)
@@ -40,7 +40,6 @@ endef
 define Package/lua-eco/config
        config LUA_ECO_CRASH_BACKTRACE
                bool "Enable fatal signal C backtrace diagnostics"
-               depends on PACKAGE_lua-eco
                depends on !(USE_MUSL && powerpc)
                default n
                help
git clone https://git.99rst.org/PROJECT