php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72665 mysqlnd_ms wont compile on FreeBSD
Submitted: 2016-07-24 20:49 UTC Modified: 2017-10-24 04:28 UTC
From: michiel at vanbaak dot eu Assigned:
Status: Suspended Package: mysqlnd_ms (PECL)
PHP Version: 5.6.24 OS: FreeBSD 10.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-07-24 20:49 UTC] michiel at vanbaak dot eu
Description:
------------
The code includes 'alloca.h' which is not present on *BSD systems.

root@insided_dev:~/mysqlnd_ms # make
/bin/sh /root/mysqlnd_ms/libtool --mode=compile cc  -I. -I/root/mysqlnd_ms -DPHP_ATOM_INC -I/root/mysqlnd_ms/include -I/root/mysqlnd_ms/main -I/root/mysqlnd_ms -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/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c -o fabric/mysqlnd_fabric_strategy_dump.lo
 cc -I. -I/root/mysqlnd_ms -DPHP_ATOM_INC -I/root/mysqlnd_ms/include -I/root/mysqlnd_ms/main -I/root/mysqlnd_ms -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/libxml2 -DHAVE_CONFIG_H -g -O2 -c /root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c-fPIC -DPIC -o fabric/.libs/mysqlnd_fabric_strategy_dump.o
/root/mysqlnd_ms/fabric/mysqlnd_fabric_strategy_dump.c:20:10: fatal error: 'alloca.h' file not found
#include <alloca.h>
         ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /root/mysqlnd_ms



Patches

72665-check-alloca.diff (last revision 2016-07-24 22:26 UTC by michiel at vanbaak dot eu)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 04:28 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 04:28 UTC] kalle@php.net
I'm gonna suspend this report as the mysqlnd_ms had not a release since 2013 or active commit activity since then, if activity comes back to this package, it should be re-opened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 01:01:28 2024 UTC