Opened 5 months ago

#70240 new enhancement

port lint should warn if platforms contains any but supported_archs is not set

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

port lint should warn if a port sets platforms to a value that includes any and does not also set supported_archs.

#70107 and #70237 are examples of the problems that can result.

From comment:ticket:70107:4, affected portfiles can be located with:

port file all|sort -u|xargs grep -El '^[[:space:]]*platforms.*[[:space:]]any'|xargs grep -EL '^[[:space:]]*supported_archs'

Change History (0)

Note: See TracTickets for help on using tickets.