[MacPorts] #70240: port lint should warn if platforms contains any but supported_archs is not set

MacPorts noreply at macports.org
Mon Jun 17 22:41:44 UTC 2024


#70240: port lint should warn if platforms contains any but supported_archs is not
set
-------------------------+--------------------
 Reporter:  ryandesign   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  base         |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 `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'
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70240>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list