-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Ansibleを用いて Arm 環境で立ち上げを行った際にPHPのビルドに失敗しました。
buildログ詳細
```console configure.ac:25: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead build/php.m4:2102: PHP_CONFIG_NICE is expanded from... configure.ac:25: the top level configure.ac:1435: warning: The macro `AC_LANG_C' is obsolete. configure.ac:1435: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... build/libtool.m4:2731: _LT_AC_LANG_C_CONFIG is expanded from... build/libtool.m4:2730: AC_LIBTOOL_LANG_C_CONFIG is expanded from... build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... configure.ac:1435: the top level configure.ac:1435: warning: The macro `AC_LANG_C' is obsolete. configure.ac:1435: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... build/libtool.m4:561: _LT_AC_LOCK is expanded from... build/libtool.m4:1188: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... build/libtool.m4:2731: _LT_AC_LANG_C_CONFIG is expanded from... build/libtool.m4:2730: AC_LIBTOOL_LANG_C_CONFIG is expanded from... build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... configure.ac:1435: the top level configure.ac:1435: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:1435: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... build/libtool.m4:561: _LT_AC_LOCK is expanded from... build/libtool.m4:1188: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... build/libtool.m4:2731: _LT_AC_LANG_C_CONFIG is expanded from... build/libtool.m4:2730: AC_LIBTOOL_LANG_C_CONFIG is expanded from... build/libtool.m4:70: AC_LIBTOOL_SETUP is expanded from... build/libtool.m4:52: _AC_PROG_LIBTOOL is expanded from... build/libtool.m4:39: AC_PROG_LIBTOOL is expanded from... configure.ac:1435: the top level configure.ac:1435: warning: back quotes and double quotes must not be escaped in:(途中省略)
/tmp/php-build/source/7.4.9/ext/openssl/openssl.c:5959:41: warning: passing argument 4 of ‘RSA_public_decrypt’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
5959 | EVP_PKEY_get0_RSA(pkey),
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/php-build/source/7.4.9/ext/openssl/openssl.c:46:
/usr/include/openssl/rsa.h:294:29: note: expected ‘RSA *’ {aka ‘struct rsa_st *’} but argument is of type ‘const struct rsa_st *’
294 | RSA *rsa, int padding);
| ~~~~~^~~
/tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c: In function ‘php_openssl_set_server_dh_param’:
/tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:1271:9: warning: ‘PEM_read_bio_DHparams’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1271 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
| ^~
In file included from /usr/include/openssl/ssl.h:36,
from /tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:33:
/usr/include/openssl/pem.h:469:1: note: declared here
469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
| ^~~~~~~~~~~~~~~~~~~
/tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:1281:17: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1281 | DH_free(dh);
| ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/ssl.h:31,
from /tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:33:
/usr/include/openssl/dh.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
/tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:1285:9: warning: ‘DH_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
1285 | DH_free(dh);
| ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
from /usr/include/openssl/x509.h:37,
from /usr/include/openssl/ssl.h:31,
from /tmp/php-build/source/7.4.9/ext/openssl/xp_ssl.c:33:
/usr/include/openssl/dh.h:204:28: note: declared here
204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
| ^~~~~~~
/tmp/php-build/source/7.4.9/ext/hash/hash_gost.c:286:47: warning: argument 1 of type ‘unsigned char[32]’ with mismatched bound [-Warray-parameter=]
286 | PHP_HASH_API void PHP_GOSTFinal(unsigned char digest[32], PHP_GOST_CTX *context)
| ~~~~~~~~~~~~~~^~~~~~~~~~
In file included from /tmp/php-build/source/7.4.9/ext/hash/hash_gost.c:21:
/tmp/php-build/source/7.4.9/ext/hash/php_hash_gost.h:35:33: note: previously declared as ‘unsigned char[64]’
35 | PHP_HASH_API void PHP_GOSTFinal(unsigned char[64], PHP_GOST_CTX *);
| ^~~~~~~~~~~~~~~~~
/tmp/php-build/source/7.4.9/ext/hash/hash_fnv.c:90:49: warning: argument 1 of type ‘unsigned char[4]’ with mismatched bound [-Warray-parameter=]
90 | PHP_HASH_API void PHP_FNV132Final(unsigned char digest[4], PHP_FNV132_CTX * context)
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /tmp/php-build/source/7.4.9/ext/hash/hash_fnv.c:23:
/tmp/php-build/source/7.4.9/ext/hash/php_hash_fnv.h:58:49: note: previously declared as ‘unsigned char[16]’
58 | PHP_HASH_API void PHP_FNV132Final(unsigned char digest[16], PHP_FNV132_CTX * context);
| ~~~~~~~~~~~~~~^~~~~~~~~~
/tmp/php-build/source/7.4.9/ext/hash/hash_fnv.c:125:49: warning: argument 1 of type ‘unsigned char[8]’ with mismatched bound [-Warray-parameter=]
125 | PHP_HASH_API void PHP_FNV164Final(unsigned char digest[8], PHP_FNV164_CTX * context)
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /tmp/php-build/source/7.4.9/ext/hash/hash_fnv.c:23:
/tmp/php-build/source/7.4.9/ext/hash/php_hash_fnv.h:63:49: note: previously declared as ‘unsigned char[16]’
63 | PHP_HASH_API void PHP_FNV164Final(unsigned char digest[16], PHP_FNV164_CTX * context);
| ~~~~~~~~~~~~~~^~~~~~~~~~
/tmp/php-build/source/7.4.9/ext/hash/hash_joaat.c:47:48: warning: argument 1 of type ‘unsigned char[4]’ with mismatched bound [-Warray-parameter=]
47 | PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[4], PHP_JOAAT_CTX * context)
| ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /tmp/php-build/source/7.4.9/ext/hash/hash_joaat.c:24:
/tmp/php-build/source/7.4.9/ext/hash/php_hash_joaat.h:28:48: note: previously declared as ‘unsigned char[16]’
28 | PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[16], PHP_JOAAT_CTX * context);
| ~~~~~~~~~~~~~~^~~~~~~~~~
/tmp/php-build/source/7.4.9/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/tmp/php-build/source/7.4.9/ext/intl/collator/collator_sort.c:349:33: error: ‘TRUE’ undeclared (first use in this function)
349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~
/tmp/php-build/source/7.4.9/ext/intl/collator/collator_sort.c:349:33: note: each undeclared identifier is reported only once for each function it appears in
/tmp/php-build/source/7.4.9/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/tmp/php-build/source/7.4.9/ext/intl/collator/collator_sort.c:543:33: error: ‘FALSE’ undeclared (first use in this function)
543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~~
make: *** [Makefile:1134: ext/intl/collator/collator_sort.lo] Error 1
</details>