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 1mn22W-0003oM-71 for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Nov 2021 17:14: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 1mn22V-0002Lc-6Q for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Nov 2021 17:14:35 +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 1mn22U-0002LM-T6 for pgsql-hackers@lists.postgresql.org; Tue, 16 Nov 2021 17:14:34 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mn22S-000628-9X for pgsql-hackers@lists.postgresql.org; Tue, 16 Nov 2021 17:14:34 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 2C9F15F7A3; Tue, 16 Nov 2021 12:14:31 -0500 (EST) Date: Tue, 16 Nov 2021 12:14:31 -0500 From: Stephen Frost To: Alvaro Herrera Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Fix headerscheck failure in replication/worker_internal.h Message-ID: <20211116171430.GI26257@tamriel.snowman.net> References: <202111161709.u3pbx5lxdimt@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/8E7gjuj425jZz9t" Content-Disposition: inline In-Reply-To: <202111161709.u3pbx5lxdimt@alvherre.pgsql> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --/8E7gjuj425jZz9t Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Alvaro Herrera (alvherre@alvh.no-ip.org) wrote: > On 2021-Nov-16, Alvaro Herrera wrote: >=20 > > Fix headerscheck failure in replication/worker_internal.h >=20 > The other failure is in src/include/libpq/be-gssapi-common.h: >=20 > In file included from /tmp/headerscheck.a6f0um/test.c:2: > ./src/include/libpq/be-gssapi-common.h:20:10: fatal error: gssapi/gssapi.= h: No existe el fichero o el directorio > 20 | #include > | ^~~~~~~~~~~~~~~~~ > compilation terminated. >=20 > One possible solution for this one is to add an exclusion in > headerscheck (and cpluspluscheck?); the other possible solution seems to > be to wrap the whole contents of the file in "#ifdef ENABLE_GSS". I > think the latter is roughly the approach used for OpenSSL inclusions. Short answer is yes, inclusion of be-gssapi-common.h is typically wrapped in a #ifdef, see src/backend/libpq/auth.c Thanks, Stephen --/8E7gjuj425jZz9t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJhk+b2AAoJEO1sijiDR2RVmUwQAIeUDHrizav08LYSiXS+9D2U MnoBHcJxpiy7JTE/LB54ON009CX+Ilt/dKdN/9Tcs4OPvl5DqIIuYNOFteYTLVow tq57pz81D+ax7aQ6SZbYtMkSyMf8SqUoVfEUdgiD5vuOnjwRUyaRpvKhzdqK9M9o QYpuUdwdaUVzzq033CNWvzqvIHgx6JXCgqI6i+i+Oi0Gdxj/aD0UhUkWxOP4YkeA rx88LRGtrXWBd6pUbMIizqiwnSr9uTQRB6TcRDftvdJJ/6uFxE1Ckl1PULdLD38P +F6ZJ84GTEgRJa5Lv30upvLo+V0usmzteXwqpoKzNkLSa3TMw3w3DKG4rKq2caqT rswVSIJ/TmnP6dRwhNS6G9rW19v05yFiaCKYpdfqWsYjB3f0qfbcBHiUQAN7Uvp7 igTcep/ncNMjCTONw2d12HqS7wiHwVDWHXJVKP4DubTu9tmaZV5vDFHE9vuwCDm0 Cv6g82ETymdgDlQ4PsfRqW47eTAOjPQrV0vXs7UNQ+OguDzM11n8jaJEn/ct7jI+ Jus2SFskgT/mAY57mg/DmctFh6Md/Y/ADvMj26ASrMBHOnCfk3jI77clkM+HA6HA KDjz43eU898jlhDwbF3pUcwhTlNLlIKEhMXz/8A6hzXTdDH7xHpBaPHdqNFEd/K7 iz7kpJC4gEFs8d/cAaxN =FJ/1 -----END PGP SIGNATURE----- --/8E7gjuj425jZz9t--