Bug 123389

Summary: databases/php5-mysqli: version 5.2.6 make build error
Product: Ports & Packages Reporter: Blueshine <cs891277>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Blueshine 2008-05-04 07:30:00 UTC
php5-mysqli-5.2.6 make build error my machine (FreeBSD 6.3-STABLE amd64)
but it's OK on other two machines
(FreeBSD 6.3-STABLE i386)&(FreeBSD  5.5-STABLE i386)

below is the error message :

---------------------------------------------------------------------------

root@science </usr/ports/databases/php5-mysqli># make build
===>  Building for php5-mysqli-5.2.6
/bin/sh /usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/libtool --mode=compile cc  -I. -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli -DPHP_ATOM_INC -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/include -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/main -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/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  -O -pipe -march=athlon64   -c /usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c -o mysqli_api.lo
 cc -I. -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli -DPHP_ATOM_INC -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/include -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/main -I/usr/ports/databases/php5-mysqli/work/php-5.2.6/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 -O -pipe -march=athlon64 -c /usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c  -fPIC -DPIC -o .libs/mysqli_api.o
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_change_user':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:420: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_kill':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1152: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_ping':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1333: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_prepare':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1376: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1377: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1383: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_real_connect':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1456: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1457: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_real_query':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1495: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1495: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1495: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_select_db':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1764: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1764: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:1764: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_store_result':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2061: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2061: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2061: error: structure has no member named `last_error'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c: In function `zif_mysqli_use_result':
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2115: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2115: error: structure has no member named `last_errno'
/usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli/mysqli_api.c:2115: error: structure has no member named `last_error'
*** Error code 1

Stop in /usr/ports/databases/php5-mysqli/work/php-5.2.6/ext/mysqli.
*** Error code 1

Stop in /usr/ports/databases/php5-mysqli.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-05-04 08:10:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2008-05-04 10:35:26 UTC
State Changed
From-To: open->closed

Update your mysql-client port.