Unable to build Port: php5-mysqli-5.3.4

David Southwell david at vizion2000.net
Thu Dec 23 13:15:40 UTC 2010


> The php5-mysqli-5.3.4 refuses to build. A copy of the failed build
> report follows.
> 
> env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-mysqli-5.3.3_2
> UPGRADE_PORT_VER=5.3.3_2 make clean ===>  Cleaning for php5-mysqli-5.3.4
> env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php5-mysqli-5.3.3_2
> UPGRADE_PORT_VER=5.3.3_2 make ===>  Vulnerability check disabled,
> database not found ===>  License check disabled, port has not defined
> LICENSE ===>  Found saved configuration for php5-mysqli-5.3.3_2
> => php-5.3.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from
> http://ring.nict.go.jp/archives/net/www/php/distributions/. fetch:
> transfer timed out => Attempting to fetch from
> http://ring.riken.jp/archives/net/www/php/distributions/.
> php-5.3.4.tar.bz2                             100% of   10 MB  340 kBps
> 00m00s ===>  Extracting for php5-mysqli-5.3.4 => SHA256 Checksum OK for
> php-5.3.4.tar.bz2. ===>  Patching for php5-mysqli-5.3.4
> ===>  Applying FreeBSD patches for php5-mysqli-5.3.4
> ===>   php5-mysqli-5.3.4 depends on file: /usr/local/bin/phpize - found
> ===>   php5-mysqli-5.3.4 depends on file: /usr/local/bin/autoconf-2.68
> - found ===>   php5-mysqli-5.3.4 depends on shared library:
> mysqlclient.16 - found ===>  PHPizing for php5-mysqli-5.3.4
> Configuring for:
> PHP Api Version:         20090626
> Zend Module Api No:      20090626
> Zend Extension Api No:   220090626
> configure.in:3: warning: prefer named diversions
> configure.in:3: warning: prefer named diversions
> ===>  Configuring for php5-mysqli-5.3.4
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking how to run the C preprocessor... cpp
> checking for icc... no
> checking for suncc... no
> checking whether cc understands -c and -o together... yes
> checking for system library directory... lib
> checking if compiler supports -R... yes
> checking build system type... amd64-portbld-freebsd8.2
> checking host system type... amd64-portbld-freebsd8.2
> checking target system type... amd64-portbld-freebsd8.2
> checking for PHP prefix... /usr/local
> checking for PHP includes... -I/usr/local/include/php
> -I/usr/local/include/php/main -I/usr/local/include/php/TSRM
> -I/usr/local/include/php/Zend -I/usr/local/include/php/ext
> -I/usr/local/include/php/ext/date/lib checking for PHP extension
> directory... /usr/local/lib/php/20090626 checking for PHP installed
> headers prefix... /usr/local/include/php checking if debug is
> enabled... no checking if zts is enabled... no checking for re2c...
> re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk
> checking for MySQLi support... yes, shared
> checking whether to enable embedded MySQLi support... no
> checking for mysql_set_server_option in -lmysqlclient... yes
> checking for mysql_set_character_set in -lmysqlclient... yes
> checking for mysql_stmt_next_result in -lmysqlclient... yes
> checking for ld used by cc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/local/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognize dependent libraries... pass_all
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking the maximum length of command line arguments... (cached) 262144
> checking command to parse /usr/local/bin/nm -B output from cc object...
> ok checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if cc supports -fno-rtti -fno-exceptions... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking whether the cc linker (/usr/bin/ld) supports shared
> libraries... yes checking whether -lc should be explicitly linked in...
> no checking dynamic linker characteristics... freebsd8.2 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> 
> creating libtool
> appending configuration tag "CXX" to libtool
> checking whether the c++ linker (/usr/bin/ld) supports shared
> libraries... yes checking for c++ option to produce PIC...
> checking if c++ static flag  works... yes
> checking if c++ supports -c -o file.o... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared
> libraries... yes checking dynamic linker characteristics... freebsd8.2
> ld.so (cached) (cached) checking how to hardcode library paths into
> programs... unsupported configure: creating ./config.status
> config.status: creating config.h
> ===>  Building for php5-mysqli-5.3.4
> /bin/sh /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/libtool
> --mode=compile cc  -I.
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -DPHP_ATOM_INC
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/include
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/main
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
> -I/usr/local/include/mysql  -DHAVE_CONFIG_H  -O2 -pipe -march=athlon64
> -fno-strict-aliasing
> -c /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c
> -o
> mysqli.lo /bin/sh
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/libtool
> --mode=compile cc  -I.
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -DPHP_ATOM_INC
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/include
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/main
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
> -I/usr/local/include/mysql  -DHAVE_CONFIG_H  -O2 -pipe -march=athlon64
> -fno-strict-aliasing
> -c /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c
> -o mysqli_api.lo mkdir .libs cc -I.
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -DPHP_ATOM_INC
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/include
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/main
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
> -I/usr/local/include/mysql -DHAVE_CONFIG_H -O2 -pipe -march=athlon64
> -fno-strict-aliasing
> -c /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c
> -fPIC -DPIC -o .libs/mysqli.o cc -I.
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -DPHP_ATOM_INC
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/include
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/main
> -I/usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli
> -I/usr/local/include/php -I/usr/local/include/php/main
> -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
> -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
> -I/usr/local/include/mysql -DHAVE_CONFIG_H -O2 -pipe -march=athlon64
> -fno-strict-aliasing
> -c /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c
> -fPIC -DPIC -o .libs/mysqli_api.o In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:61:1: warning: "HAVE_ULONG"
> redefined
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:58:1: warning: this is the location of the previous definition In
> file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_config.h:1214:1: warning: "PACKAGE_NAME"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:24:
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:56:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> :
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:61:1: warning: "HAVE_ULONG"
> redefined
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:58:1: warning: this is the location of the previous definition In
> file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_config.h:1214:1: warning: "PACKAGE_NAME"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:24
> : /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:56:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_config.h:1217:1: warning: "PACKAGE_STRING"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:24:
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:59:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_config.h:1220:1: warning: "PACKAGE_TARNAME"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:24:
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:62:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_config.h:1223:1: warning: "PACKAGE_VERSION"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:24:
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:68:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_sys.h:47,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_pthread.h:828:36: error:
> mysql/psi/mysql_thread.h: No such file or directory In file included from
> /usr/local/include/mysql/my_sys.h:47,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_pthread.h:835: error: expected
> specifier-qualifier-list before 'mysql_cond_t' In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_sys.h:338: error: expected
> specifier-qualifier-list before
> 'mysql_mutex_t' /usr/local/include/mysql/my_sys.h:354: error: expected
> specifier-qualifier-list before
> 'mysql_mutex_t' /usr/local/include/mysql/my_sys.h:417: error: expected
> specifier-qualifier-list before 'mysql_mutex_t' In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/my_sys.h:964:27: error: mysql/psi/psi.h: No such
> file or directory In file included from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:82, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/m_string.h:219:26: error: mysql/plugin.h: No such
> file or directory In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:82, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli.c:33:
> /usr/local/include/mysql/m_string.h: In function 'lex_string_set':
> /usr/local/include/mysql/m_string.h:304: error: dereferencing pointer to
> incomplete
> type /usr/local/include/mysql/m_string.h:305: error: dereferencing
> pointer to incomplete type *** Error code 1
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_config.h:1217:1: warning: "PACKAGE_STRING"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:24
> : /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:59:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_config.h:1220:1: warning: "PACKAGE_TARNAME"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:24
> : /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:62:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_global.h:76,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:62, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_config.h:1223:1: warning: "PACKAGE_VERSION"
> redefined In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:24
> : /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/config.h:68:1:
> warning: this is the location of the previous definition In file
> included from /usr/local/include/mysql/my_sys.h:47,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_pthread.h:828:36: error:
> mysql/psi/mysql_thread.h: No such file or directory In file included from
> /usr/local/include/mysql/my_sys.h:47,
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_pthread.h:835: error: expected
> specifier-qualifier-list before 'mysql_cond_t' In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_sys.h:338: error: expected
> specifier-qualifier-list before
> 'mysql_mutex_t' /usr/local/include/mysql/my_sys.h:354: error: expected
> specifier-qualifier-list before
> 'mysql_mutex_t' /usr/local/include/mysql/my_sys.h:417: error: expected
> specifier-qualifier-list before 'mysql_mutex_t' In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:78, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/my_sys.h:964:27: error: mysql/psi/psi.h: No such
> file or directory In file included from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:82, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/m_string.h:219:26: error: mysql/plugin.h: No
> such file or directory In file included
> from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/php_mysqli_stru
> cts.h:82, from
> /usr/ports/databases/php5-mysqli/work/php-5.3.4/ext/mysqli/mysqli_api.c:33
> : /usr/local/include/mysql/m_string.h: In function 'lex_string_set':
> /usr/local/include/mysql/m_string.h:304: error: dereferencing pointer to
> incomplete
> type /usr/local/include/mysql/m_string.h:305: error: dereferencing
> pointer to incomplete type *** Error code 1 2 errors *** Error code 1
> 
> Stop in /usr/ports/databases/php5-mysqli.

Did you follow ports updating:
20100409:
  AFFECTS: users of lang/php5
  AUTHOR: ale at FreeBSD.org

  As of PHP 5.3, a few extensions were removed from or included into the core
  PHP5 package.  Follow the steps below to update your installation.

  1) Delete the following packages (if installed):

     - php5-dbase
     - php5-ncurses
     - php5-pcre
     - php5-spl
     - php5-ming
     - php5-mhash

  2) Rebuild lang/php5 and all ports that depend on it.

David
Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network


More information about the freebsd-ports mailing list