Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqDBR-0001gL-NN for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 16 Aug 2018 07:59:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqDBP-0007Ul-Sy for pgsql-pkg-yum@arkaria.postgresql.org; Thu, 16 Aug 2018 07:59:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqDBP-0007Ue-OK for pgsql-pkg-yum@lists.postgresql.org; Thu, 16 Aug 2018 07:59:03 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqDBL-0001fz-Jz for pgsql-pkg-yum@postgresql.org; Thu, 16 Aug 2018 07:59:03 +0000 Received: from asus-laptop04.mynet (unknown [88.98.211.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 3FA713FD09; Thu, 16 Aug 2018 07:58:56 +0000 (UTC) Message-ID: <972cffe806a4dad5e3d3149565e9b01ef40da55c.camel@gunduz.org> Subject: Re: 9.4.19 devel packages pg_config.h broken From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Craig Ringer , pgsql-pkg-yum Date: Thu, 16 Aug 2018 08:58:48 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-4vQQzk8ebL1A38rMm2nK" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) Mime-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-4vQQzk8ebL1A38rMm2nK Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Craig, Petr also pinged me privately about this, and John fixed it yesterday. The = new packages are up. Thanks for the report! I broke it while unifying the spec file, as you guessed. Regards, Devrim On Wed, 2018-08-15 at 16:58 +0800, Craig Ringer wrote: > Hi folks >=20 > The 9.4.19 devel package appears to have a misplaced pg_config.h. Compare= : >=20 > $ rpm -qlp ~/Downloads/postgresql94-devel-9.4.19-1PGDG.f27.x86_64.rpm |gr= ep > 'pg_config.h' > /usr/pgsql-9.4/include/postgresql-94-ecpg_config.h > /usr/pgsql-9.4/include/postgresql-94-pg_config.h > /usr/pgsql-9.4/include/server/postgresql-94-pg_config.h >=20 > with >=20 > $ rpm -qlp ~/Downloads/postgresql96-devel-9.6.10-1PGDG.f27.x86_64.rpm |gr= ep > 'pg_config.h' > /usr/pgsql-9.6/include/ecpg_config.h > /usr/pgsql-9.6/include/pg_config.h > /usr/pgsql-9.6/include/server/pg_config.h >=20 > Note we have postgresql-94-pg_config.h in 9.4, and pg_config.h in 9.6. >=20 > I suspect this was an unintended change. I can't see where it came from i= n > any recent commits, which is a bit surprising. >=20 > There's >=20 > Source5: %{sname}-%{pgmajorversion}-pg_config.h >=20 > in the redhat master packages for postgresql, but that's fine/normal. > Changes in 3a4b12670 on May 10 added unified Makefile for PostgreSQL 9.4, > which seems to have changed >=20 > Source5: pg_config.h > to > Source5: %{sname}-%{pgmajorversion}-pg_config.h >=20 > and I'm guessing the problem got introduced there somehow. >=20 > I suspect the issue is that the 9.4 > spec rpm/redhat/9.4/postgresql/master/postgresql-9.4.spec has >=20 > %{__install} -m 644 %{SOURCE5} > %{buildroot}%{pgbaseinstdir}/include/ >=20 > (line 715) >=20 > wheras the pg10 spec rpm/redhat/10/postgresql/master/postgresql-10.spec h= as >=20 > %{__install} -m 644 %{SOURCE5} > %{buildroot}%{pgbaseinstdir}/include/pg_config.h >=20 > Note the destination file name specified for pg10 but not 9.4. >=20 >=20 >=20 >=20 --=20 Devrim G=C3=BCnd=C3=BCz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-4vQQzk8ebL1A38rMm2nK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIyBAABCAAdFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAlt1LrgACgkQ2MM9/pLP brUHyg/2O7vaGfkY4tVNE+xIl0cxmZputI5HMJyPWoox3FPYdJB+Se9DPRxh6DO9 aB3EioSyTxoRz0MDe8XJTl6fX9V8UrmJ+iEnhQIZaqkbqNjXNMSRjvgD5nZuDi2N ZzBFgxEGQlw1GrrdxW3WWHwJQcYla9SHeLuQAk13c1Z9gdq56u6WP+PNdo+8cBI4 gtFeJlMPZ7EZ23wPP9QQBHEJ36OtSN+QzkpBgFjV1lXogiKlHel9G3wKxbjVXXf+ rsgOoaoXI2Gn6c4qlKldSngxP1d6krsyBve8rrF8eXYVphos1uQ2z3CJcMYHBsxl x26qflgg++9dXxQc4fzofR7bvn40OzYeANJqvOc6kLt5g3XLM9ozFYlwYg8bcGON aWr7dgVnDo0jZ5qhCfgR+wnlxK2hAs49vdyaJRw0AsEZUQDH/TPWr/E+tYEahvyL es2J3W7Cvpjn0/FNA1c6WEeCwLEtU6cXLcv3O9s2WQFNCw94L5HCjOSJ2zk9eFct D9qqWOv26VmiHrxUvJdlU3BbVBAgBA8YKFsIWm3ISxxtLMKUm2FimdbaPzLY+9xs HGlKKZut9B1MPcauu3iunPtEDCSHQPzbUuvvXgsEkzEcTZlHK34vsNxqdFBjeabL wUAPag9nQnIgGmSZ5/hSOXOS9p9vIYKNOnoodahtT82ABjeiFw== =gaay -----END PGP SIGNATURE----- --=-4vQQzk8ebL1A38rMm2nK--