For some reason the stdbool.h include fails to do the right thing: ../../src/include/catalog/pg_control.h:218:2: error: unknown type name 'bool' bool float8ByVal; /* float8, int8, etc pass-by-value? */ ^~~~ In file included from controldata_utils.c:28:0: ../../src/include/common/controldata_utils.h:15:84: error: unknown type name 'bool'; did you mean '_Bool'? extern ControlFileData *get_controlfile(const char *DataDir, const char *progname, bool *crc_ok_p); ^~~~ _Bool controldata_utils.c:41:60: error: unknown type name 'bool'; did you mean '_Bool'? get_controlfile(const char *DataDir, const char *progname, bool *crc_ok_p) ^~~~ _Bool make[2]: *** [<builtin>: md5.o] Error 1 make[2]: *** [<builtin>: controldata_utils.o] Error 1 In file included from ../../src/include/common/ip.h:18:0, from ip.c:37: ../../src/include/libpq/pqcomm.h:152:8: error: unknown type name 'bool' extern bool Db_user_namespace; ^~~~ make[2]: *** [<builtin>: exec.o] Error 1 make[2]: *** [<builtin>: ip.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-db/postgresql-11_beta1/work/postgresql-11beta1/src/common' make[1]: *** [Makefile:42: all-common-recurse] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-db/postgresql-11_beta1/work/postgresql-11beta1/src' make: *** [GNUmakefile:11: all-src-recurse] Error 2 * ERROR: dev-db/postgresql-11_beta1::gentoo failed (compile phase): * emake failed
The PPC{,64} workaround is causing the issue. They've thrown in a check for the existence of stdbool.h and use that rather than the other bits they've thrown in. If I'm reading it correctly, it looks like we can just delete the workaround. I'll get this in the tree shortly.
commit 41cce08f487fd7bba7e12ea942c3c770a379f41c (HEAD -> master, origin/master, origin/HEAD) Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Wed Jun 13 07:19:22 2018 -0400 dev-db/postgresql: Add 11 beta 1 Package-Manager: Portage-2.3.40, Repoman-2.3.9