Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3Ev1-00075X-Pg for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 09:41:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m3Ev0-0003Jc-M1 for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 09:41:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3Ev0-0003JU-DY for pgsql-hackers@lists.postgresql.org; Tue, 13 Jul 2021 09:41:34 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m3Eux-0004Rk-PG for pgsql-hackers@postgresql.org; Tue, 13 Jul 2021 09:41:34 +0000 Received: from mkulaginnb (109-252-184-74.dynamic.spd-mgts.ru [109.252.184.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id A192221C9A79; Tue, 13 Jul 2021 12:41:29 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1626169289; bh=EK4qQEkNPuY/vQcXVN9VSTd8CWCKiRiYUdmKPjwpbC8=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=kzRNvwXZxfBgk38R5KjVNAguUNTo8c37MnQhJG6L36es1BgNHd+kM3IbywidlT7zQ FaydhViABAwDqrmSaxca8+lwQHHA/ZT/eGNNAW7FWhCz9x9EQCnmlGGPR+soRH1Id9 ONlLV6NAHl2HREjqqqATTq74OXmzELM+lHYtT06M= From: "Mikhail Kulagin" To: "'Jacob Champion'" , Cc: References: <3d2a6f5d50e741117d6baf83eb67ebf1a8a35a11.camel@vmware.com> <9dc553fe86ba34bff1e0b636c493b527fc7bc030.camel@vmware.com> <0907fda41fb40b23e2cbdf7eb05a8d61dd5307b3.camel@vmware.com> <39a6bd825fd776f5f9c3a8eb7ca1c62f77cea433.camel@vmware.com> <5cf3c71d51a215d4103abcc686c69e79619e7b60.camel@vmware.com> <5a75d91c1e06cce43ba038ccaa8bfded5cb35df2.camel@vmware.com> In-Reply-To: <5a75d91c1e06cce43ba038ccaa8bfded5cb35df2.camel@vmware.com> Subject: RE: [PATCH] Pull general SASL framework out of SCRAM Date: Tue, 13 Jul 2021 12:41:27 +0300 Message-ID: <05ce01d777cb$40f31d60$c2d95820$@postgrespro.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_05CF_01D777E4.66405560" X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQKcDhSovvuWAStEribDFndkoDx1ygHovP18AiZatpgCKLDF2QIRu5b9AZ51axcCzNkRRgJN3Xl9AswNskcCTaBlEQFffwJ0qQuY5pA= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multipart message in MIME format. ------=_NextPart_000_05CF_01D777E4.66405560 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, hackers! I got an error while building one of the extensions. /home/mkulagin/pg-install/postgresql-master/include/internal/libpq-int.h:= 44:10: fatal error: fe-auth-sasl.h: No such file or directory #include "fe-auth-sasl.h" ^~~~~~~~~~~~~~~~ =20 I think the new fe-auth-sasl.h file should be installed too. Correction proposal in the attached file (but I'm not sure that fix of = Install.pm is correct). Regards, Mikhail A. Kulagin PostgresPro =20 ------=_NextPart_000_05CF_01D777E4.66405560 Content-Type: application/octet-stream; name="missing_fe-auth-sasl.h.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="missing_fe-auth-sasl.h.patch" diff --git a/src/interfaces/libpq/Makefile = b/src/interfaces/libpq/Makefile=0A= index 94c3c73e41..61c7dae80b 100644=0A= --- a/src/interfaces/libpq/Makefile=0A= +++ b/src/interfaces/libpq/Makefile=0A= @@ -132,6 +132,7 @@ install: all installdirs install-lib=0A= $(INSTALL_DATA) $(srcdir)/libpq-events.h '$(DESTDIR)$(includedir)'=0A= $(INSTALL_DATA) $(srcdir)/libpq-int.h = '$(DESTDIR)$(includedir_internal)'=0A= $(INSTALL_DATA) $(srcdir)/pqexpbuffer.h = '$(DESTDIR)$(includedir_internal)'=0A= + $(INSTALL_DATA) $(srcdir)/fe-auth-sasl.h = '$(DESTDIR)$(includedir_internal)'=0A= $(INSTALL_DATA) $(srcdir)/pg_service.conf.sample = '$(DESTDIR)$(datadir)/pg_service.conf.sample'=0A= =0A= installcheck:=0A= @@ -145,6 +146,7 @@ uninstall: uninstall-lib=0A= rm -f '$(DESTDIR)$(includedir)/libpq-events.h'=0A= rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'=0A= rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'=0A= + rm -f '$(DESTDIR)$(includedir_internal)/fe-auth-sasl.h'=0A= rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'=0A= =0A= clean distclean: clean-lib=0A= diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm=0A= index de22c9ba2c..3af324e3fa 100644=0A= --- a/src/tools/msvc/Install.pm=0A= +++ b/src/tools/msvc/Install.pm=0A= @@ -633,7 +633,7 @@ sub CopyIncludeFiles=0A= CopyFiles(=0A= 'Libpq internal headers',=0A= $target . '/include/internal/',=0A= - 'src/interfaces/libpq/', 'libpq-int.h', 'pqexpbuffer.h');=0A= + 'src/interfaces/libpq/', 'libpq-int.h', 'pqexpbuffer.h', = 'fe-auth-sasl.h');=0A= =0A= CopyFiles(=0A= 'Internal headers',=0A= ------=_NextPart_000_05CF_01D777E4.66405560--