Skip to content

meson: Fix install-quiet after a clean #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jchampio
Copy link
Owner

@jchampio jchampio commented Aug 7, 2025

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 missing file, 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@anarazel.de
Backpatch-through: 18

@jchampio jchampio force-pushed the dev/fix_installed_targets branch from 0d76d3b to 86bfbec Compare August 7, 2025 21:49
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@anarazel.de>
Backpatch-through: 18
@jchampio jchampio force-pushed the dev/fix_installed_targets branch from 86bfbec to 8711730 Compare August 7, 2025 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant