This is an auto-filled bug because this package fails to compile.
Created attachment 496298 [details] php-7.0.23:20170924-135931.log build log
Created attachment 496300 [details] emerge --info emerge --info
> checking for pg_config... not found > configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path This is most likely a PostgreSQL configuration error. (aka check 'eselect postgresql')
you are right, after file the bug I investigated by myself. The issue resides in the fact that "eselect postgresql set 9.6" does not work, instead it returns something like: !!! Error: Unable to create link! postgresql-9.6/postgres_ext.h -> /usr/include/postgres_ext.h As a workaround I did: rm -fr /usr/include/libpq-fe.h /usr/include/postgresql /usr/include/pg_config_manual.h /usr/include/pg_config_ext.h /usr/include/libpq /usr/include/postgres_ext.h /usr/lib64/postgresql eselect postgresql set 9.6 Now it seems to work
This was bug #625368 in eselect-postgresql, and should be fixed now in =app-eselect/eselect-postgresql-2.2. Please tell me you are running an earlier version than that Agostino =)
No, I'm running 2.2 :(
I was wrong about the version -- it looks like 2.2 is a version that we know causes problems (there are a large number of reports on bug 627476).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb5707e09234326c4fd71ddc0b6b34d66775968 commit 9fb5707e09234326c4fd71ddc0b6b34d66775968 Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2018-01-14 18:25:05 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2018-01-14 18:25:33 +0000 app-eselect/eselect-postgresql: Bump to 2.3 ln now tries to force the link (Thanks Matthew Thode [prometheanfire]) Cleans up nonsensical links in /usr/include/postgresql-* that were made by some previous versions of this module. Bug: https://bugs.gentoo.org/627476 Bug: https://bugs.gentoo.org/631936 Bug: https://bugs.gentoo.org/640154 Bug: https://bugs.gentoo.org/640394 Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-eselect/eselect-postgresql/Manifest | 1 + .../eselect-postgresql-2.3.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+)}
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ba303e9150033c32827f78cc7a60b30483599a commit 46ba303e9150033c32827f78cc7a60b30483599a Author: Aaron W. Swenson <titanofold@gentoo.org> AuthorDate: 2018-05-20 09:47:14 +0000 Commit: Aaron W. Swenson <titanofold@gentoo.org> CommitDate: 2018-05-20 09:47:14 +0000 app-eselect/eselect-postgresql: Cleanup 2.2 Closes: https://bugs.gentoo.org/631936 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-eselect/eselect-postgresql/Manifest | 1 - .../eselect-postgresql-2.2.ebuild | 35 ---------------------- 2 files changed, 36 deletions(-)