Hi On Sat, Apr 11, 2020 at 11:07 AM Hannu Nyman <hannu.ny...@iki.fi> wrote: > > Looks like the recent kconfig changes broke the whole packages buildbot. > > (For some weird reason, the arc targets succeed, but all others fail > miserably... ) > > > http://buildbot.openwrt.org/master/packages/grid > > http://buildbot.openwrt.org/master/packages/one_line_per_build > > > Some of errors in the logs are possibly related to the TARGET_MULTI_PROFILE > error preventing some default packages, and for that bug there is already a > proposed patch.
This should be fixed with https://patchwork.ozlabs.org/patch/1268895/. Tell me if it does not work. > > But most errors seem to be related to recursive errors inside the rather > complex mac80211 wifi driver collection. I have a hunch that for buildbot the > "treat recursive dependencies as warnings instead of errors" option (from > 3204430e3 ) should be activated in the config binary, or alternatively some > major work for re-organising the mac80211 submodule dependencies needs to be > done. Yes, I've added the WARN_RECURSIVE_DEP option to be used by the bots. I wasn't sure if this option should be default or not. My reasoning was that erroring out would make it harder for new circular dependencies to creep in, and bots could run with it on. Clean the scripts/config directory with make config-clean (if bots don't start with a clean slate), then add WARN_RECURSIVE_DEP=1 to the bots make flags. Most of the time, the recursive dependencies reported by config the ones causing the trouble. It usually occur because some package selects (DEPENDS= +<pkg>) another package that depends on another symbol without either selecting the symbol (DEPENDS=+<sym> +<pkg>) or only selecting the package if symbol is on (DEPENDS=+<sym>:<pgk>). The most common case is a package selecting a module that depends on some global feature. The ones I've fixed in 2e6b6f9fca ("kernel: add @IPV6 dependency to ipv6 modules") had kmod packages selecting ipv6 modules without checking if CONFIG_IPV6 is enabled or not. > > Example: > > http://buildbot.openwrt.org/master/packages/builders/mips_24kc/builds/219/steps/compile/logs/stdio > > > > Config-build.in:10377:error: recursive dependency detected! > Config-build.in:10377: symbol PACKAGE_kmod-cfg80211 depends on > PACKAGE_kmod-cfg80211 > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10273:error: recursive dependency detected! > Config-build.in:10273: symbol PACKAGE_kmod-b43 depends on PACKAGE_kmod-b43 > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > tmp/.config-package.in:10656:error: recursive dependency detected! > tmp/.config-package.in:10656: symbol PACKAGE_kmod-acx-mac80211 depends on > PACKAGE_kmod-acx-mac80211 > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10665:error: recursive dependency detected! > Config-build.in:10665: symbol PACKAGE_kmod-wl18xx depends on > PACKAGE_kmod-wl18xx > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > tmp/.config-package.in:11992:error: recursive dependency detected! > tmp/.config-package.in:11992: symbol PACKAGE_kmod-mwlwifi depends on > PACKAGE_kmod-mwlwifi > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:8941:error: recursive dependency detected! > Config-build.in:8941: symbol PACKAGE_kmod-batman-adv depends on > PACKAGE_kmod-batman-adv > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10501:error: recursive dependency detected! > Config-build.in:10501: symbol PACKAGE_kmod-mwifiex-sdio depends on > PACKAGE_kmod-mwifiex-sdio > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10545:error: recursive dependency detected! > Config-build.in:10545: symbol PACKAGE_kmod-rt2400-pci depends on > PACKAGE_kmod-rt2400-pci > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10425:error: recursive dependency detected! > Config-build.in:10425: symbol PACKAGE_kmod-mac80211 depends on > PACKAGE_kmod-mac80211 > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10229:error: recursive dependency detected! > Config-build.in:10229: symbol PACKAGE_kmod-ath10k-ct-smallbuffers depends on > PACKAGE_kmod-ath10k-ct-smallbuffers > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > Config-build.in:10269:error: recursive dependency detected! > Config-build.in:10269: symbol PACKAGE_kmod-ath9k-htc depends on > PACKAGE_kmod-ath9k-htc > For a resolution refer to Documentation/kbuild/kconfig-language.rst > subsection "Kconfig recursive dependency limitations" > > > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel