Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122978 - dev-lang/php-5.1.1 failed to compile mysqli extension
Summary: dev-lang/php-5.1.1 failed to compile mysqli extension
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 16:48 UTC by Bakus
Modified: 2006-03-12 05:48 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 Bakus 2006-02-15 16:48:12 UTC
Portage 2.1_pre4-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/initng /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distclean distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.idn.net.pl/ http://ftp.ussg.iu.edu/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo http://sunsite.icm.edu.pl/pub/Linux/distributions/gentoo http://ftp.belnet.be/linux/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.prz.rzeszow.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-z combreloc -s"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 a52dec aac aalib alsa apache2 arts asf avi berkdb bitmap-fonts bzlib cdr crypt cups dba directfb dts dvb dvd dvdr dvdread eds emboss encode esd fbcon ffmpeg foomaticdb fortran gd gif gpm gstreamer gtk gtk2 hal imlib innodb jpeg kde kdeenablefinal lame libcaca libdvdcss libogg libvorbis lzw lzw-tiff mad mbox mozilla mp3 mpeg mpeg2 mpeg4 musepack mysql nas ncurses network nls nsplugin nvidia oggvorbis opengl pam pcre pdflib perl php5 png postgres ppds proftpd python qt quicktime readline samba sdl session simplexml sockets speex spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd vhosts vorbis xmms xpm xv xvid xvmc zlib elibc_glibc kernel_linux linguas_pl userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, PORTDIR_OVERLAY
Comment 1 Bakus 2006-02-15 16:49:04 UTC
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mbstring/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c -o ext/mbstring/mbstring.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mbstring/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/php_unicode.c -o ext/mbstring/php_unicode.lo
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:145: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:146: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:147: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:148: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:149: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:150: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mbstring.c:151: warning: initialization discards qualifiers from pointer target type
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mbstring/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/mb_gpc.c -o ext/mbstring/mb_gpc.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mbstring/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/php_mbregex.c -o ext/mbstring/php_mbregex.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mcrypt/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mcrypt/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mcrypt/mcrypt.c -o ext/mcrypt/mcrypt.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mhash/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mhash/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mhash/mhash.c -o ext/mhash/mhash.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/ming/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/ming/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/ming/ming.c -o ext/ming/ming.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mysql/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysql/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysql/php_mysql.c -o ext/mysql/php_mysql.lo
/bin/sh /var/tmp/portage/php-5.1.1/work/php-5.1.1/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/mysqli/ -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/ -DPHP_ATOM_INC -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/include -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/main -I/var/tmp/portage/php-5.1.1/work/php-5.1.1 -I/usr/include/libxml2 -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/oniguruma -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/TSRM -I/var/tmp/portage/php-5.1.1/work/php-5.1.1/Zend    -march=athlon64 -O2 -pipe  -c /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo
In file included from /var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:31:
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:60: error: syntax error before "MYSQL_STMT"
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:60: warning: no semicolon at end of struct or union
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:64: error: syntax error before '}' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:64: warning: data definition has no type or storage class
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:105: error: `LOCAL_INFILE_ERROR_LEN' undeclared here (not in a function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/php_mysqli.h:139: error: syntax error before '*' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:94: error: syntax error before '*' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `php_clear_stmt_bind':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:96: error: `stmt' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:96: error: (Each undeclared identifier is reported only once
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:96: error: for each function it appears in.)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `mysqli_objects_destroy_object':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:155: error: `stmt' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:155: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `mysqli_read_property':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:226: error: `MYSQL_STMT' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:226: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:226: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `zm_startup_mysqli':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:514: error: `STMT_ATTR_UPDATE_MAX_LENGTH' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:576: error: `MYSQL_NO_DATA' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `zif_mysqli_stmt_construct':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:655: error: `stmt' undeclared (first use in this function)
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:666: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:668: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:676: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:678: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `zif_mysqli_result_construct':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:730: error: syntax error before ')' token
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c: In function `php_mysqli_fetch_into_hash':
/var/tmp/portage/php-5.1.1/work/php-5.1.1/ext/mysqli/mysqli.c:792: error: syntax error before ')' token
make: *** [ext/mysqli/mysqli.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-lang/php-5.1.1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  php-5.1.1.ebuild, line 128:   Called src_compile_normal
  php-5.1.1.ebuild, line 232:   Called php5_1-sapi_src_compile

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-03-12 05:48:25 UTC
dev-lang/php-5.1.2 was just added to the tree which should fix this, emerge --sync in a couple of hours to get it, please report back if it works or not, thanks!
Best regards, CHTEKK.