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

From Robins Tharakan
Subject Re: Convert sepgsql tests to TAP
Date
Msg-id CAEP4nAxSQELNi9umTJ6bhczM2CH7bprqFNYgEJBeZK_TvjfM+Q@mail.gmail.com
Whole thread Raw
In response to Re: Convert sepgsql tests to TAP  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Convert sepgsql tests to TAP
List pgsql-hackers

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 (/home/postgres/proj/build-farm-17/buildroot/HEAD/pgsql.build/tmp_install/log/install.log)

make[2]: Entering directory '/home/postgres/proj/build-farm-17/buildroot/HEAD/pgsql.build/contrib/sepgsql'
ccache gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -O2 -fPIC -fvisibility=hidden -I. -I. -I../../src/include  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o database.o database.c
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.
make[2]: *** [<builtin>: database.o] Error 1
make[2]: Leaving directory '/home/postgres/proj/build-farm-17/buildroot/HEAD/pgsql.build/contrib/sepgsql'
make[1]: *** [../../src/Makefile.global:435: checkprep] Error 2
make[1]: Leaving directory '/home/postgres/proj/build-farm-17/buildroot/HEAD/pgsql.build/contrib/sepgsql'


-
robins 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Convert sepgsql tests to TAP
Next
From: Masahiko Sawada
Date:
Subject: Re: Separate GUC for replication origins