Re: buildfarm + meson

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Andres Freund <andres@anarazel.de>, Nazir Bilal Yavuz <byavuz81@gmail.com>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-03-07T20:47:54Z
Lists: pgsql-hackers
On 2023-03-07 Tu 14:37, Andres Freund wrote:
> Hi,
>
> On 2023-03-01 13:32:58 -0800, Andres Freund wrote:
>> On 2023-03-01 16:21:32 -0500, Andrew Dunstan wrote:
>>> Perhaps the latest version will be more to your taste.
>> I'll check it out.
> A simple conversion from an existing config failed with:
> Can't use an undefined value as an ARRAY reference at /home/bf/src/pgbuildfarm-client-meson/PGBuild/Modules/TestICU.pm line 37.
>
> I disabled TestICU and was able to progress past that.


Pushed a fix for that.


>
> ...
> piculet-meson:HEAD          [19:12:48] setting up db cluster (C)...
> piculet-meson:HEAD          [19:12:48] starting db (C)...
> piculet-meson:HEAD          [19:12:48] running installcheck (C)...
> piculet-meson:HEAD          [19:12:57] restarting db (C)...
> piculet-meson:HEAD          [19:12:59] running meson misc installchecks (C) ...
> Branch: HEAD
> Stage delay_executionInstallCheck-C failed with status 1
>
>
> The failures are like this:
>
> +ERROR:  extension "dummy_index_am" is not available
> +DETAIL:  Could not open extension control file "/home/bf/bf-build/piculet-meson/HEAD/inst/share/postgresql/extension/dummy_index_am.control": No such file or directory.
> +HINT:  The extension must first be installed on the system where PostgreSQL is running.
>
> I assume this is in an interaction with b6a0d469cae.
>
>
> I think we need a install-test-modules or such that installs into the normal
> directory.
>

Exactly.


cheers


andrew

-- 

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

Commits

  1. meson: fix header path of ossp-uuid

  2. meson: Add target for installing test files & improve install_test_files

  3. meson: don't require 'touch' binary, make use of 'cp' optional