Re: Convert sepgsql tests to TAP

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robins Tharakan <tharakan@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers <pgsql-hackers@postgresql.org>, Joe Conway <mail@joeconway.com>, Andreas Karlsson <andreas@proxel.se>
Date: 2025-01-24T23:41:36Z
Lists: pgsql-hackers
Robins Tharakan <tharakan@gmail.com> writes:
> On Sat, 25 Jan 2025 at 08:59, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> alligator and lapwing are not reporting the
>> relevant log file, but what we do see is an install failure that
>> could well be down to a compile failure.

> You're probably right about that.
> This is what I see in the install.log

> In file included from database.c:21:
> sepgsql.h:17:10: fatal error: selinux/selinux.h: No such file or directory
>    17 | #include <selinux/selinux.h>
>       |          ^~~~~~~~~~~~~~~~~~~
> compilation terminated.

Yeah, that's about what I expected.  As a workaround until Andrew
updates the BF client, you could do

-		$libdir = "$tmp_loc/lib/postgresql";
+		$libdir = "$tmp_loc/lib";

at about line 429 of PGBuild/Utils.pm

			regards, tom lane



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. sepgsql: update TAP test to use fat comma style

  2. Convert sepgsql tests to TAP

  3. meson: Fix sepgsql installation