Modify

Opened 2 years ago

#20647 new defect

PROVIDES results in recursive dependency warnings

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

Description

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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.