On 19.08.24 01:44, Thomas Munro wrote:
> On Mon, Aug 19, 2024 at 10:55 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Thomas Munro <thomas.munro@gmail.com> writes:
>>> I still don't know what's happening. In case it helps someone else
>>> see it, the error comes from "sudo port unsetrequested installed".
>>> But in any case, switching to 2.10.1 seems to do the trick. See
>>> attached.
>>
>> Interesting. Now that I've finished "sudo port upgrade outdated",
>> my laptop is back to a state where unprivileged "port outdated"
>> is successful.
>>
>> What this smells like is that MacPorts has to do some kind of database
>> update as a result of its major version change, and there are code
>> paths that are not expecting that to get invoked. It makes sense
>> that unprivileged "port outdated" would fail to perform the database
>> update, but not quite as much for "sudo port unsetrequested installed"
>> to fail. That case seems like a MacPorts bug; maybe worth filing?
>
> Huh. Right, interesting theory. OK, I'll push that patch to use
> 2.10.1 anyway, and report what we observed to see what they say.
REL_15_STABLE is fixed now. REL_16_STABLE now fails with another thing:
[08:57:02.082] export PKG_CONFIG_PATH="/opt/local/lib/pkgconfig/"
[08:57:02.082] meson setup \
[08:57:02.082] --buildtype=debug \
[08:57:02.082] -Dextra_include_dirs=/opt/local/include \
[08:57:02.082] -Dextra_lib_dirs=/opt/local/lib \
[08:57:02.083] -Dcassert=true \
[08:57:02.083] -Duuid=e2fs -Ddtrace=auto \
[08:57:02.083] -DPG_TEST_EXTRA="$PG_TEST_EXTRA" \
[08:57:02.083] build
[08:57:02.097]
/var/folders/0n/_7v_bpwd1w71f8l0b0kjw5br0000gn/T/scriptscbc157a91c26ed806bb3701f4d85e91d.sh:
line 6: meson: command not found
[08:57:03.078]
[08:57:03.078] Exit status: 127