From: | Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de> |
Subject: | Re: Adding NetBSD and OpenBSD to Postgres CI |
Date: | 2024-11-07 13:40:26 |
Message-ID: | CAN55FZ0czTmfnfF=WOHJUZ0iZRiMz6Yf3FSMbPh4=Z5a_TDjKw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Thanks for the feedback!
On Fri, 1 Nov 2024 at 14:16, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>
> On 01.11.24 10:17, Nazir Bilal Yavuz wrote:
> > NetBSD and OpenBSD Postgres CI images are generated [1] but their tasks
> > are not added to the upstream Postgres yet. The attached patch adds
> > NetBSD and OpenBSD tasks to the Postgres CI.
> >
> > I made these tasks triggered manually like MinGW task to save CI credits
> > but a related line is commented out for now to trigger CFBot.
>
> This seems useful to me. It would add some more testability for
> LibreSSL for example.
>
> I noticed that neither the existing FreeBSD task nor the new OpenBSD one
> find the bsd_auth.h header. I thought this would be good to get more
> testing of that code. Do you know why that is?
The 'bsd_auth.h' file does not exist in FreeBSD.
For the OpenBSD, it exists but its compilation fails with:
'''
/usr/include/bsd_auth.h:93:1: error: unknown type name 'quad_t'
/usr/include/bsd_auth.h:94:1: error: unknown type name 'quad_t
'''
These 'quad_t' types are defined in the 'sys/types.h' file. If I apply
the changes below:
"""
if cc.check_header('bsd_auth.h', required: bsd_authopt,
- args: test_c_args, include_directories: postgres_inc)
+ args: test_c_args, prefix: '#include <sys/types.h>',
+ include_directories: postgres_inc)
cdata.set('USE_BSD_AUTH', 1)
bsd_auth = declare_dependency()
endif
"""
Then, meson is able to find "bsd_auth.h" in the OpenBSD task and CI
finishes successfully [1]. But I am not sure if this is enough. Do we
need additional changes for the BSD authentication?
[1] https://cirrus-ci.com/task/6516032758611968
--
Regards,
Nazir Bilal Yavuz
Microsoft
From | Date | Subject | |
---|---|---|---|
Next Message | Junwang Zhao | 2024-11-07 13:56:39 | Re: general purpose array_sort |
Previous Message | Guillaume Lelarge | 2024-11-07 13:33:07 | Re: Add parallel columns for pg_stat_statements |