#20647: PROVIDES results in recursive dependency warnings
-----------------------+--------------------------------
Reporter: openwrt@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: other | Version: Chaos Calmer 15.05
Keywords: |
-----------------------+--------------------------------
The current implementation of PROVIDES *often* results in recursive
dependency errors.
This is because PROVIDES is implemented by substituting
depends on (X||Y)
wherever the Z in PROVIDES:=Z appears.
The issue is that this is not the right behavior when
+Z is used, because now instead of
select PACKAGE_X
you now have
depends on (PACKAGE_X||PACKAGE_Y)
however depending on PACKAGE_X when select is required cant trigger a
recursive dependency error (because PACKAGE_P now depends on PACKAGE_X,
which may also be selected by PACKAGE_N that PACKAGE_P selects).
I'm not sure what the solution is, since there is no notion of select
(X||Y) that I am aware of.
This applies to all versions of OpenWrt for which PROVIDES exists.
--
Ticket URL: <https://dev.openwrt.org/ticket/20647>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets