Re: master fails to build on Windows
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
From: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
To: John Naylor <jcnaylor@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2018-05-18T16:41:18Z
Lists: pgsql-hackers
On Fri, May 18, 2018 at 5:19 PM, John Naylor <jcnaylor@gmail.com> wrote: > On 5/18/18, Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> wrote: > > Hi > > > > I was building the sources I got from https://www.postgresql.org/ > > ftp/snapshot/dev/ on Windows x64 and got the whole bunch of errors > > like "*Cannot > > open include file: 'catalog/pg_type_d.h"* , *"Cannot open include file: > > 'catalog/pg_tablespace_d.h'" . *I've attached the log. > > I'm thinking the include/catalog/pg_*_d.h headers got dist-cleaned > when creating the snapshot, and the build script doesn't know to copy > them over. If you're able to test, does the attached patch fix the > issue? (This may not be the right permanent fix, but hopefully it will > confirm my suspicion) > > yes, the patch fixes the issue. Thanks. > -John Naylor > -- Sandeep Thakkar EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
MSVC builds must use a separate stamp file for copying generated headers.
- a194106c1b44 11.0 landed
-
Switch client-side code to include catalog/pg_foo_d.h not pg_foo.h.
- 9c0a0de4c91b 11.0 cited