small icon indicating copy to clipboard operation
small copied to clipboard

编译lede固件时,提示nikki和geoview的warning

Open iptag opened this issue 7 months ago • 3 comments

错误日志如下:

tmp/.config-package.in:128813:error: recursive dependency detected!
tmp/.config-package.in:128813:	symbol PACKAGE_nikki depends on PACKAGE_firewall4
tmp/.config-package.in:346:	symbol PACKAGE_firewall4 is selected by PACKAGE_luci-app-fchomo
tmp/.config-package.in:63445:	symbol PACKAGE_luci-app-fchomo depends on PACKAGE_nikki
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:104253:error: recursive dependency detected!
tmp/.config-package.in:104253:	symbol PACKAGE_geoview is selected by PACKAGE_geoview
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
#
# configuration written to .config
#

问了gemini回答如下:

您遇到的错误是“递归依赖(recursive dependency)”,也就是我们常说的“死循环依赖”。编译系统在处理软件包时,需要先满足其依赖关系。这个错误意味着:

第一个死循环:

为了安装 nikki,必须先安装 firewall4。
为了安装 firewall4,必须先安装 luci-app-fchomo。
为了安装 luci-app-fchomo,又必须先安装 nikki。
这就形成了一个闭环:nikki → firewall4 → luci-app-fchomo → nikki 🔃
编译系统无法决定应该先安装哪一个,因为每一个的前提都是另一个,这是一个无法解析的逻辑矛盾。

第二个死循环:

为了安装 geoview,必须先安装 geoview。
geoview → geoview 🔃
这是一个软件包依赖自身的错误,同样无法被解析。这通常是软件包的 Makefile 文件中的一个笔误。

应该不是lede那边固件的问题,应该时这几个插件本身的递归依赖的问题。。。

iptag avatar Jun 01 '25 15:06 iptag

同样的问题,用ImmortalWrt也是有这个报错

tonghuabande avatar Jul 23 '25 08:07 tonghuabande

+1,不影响正常编译使用。

Autines avatar Aug 26 '25 13:08 Autines

一样 @kenzok8 来修复下大佬

ham0223 avatar Sep 21 '25 13:09 ham0223