I got the error when tried to emerge the slony1 package: * ERROR: dev-db/slony1-1.2.10 failed: * emake failed! * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2313: Called die * The specific snippet of code: * emake || die "emake failed!"; Reproducible: Always Steps to Reproduce: 1. PG_SHAREDIR=/usr/share/postgresql-9.0/ emerge -av slony1 2. 3. Actual Results: * ERROR: dev-db/slony1-1.2.10 failed: * emake failed! * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2313: Called die * The specific snippet of code: * emake || die "emake failed!";
Created attachment 262281 [details] build.log
Created attachment 262283 [details] environment
Created attachment 262285 [details] emerge --info
Looks like this configure error: ./configure: line 6677: cd: /usr/include/postgresql/pgsql: No such file or directory overriding pgincludedir with /var/tmp/portage/dev-db/slony1-1.2.10/work/slony1-1.2.10 overriding pgincludeserverdir with /usr/include/postgresql/server leads to these errors later: xxid.c: In function ‘_Slony_I_getMinXid’: xxid.c:236: error: ‘SerializableSnapshot’ undeclared (first use in this function) xxid.c:236: error: (Each undeclared identifier is reported only once xxid.c:236: error: for each function it appears in.) xxid.c: In function ‘_Slony_I_getMaxXid’: xxid.c:249: error: ‘SerializableSnapshot’ undeclared (first use in this function) make[2]: *** [xxid.o] Error 1
Try replacing the econf arguments with just: --with-pgconfigdir=/usr/lib/postgresql/bin
`emerge --sync` and re-emerge postgres packages
(In reply to comment #6) > `emerge --sync` and re-emerge postgres packages The same error.
eselect postgresql - the new version (1.0.x) changed things around a bit, so most likely you don't have a valid active slot of postgresql set. I've hit the same issue and was able to resolve it by re-setting it. Reopen if that doesn't fix it.