End of emerge output: /bin/sh /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/posix/ -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/posix/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/include -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/main -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/mbstring/mbregex -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/xml/expat -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/TSRM -I/var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/Zend -Os -march=athlon -ftracer -pipe -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -prefer-non-pic -c /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/posix/posix.c -o ext/posix/posix.lo In file included from /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:38: /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/php_pgsql.h:46:28: libpq/libpq-fs.h: No such file or directory /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c: In function `zif_pg_lo_create': /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1787: error: `INV_READ' undeclared (first use in this function) /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1787: error: (Each undeclared identifier is reported only once /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1787: error: for each function it appears in.) /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1787: error: `INV_WRITE' undeclared (first use in this function) /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c: In function `zif_pg_lo_open': /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1935: error: `INV_READ' undeclared (first use in this function) /var/tmp/portage/mod_php-4.4.0_rc2/work/php-4.4.0RC2/ext/pgsql/pgsql.c:1937: error: `INV_WRITE' undeclared (first use in this function) make: *** [ext/pgsql/pgsql.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-php/mod_php-4.4.0_rc2 failed. !!! Function php-sapi_src_compile, Line 537, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge mod_php (with ~x86 keyword) tried again with 2.FEATURES="-distcc" emerge mod_php 3. Actual Results: Compile failure as shown emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r2n i686) ================================================================= System uname: 2.6.12-gentoo-r2n i686 AMD Duron(tm) Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=athlon -ftracer -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon -ftracer -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext aalib alsa apache2 apm avi berkdb bitmap-fonts cpdflib crypt cups curl dba emboss encode fam foomaticdb fortran fxsr gd gdbm gif imagemagick imap imlib javascript jpeg ldap libg++ libwww mad mbox mikmod mmx mmxext mp3 mpeg ncurses nls nntp odbc ogg oggvorbis opengl oss pam pdflib perl png postgres ppds python quicktime readline samba sdl slang ssl tcpd tiff truetype truetype-fonts type1-fonts vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 96263 ***