Opened 2 years ago

Last modified 2 years ago

#20648 new defect

Mutually exclusive depends called recursive depedency

Reported by: openwrt@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Chaos Calmer 15.05
Keywords: Cc:


using configuration options like:

config X

bool "boolX"
default n
depends on (PACKAGE_P && (!(Y))

config Y

bool "boolY"
default n
depends on (PACKACK_P && (!(X))

results in a warning about there being a recursive dependency
(X depends on Y and Y depends on X)

When in fact the opposite of a recursive dependency is the case (that is X depends on not Y and Y depends on not X).

Both can be false but only one can be true, and this shouldn't
trigger the warning where X needs Y and Y needs X.

This is true of CC and is probably true for trunk too.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by openwrt@…

Have not yet tested, but the necessary functionality may be possible with only one of the having the not (!) operator (since if Y then X will not be visible, and if X is selected and then Y then X probably will be deselected and disappear).

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.