eselect-postgresql-1.2.0/postgresql.eselect contains: # Sources and targets for header files local sources=( "${B_PATH}"/include/postgresql-${SLOT} "${B_PATH}"/include/postgresql-${SLOT}/libpq-fe.h "${B_PATH}"/include/postgresql-${SLOT}/pg_config_manual.h "${B_PATH}"/include/postgresql-${SLOT}/libpq "${B_PATH}"/include/postgresql-${SLOT}/postgres_ext.h ) local targets=( "${B_PATH}"/include/postgresql "${B_PATH}"/include/libpq-fe.h "${B_PATH}"/include/pg_config_manual.h "${B_PATH}"/include/libpq "${B_PATH}"/include/postgres_ext.h ) Between postgresql-base-9.2.4 and postgresql-base-9.3.0 postgres_ext.h started to #include pg_config_ext.h. $ cd /tmp $ echo '#include <libpq-fe.h>' > test.c $ gcc -c test.c In file included from /usr/include/libpq-fe.h:29:0, from test.c:1: /usr/include/postgres_ext.h:26:27: fatal error: pg_config_ext.h: No such file or directory compilation terminated.
Created attachment 359910 [details, diff] postgresql.eselect.patch This patch works for me.
*** Bug 488476 has been marked as a duplicate of this bug. ***
*** Bug 485654 has been marked as a duplicate of this bug. ***
I'm considering removing the header symlinks from the eselect module. Build systems or command-line should be using pg_config to get the include directory, not guessing. However, I'll include this for now as removing it will take some coordination.
*eselect-postgresql-1.2.1 (21 Nov 2013) 21 Nov 2013; Aaron W. Swenson <titanofold@gentoo.org> -eselect-postgresql-1.0.10.ebuild, +eselect-postgresql-1.2.1.ebuild: Add symlink handling for pg_config_ext.h. Fixes bug 486674.
*** Bug 496242 has been marked as a duplicate of this bug. ***