On Sun, Nov 17, 2024 at 2:17 PM Andres Freund <and...@anarazel.de> wrote: > Whenever the cache was built with 15, 16 would fail, because gmake was > installed but not meson. And vice versa. It gets worse, see further down.
Argh... > The easiest fix I can see is to simply loop over the to-be-installed installed > packages and mark them as installed one-by-one. That's a few seconds slower, > but that's not too bad. Anyone got a better idea? With a loop as in the attached, it seems to take around 2.5 seconds for that part. That's surprisingly slow for processing 12 packages, but even "port usage" takes 0.18s on my Mac, so I guess all that tcl code is just really slow to start up. It doesn't seem to be easy to convince it to do more than one thing at a time without hiding errors... for example if you pipe in commands to sudo port -F -, then you'll have to parse the text output because $? only reports the result of the final command. Other multi-package commands are also too tolerant. So no, I haven't got a better idea...
0001-ci-Fix-MacPorts-installer-script.patch
Description: Binary data