port upgrade outdated fails

Dr M J Carter Martin.Carter at physics.ox.ac.uk
Tue Aug 27 14:11:31 UTC 2019


On Tue, Aug 27, 2019 at 02:53:03PM +0100, Chris Jones wrote:

> Ball is in your court to fix this.

Serving suggestion: rather than rip-and-replace, it may be worth using
"port upgrade --enforce-variants offending_port +gcc9 +other_variants"
to change the variants in-place.  We use that trick on a twice-weekly
basis to persuade valgrind +openmpi and openmpi-gcc +valgrind to build
from scratch, as each depends on the other.

Discovering the appropriate values of offending_port, and the matching
values of other_variants for each, is left as an exercise (hint: "port
installed | grep gcc" and variants).  Good luck.

-- 
Dr Martin J Carter
Computer System Administrator
Astrophysics, University of Oxford


More information about the macports-users mailing list