Re: Convert sepgsql tests to TAP - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Convert sepgsql tests to TAP
Date
Msg-id 563763.1737762096@sss.pgh.pa.us
Whole thread Raw
In response to Re: Convert sepgsql tests to TAP  (Robins Tharakan <tharakan@gmail.com>)
Responses Re: Convert sepgsql tests to TAP
List 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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Convert sepgsql tests to TAP
Next
From: Robins Tharakan
Date:
Subject: Re: Convert sepgsql tests to TAP