Ticket #20728 (closed enhancement: fixed)
When building a port for a set of archs, warn if dependencies don't have at least those archs
|Reported by:||ryandesign@…||Owned by:||macports-tickets@…|
When building a port with the universal variant, MacPorts base should print a warning if any of that port's library or runtime dependencies have a universal variant but the dependency is not installed with that variant.
Most ports would fail to build in this case if their dependencies aren't universal. But in some situations the build might silently succeed, but not be usable. Either way, a concrete error message from MacPorts about the issue would be good, e.g.
Warning: Before building fontconfig with the universal variant, you should build libiconv with the universal variant
- Summary changed from When building +universal, warn if dependencies don't have +universal to When building a port for a set of archs, warn if dependencies don't have at least those archs