Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-21 Thread Peter Eisentraut
On 21.08.24 11:28, Thomas Munro wrote: On Wed, Aug 21, 2024 at 9:04 PM Peter Eisentraut wrote: REL_15_STABLE is fixed now. REL_16_STABLE now fails with another thing: ... line 6: meson: command not found Huh. I don't see that in my own account. And postgres/postgres is currently out of j

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-21 Thread Thomas Munro
On Wed, Aug 21, 2024 at 9:04 PM Peter Eisentraut wrote: > REL_15_STABLE is fixed now. REL_16_STABLE now fails with another thing: ... > line 6: meson: command not found Huh. I don't see that in my own account. And postgres/postgres is currently out of juice until the end of the month (I know w

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-21 Thread Peter Eisentraut
On 19.08.24 01:44, Thomas Munro wrote: On Mon, Aug 19, 2024 at 10:55 AM Tom Lane wrote: Thomas Munro 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

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tom Lane
Thomas Munro writes: > On Mon, Aug 19, 2024 at 12:51 PM Tom Lane wrote: >> I'm not sure why the CI script should trigger that though. It >> does do a couple of "port" calls without "sudo", but not in places >> where the state should be only partially upgraded. > Oooh, I think I see where we mis

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Thomas Munro
On Mon, Aug 19, 2024 at 12:51 PM Tom Lane wrote: > I'm not sure why the CI script should trigger that though. It > does do a couple of "port" calls without "sudo", but not in places > where the state should be only partially upgraded. Oooh, I think I see where we missed a sudo: if [ -n "$(port

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tom Lane
I wrote: > Interesting. Now that I've finished "sudo port upgrade outdated", > my laptop is back to a state where unprivileged "port outdated" > is successful. I confirmed on another machine that, immediately after "sudo port selfupdate" from 2.9.3 to 2.10.1, I get $ port outdated sqlite error:

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tom Lane
Thomas Munro writes: > On Mon, Aug 19, 2024 at 10:55 AM Tom Lane wrote: >> 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 unpr

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Thomas Munro
On Mon, Aug 19, 2024 at 10:55 AM Tom Lane wrote: > Thomas Munro 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.

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tom Lane
Thomas Munro 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 ou

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Thomas Munro
On Mon, Aug 19, 2024 at 10:01 AM Thomas Munro wrote: > Oh, it already is a cache miss and thus a fresh installation, in > Tomas's example. I can reproduce that in my own Github account by > making a trivial change to ci_macports_packages.sh to I get a cache > miss too. It appears to install macp

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tom Lane
Thomas Munro writes: > Oh, it already is a cache miss and thus a fresh installation, in > Tomas's example. I can reproduce that in my own Github account by > making a trivial change to ci_macports_packages.sh to I get a cache > miss too. It appears to install macports just fine, and then a later

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Thomas Munro
On Mon, Aug 19, 2024 at 7:52 AM Thomas Munro wrote: > The macOS major version and hash of the MacPorts package install > script are in the cache key for that (see 64c39bd5), so a change to > that script would make a totally fresh installation, and hopefully > work. I will look into that, but it w

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Thomas Munro
On Mon, Aug 19, 2024 at 2:07 AM Peter Eisentraut wrote: > [14:01:37.431] Error: /opt/local/bin/port: Failed to initialize > MacPorts, sqlite error: attempt to write a readonly database (8) while > executing query: CREATE INDEX registry.snapshot_file_id ON > snapshot_files(id) Hmmm. Basically the

Re: Cirrus CI for macOS branches 16 and 15 broken

2024-08-18 Thread Tomas Vondra
On 8/18/24 16:07, Peter Eisentraut wrote: > The Cirrus CI for REL_16_STABLE and REL_15_STABLE for macOS is > apparently broken right now.  Here is a log example: > > [13:57:11.305] sh src/tools/ci/ci_macports_packages.sh \ > [13:57:11.305]   ccache \ > [13:57:11.305]   icu \ > [13:57:11.305]   ker