Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96134 - php-4.3.11 re-compile fails at pgsql
Summary: php-4.3.11 re-compile fails at pgsql
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60438
  Show dependency tree
 
Reported: 2005-06-14 16:07 UTC by Bernd Forstner
Modified: 2005-07-02 00:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Forstner 2005-06-14 16:07:06 UTC
i used revdep-rebuild from the gentoolkit to repair broken programms. php has to
be rebuild because of "broken /usr/bin/php (requires libhistory.so.4)"


Reproducible: Always
Steps to Reproduce:
1. rev-dep-rebuild
2. php is recompiled because of broken /usr/bin/php (requires libhistory.so.4)
3. error at pgsql - compilation

Actual Results:  
error:

gcc  -Iext/posix/ -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/posix/
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/include
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/main
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/pspell
-I/usr/qt/3/include -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/xml/expat
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/TSRM
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/Zend    -O2 -march=pentium4
-fomit-frame-pointer -pipe  -c
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/posix/posix.c -o
ext/posix/posix.o  && echo > ext/posix/posix.lo
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c: In Funktion
Comment 1 Bernd Forstner 2005-06-14 16:07:06 UTC
i used revdep-rebuild from the gentoolkit to repair broken programms. php has to
be rebuild because of "broken /usr/bin/php (requires libhistory.so.4)"


Reproducible: Always
Steps to Reproduce:
1. rev-dep-rebuild
2. php is recompiled because of broken /usr/bin/php (requires libhistory.so.4)
3. error at pgsql - compilation

Actual Results:  
error:

gcc  -Iext/posix/ -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/posix/
-DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/include
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/main
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11 -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/mbregex
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/libmbfl
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/mbstring/libmbfl/mbfl
-I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/pspell
-I/usr/qt/3/include -I/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/xml/expat
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/TSRM
-I/var/tmp/portage/php-4.3.11/work/php-4.3.11/Zend    -O2 -march=pentium4
-fomit-frame-pointer -pipe  -c
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/posix/posix.c -o
ext/posix/posix.o  && echo > ext/posix/posix.lo
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c: In Funktion
»zif_pg_lo_create«:
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1781: error:
`INV_READ' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1781: error: (Each
undeclared identifier is reported only once
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1781: error: for
each function it appears in.)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1781: error:
`INV_WRITE' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c: In Funktion
»zif_pg_lo_open«:
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1929: error:
`INV_READ' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/pgsql/pgsql.c:1931: error:
`INV_WRITE' undeclared (first use in this function)
make: *** [ext/pgsql/pgsql.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...

!!! ERROR: dev-php/php-4.3.11 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.

Expected Results:  
compilation without errors

emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 15:11:47)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at ftp://gentoo.inode.at/source
http://gd.tuwien.ac.at/opsys/gentoo ftp://gd.tuwien.ac.at/opsys/gentoo
rsync://gd.tuwien.ac.at/opsys/gentoo http://gentoo.oregonstate.edu
http://www.ibiblo.org/pub/Linux/distributions/gentoo"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa arts audiofile avi bash-completion berkdb bidi
bitmap-fonts bluetooth cdb cdparanoia cdr crypt cups curl directfb divx4linux
doc dvd emboss encode esd exif faad fam fastcgi flac flash foomaticdb fortran gd
gdbm gif gimpprint gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 irc jabber java
jpeg junit kde lesstif libg++ libwww mad matroska mikmod mmx mng motif mozilla
mp3 mpeg mysql ncurses network nls nvidia odbc ogg oggvorbis openal opengl oss
pam pdflib perl php png postgres ppds python qt quicktime readline ruby samba
sdl simplexml spell sse ssl svg svga tcltk tcpd tetex tidy tiff truetype
truetype-fonts type1-fonts unicode usb vorbis wmf wxwindows x86 xine xml xml2
xmms xpm xsl xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-02 00:39:11 UTC
Cannot reproduce, dev-php/php-4.3.11, dev-php/php-4.4.0_rc2, and
dev-php/php-5.0.4-r1 all built fine against dev-db/postgresql-8.0.1-r4.