libremesh / network-profiles

Set of profiles for the networks using LibreMesh
https://libremesh.org/development-network_profiles.html
44 stars 41 forks source link

Circular dependency in profile-freifunk-80211s-sae-bmx7-batadv #83

Open ilario opened 2 years ago

ilario commented 2 years ago

On OpenWrt 22.03:

error: recursive dependency detected!
    symbol PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv depends on PACKAGE_uhttpd
    symbol PACKAGE_uhttpd is selected by PACKAGE_prometheus-node-exporter-lua
    symbol PACKAGE_prometheus-node-exporter-lua is selected by PACKAGE_altermundi-grafana
    symbol PACKAGE_altermundi-grafana depends on PACKAGE_iw
    symbol PACKAGE_iw is selected by PACKAGE_kmod-cfg80211
    symbol PACKAGE_kmod-cfg80211 is selected by PACKAGE_kmod-batman-adv
    symbol PACKAGE_kmod-batman-adv is selected by PACKAGE_lime-proto-batadv
    symbol PACKAGE_lime-proto-batadv is selected by PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

On OpenWrt 19.07:

error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
    symbol PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv depends on PACKAGE_kmod-cfg80211
    symbol PACKAGE_kmod-cfg80211 is selected by PACKAGE_kmod-batman-adv
    symbol PACKAGE_kmod-batman-adv is selected by PACKAGE_lime-proto-batadv
    symbol PACKAGE_lime-proto-batadv is selected by PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv
ilario commented 2 years ago

I attempted to understand what is happening, but this makes no sense to me. Surely the fact that the Makefiles of wpad-mesh-wolfssl and wpa-cli are broken (see https://github.com/openwrt/openwrt/issues/8312 ) does not help.

spiccinini commented 2 years ago

We had similar issues when using conditional dependencies, or using pakages that hadve conditional dependencies

ilario commented 2 years ago

Ooops, when I tested #84 I was actually testing another fork, sorry for that. Now testing it again, I get these messages on OpenWrt 22.03:

tmp/.config-package.in:60019:error: recursive dependency detected!
tmp/.config-package.in:60019:   symbol PACKAGE_profile-freifunk-80211s-sae-batadv-only depends on PACKAGE_kmod-cfg80211
tmp/.config-package.in:22605:   symbol PACKAGE_kmod-cfg80211 is selected by PACKAGE_kmod-batman-adv
tmp/.config-package.in:16586:   symbol PACKAGE_kmod-batman-adv is selected by PACKAGE_lime-proto-batadv
tmp/.config-package.in:60478:   symbol PACKAGE_lime-proto-batadv is selected by PACKAGE_profile-freifunk-80211s-sae-batadv-only
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

tmp/.config-package.in:60043:error: recursive dependency detected!
tmp/.config-package.in:60043:   symbol PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv depends on PACKAGE_wpad-mesh-wolfssl
tmp/.config-package.in:128433:  symbol PACKAGE_wpad-mesh-wolfssl is selected by PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"

and these other messages on OpenWrt 19.07:

tmp/.config-package.in:72855:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:72855:   symbol PACKAGE_profile-freifunk-80211s-sae-batadv-only depends on PACKAGE_kmod-cfg80211
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:18736:   symbol PACKAGE_kmod-cfg80211 is selected by PACKAGE_kmod-batman-adv
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:13258:   symbol PACKAGE_kmod-batman-adv is selected by PACKAGE_lime-proto-batadv
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:73337:   symbol PACKAGE_lime-proto-batadv is selected by PACKAGE_profile-freifunk-80211s-sae-batadv-only
tmp/.config-package.in:72880:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:72880:   symbol PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv depends on PACKAGE_wpad-mesh-wolfssl
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:140994:  symbol PACKAGE_wpad-mesh-wolfssl is selected by PACKAGE_profile-freifunk-80211s-sae-bmx7-batadv