pgsql: meson: Fix install-quiet after clean

From: Jacob Champion <jchampion(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Fix install-quiet after clean
Date: 2025-08-07 22:35:31
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Fix install-quiet after clean

libpq-oauth was missing from the installed_targets list, so

$ ninja clean && ninja install-quiet

failed with the error message

ERROR: File 'src/interfaces/libpq-oauth/libpq-oauth.a' could not be found

It seems a little odd to have to tell Meson what's missing, since it
clearly knows how to build that file during regular installation. But
the "quiet" variant we've created must use --no-rebuild, to avoid
spawning concurrent ninja processes that would step on each other.

Reported-by: Andres Freund <andres(at)anarazel(dot)de>
Backpatch-through: 18
Discussion: https://postgr.es/m/hbpqdwxkfnqijaxzgdpvdtp57s7gwxa5d6sbxswovjrournlk6%404jnb2gzan4em

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a9ffb35274fb17282dd2f0035172720ae4a87589

Modified Files
--------------
meson.build | 7 +++++++
1 file changed, 7 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-08-08 00:08:31 pgsql: Add information about "generation" when dropping twice pgstats e
Previous Message Peter Eisentraut 2025-08-07 22:33:57 pgsql: pg_upgrade: Make format strings consistent