pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Christoph Berg <myon@debian.org>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Antonin Houska <ah@cybertec.at>
Cc: Wolfgang Walther <walther@technowledgy.de>
Cc: Devrim Gündüz <devrim@gunduz.org>
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Date: Fri, 2 May 2025 10:11:08 -0500
Message-ID: <aBTgjDfrdOZmaPgv@nathan> (raw)
In-Reply-To: <CAOYmi+kQCDY8+8URaUpYuwyYQuSqj8Woc=02N_tCk-YK7XC-qw@mail.gmail.com>
References: <CAOYmi+=WA4ZfyHWt+4=yFV7VAXQWvNKsn4R=3PwLd4GfmSTiBA@mail.gmail.com>
	<aAkXb1wdZUDycyWi@msg.df7cb.de>
	<CAOYmi+=cs+gDTAH0L+3JzpRLeHPOXDQxu7MOfsbjah9SkAP_kw@mail.gmail.com>
	<CAOYmi+=UsSnLM4K+hYkhrezpQROQ5jr=72feAkQ0Te8GJf3Fbg@mail.gmail.com>
	<8210C830-DDBB-4CD7-AB39-F5F59C36D547@yesql.se>
	<CAOYmi+mXoq9dUagnkXDgWa72QjCg8SdagBz_yGPUdh1Px0XD5g@mail.gmail.com>
	<FE299814-66B2-47B4-8F06-2B6A7AB508EF@yesql.se>
	<CAOYmi+nF+ov5JxLrLuL6z3Zj7ng3-yJbv0AQFH8VpZm-DNDYUg@mail.gmail.com>
	<CAOYmi+kSX0bdXXSYfv0De6rTx1d77KJAYoHA7+9fmJ64z5dOjw@mail.gmail.com>
	<CAOYmi+kQCDY8+8URaUpYuwyYQuSqj8Woc=02N_tCk-YK7XC-qw@mail.gmail.com>

After commit b0635bf, I'm seeing the following meson build failures on
macOS:

	In file included from ../postgresql/src/interfaces/libpq-oauth/oauth-curl.c:51:
	../postgresql/src/interfaces/libpq/libpq-int.h:70:10: fatal error: 'openssl/ssl.h' file not found
	   70 | #include <openssl/ssl.h>
	      |          ^~~~~~~~~~~~~~~
	1 error generated.

The following patch seems to resolve it.  I'm curious if commit 4ea1254
might apply to meson, too, but FWIW I haven't noticed any related failures
on my machine.

inline patch 1: meson.build (+1/-0 lines) download inline-1.patchdiff --git a/meson.build b/meson.build index 29d46c8ad01..19ad03042d3 100644 --- a/meson.build +++ b/meson.build @@ -3295,6 +3295,7 @@ libpq_deps += [ libpq_oauth_deps += [ libcurl, + ssl, ] subdir('src/interfaces/libpq')
-- nathan

view thread (424+ messages)  latest in thread

Message-ID: <aBTgjDfrdOZmaPgv@nathan>
Permalink:  ../aBTgjDfrdOZmaPgv@nathan/
Also on:    postgresql.org/message-id/aBTgjDfrdOZmaPgv@nathan

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, jacob.champion@enterprisedb.com, daniel@yesql.se, myon@debian.org, postgres@jeltef.nl, peter@eisentraut.org, andres@anarazel.de, tgl@sss.pgh.pa.us, bruce@momjian.us, thomas.munro@gmail.com, byavuz81@gmail.com, ah@cybertec.at, walther@technowledgy.de, devrim@gunduz.org
  Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
  In-Reply-To: <aBTgjDfrdOZmaPgv@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox