[LEDE-DEV] [RFC] iproute2: update to v4.10.0
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Wed Mar 22 04:05:02 PDT 2017
On 22/03/17 07:13, Russell Senior wrote:
>>>>>> "Syrone" == Syrone Wong <wong.syrone at gmail.com> writes:
>
> Syrone> either runtime dependency ``` DEPENDS:=+kmod-sched-core
> Syrone> +iptables ```
>
> Syrone> or build-time dependency
>
> Syrone> ``` PKG_BUILD_DEPENDS:=iptables ```
>
> Syrone> Don't add both of them.
>
> That does not fix the problem. With the runtime dependency and without
> the BUILD_DEPENDS, I still get:
>
> $ make defconfig
> Collecting package info: done
> tmp/.config-package.in:53710:error: recursive dependency detected!
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:53710: symbol PACKAGE_iptables is selected by PACKAGE_tc
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:59483: symbol PACKAGE_tc is selected by PACKAGE_luci-app-splash
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:35320: symbol PACKAGE_luci-app-splash is selected by PACKAGE_luci-mod-freifunk-community
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:34418: symbol PACKAGE_luci-mod-freifunk-community depends on PACKAGE_firewall
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:246: symbol PACKAGE_firewall is selected by PACKAGE_luci-app-firewall
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:34775: symbol PACKAGE_luci-app-firewall is selected by PACKAGE_luci-app-p2pblock
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> tmp/.config-package.in:35066: symbol PACKAGE_luci-app-p2pblock depends on PACKAGE_iptables
> #
> # configuration written to .config
> #
>
> Documentation/kbuild/kconfig-language.txt (from the kernel tree)
> suggests changing all the dependencies to either "selected by" or
> "depends on". That would seem to mean touching the luci packages.
>
>
Adding a dependency to libxtables rather than iptables as a whole
appears to satisfy parallel build as well as recursive dependency
requirements.
diff --git a/package/network/utils/iproute2/Makefile
b/package/network/utils/iproute2/Makefile
index b0fdffc..4984d92 100644
--- a/package/network/utils/iproute2/Makefile
+++ b/package/network/utils/iproute2/Makefile
@@ -45,7 +45,7 @@ Package/ip-full:=$(call
Package/iproute2/Default,full,Full,ip)
define Package/tc
$(call Package/iproute2/Default)
TITLE:=Traffic control utility
- DEPENDS:=+kmod-sched-core
+ DEPENDS:=+kmod-sched-core +libxtables
endef
More information about the Lede-dev
mailing list