#20728: When building +universal, warn if dependencies don't have +universal -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * milestone: => MacPorts Future Comment: Replying to [comment:1 jmr@…]:
Ideally there would be a general check that the arch(s) being built for matches what all the deps were installed with, Ah yes. That would be a better generalization. When building for an arch (or archs), bail if dependencies don't have that arch (those archs). This implies we need a way for ports to store in the registry what archs they were built for.
Need an exception for noarch ports: they should record not the build arch but "noarch". This implies we need a way for ports to indicate they are noarch -- #12206, also #20739.
and we would try to add the needed arch(s) if not present. I would skip that suggestion for now; it adds more complication, and this is already complicated enough. We can do that later, separately. For now it would be fine to bail with a good error message.
-- Ticket URL: <http://trac.macports.org/ticket/20728#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS