meson vs tarballs

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: meson vs tarballs
Date: 2024-03-13 06:11:01
Message-ID: afd7c352-24e1-1b69-f3d1-5c9a9636de17@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I and several colleagues have just been trying to build from a tarball
with meson.

`meson setup build .` results in this:

[...]

Message: checking for file conflicts between source and build directory

meson.build:2963:2: ERROR: Problem encountered:
****
Non-clean source code directory detected.

To build with meson the source tree may not have an in-place, ./configure
style, build configured. You can have both meson and ./configure style
builds
for the same source tree by building out-of-source / VPATH with
configure. Alternatively use a separate check out for meson based builds.

Conflicting files in source directory:

[huge list of files]

The conflicting files need to be removed, either by removing the files
listed
above, or by running configure and then make maintainer-clean.

****

That seems pretty awful and unfriendly and I didn't see anything about
it in the docs.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-03-13 06:15:24 Re: Add basic tests for the low-level backup method.
Previous Message Euler Taveira 2024-03-13 06:10:21 Re: speed up a logical replica setup