I have installed: [ebuild R ] dev-db/libpq-8.0.3 -debug -kerberos +nls +pam +readline +ssl +zlib 0 kB [ebuild R ] dev-db/postgresql-8.0.3 -debug -doc -kerberos +libg++ +nls +pam +perl -pg-hier -pg-intdatetime +python +readline (-selinux) +ssl -tcltk +xml2 +zlib 0 kB php needs to be rebuilt according to revdep-rebuild. The following build error is reproducible. It goes away if you build php with '-postgresql': /bin/sh /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/pgsql/ -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/include -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/main -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3 -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/Zend -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/TSRM -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -prefer-pic -c /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c -o ext/pgsql/pgsql.lo In file included from /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:38: /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/php_pgsql.h:44:28: libpq/libpq-fs.h: No such file or directory /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c: In function `zif_pg_lo_create': /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:1924: error: `INV_READ' undeclared (first use in this function) /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:1924: error: (Each undeclared identifier is reported only once/var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:1924: error: for each function it appears in.) /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:1924: error: `INV_WRITE' undeclared (first use in this function) /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c: In function `zif_pg_lo_open': /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:2072: error: `INV_READ' undeclared (first use in this function) /var/tmp/portage/php-5.0.3-r1/work/php-5.0.3/ext/pgsql/pgsql.c:2074: error: `INV_WRITE' undeclared (first use in this function) make: *** [ext/pgsql/pgsql.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-php/php-5.0.3-r1 failed. !!! Function php5-sapi_src_compile, Line 437, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
pgsql folk: has something changed with pg?
yes. All dev-db/libpq and some of postgresql packages depending it are very experimental and package.masked yet. We are going to resolve some problems before unmasking.
*** Bug 93127 has been marked as a duplicate of this bug. ***
Fixed libpq. thanks.
*** Bug 95701 has been marked as a duplicate of this bug. ***
*** Bug 97820 has been marked as a duplicate of this bug. ***
Uh... this is marked resolved since 05/19. It's now 07/07 and I still get the same error when emerging php-4.4.0_rc2. I see a duplicate bug opened on 07/03. Why is it marked resolved? Someone want to share the secret of the fix with us?
Never mind. Must have had a brain cramp. I thought I had already re-installed libpq.