#22226: False recursive dependency when using conditional dependency
-----------------------+--------------------------------
Reporter: ilario | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: toolchain | Version: Chaos Calmer 15.05
Keywords: |
-----------------------+--------------------------------
Hi!
I was introducing some conditional dependencies (working on Libre-Mesh
firmware) while I got an error about a "recursive dependency".
I created a dummy repository as a minimal working example for obtaining
this error:
https://github.com/ilario/testing-openwrt-conditional-dependencies
after adding it in feeds.conf, updating and installing packages, when I
run
{{{
make menuconfig
}}}
I get the following error:
{{{
error: recursive dependency detected!
symbol PACKAGE_dummyfirst is selected by PACKAGE_dummysecond
symbol PACKAGE_dummysecond is selected by PACKAGE_dummyfirst
}}}
the dependencies are set in this way:
dummysecond selects dummyfirst
dummythird selects dummysecond if dummyfirst is selected (this is the
conditional dependency)
The real situation where this happened was introduced by this line:
https://github.com/ilario/lime-
packages/commit/c629fb354127cfc2be5401fb8df7ec5b0cbb934d#diff-
f00e963b6edf5ef1785f84d7b66ccbe9R23
It's coded this way because batman-adv-auto-gw-mode package is thought to
be Libre-Mesh independent, so no direct dependency from lime-* packages
was introduced.
But when used in Libre-Mesh environment (which is, when lime-system is
selected) it requires lime-proto-batadv.
This dependency looks legitimate to me.
Thanks,
Ilario
--
Ticket URL: <https://dev.openwrt.org/ticket/22226>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets