Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ilario opened this issue Oct 27, 2022 · 3 comments · Fixed by #84
Open

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

ilario opened this issue Oct 27, 2022 · 3 comments · Fixed by #84
Assignees

Comments

@ilario
Copy link
Member

ilario commented Oct 27, 2022

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
Copy link
Member Author

ilario commented Oct 27, 2022

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 openwrt/openwrt#8312 ) does not help.

@spiccinini
Copy link
Contributor

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

dangowrt added a commit to dangowrt/network-profiles that referenced this issue Nov 9, 2022
Dependencies in LiMe became more complex which lead to several
circular dependencies. Remove dependency on 'uhttpd-mod-lua' to
hopefully resolve this issue for the freifunk community profiles.

This should fix libremesh#83.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@ilario ilario closed this as completed in #84 Nov 9, 2022
@ilario
Copy link
Member Author

ilario commented Nov 10, 2022

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

@ilario ilario reopened this Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants