isucon / isucon10-qualify

ISUCON10予選
http://isucon.net/archives/54704557.html
MIT License
47 stars 130 forks source link

AnsibleでのPHPのビルドに失敗する #201

Open Shion1305 opened 4 days ago

Shion1305 commented 4 days ago

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: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe 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: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe 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: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me: WARNING: output file \`$ofile' does not exist build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me: WARNING: output file \`$ofile' does not look like a libtool script build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile' build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: tag name \"$tagname\" already exists build/libtool.m4:1921: _LT_AC_TAGCONFIG 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_CPLUSPLUS' is obsolete. configure.ac:1435: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... build/libtool.m4:2813: _LT_AC_LANG_CXX_CONFIG is expanded from... build/libtool.m4:2812: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe build/libtool.m4:1188: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... build/libtool.m4:2813: _LT_AC_LANG_CXX_CONFIG is expanded from... build/libtool.m4:2812: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: $as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe build/libtool.m4:1188: AC_LIBTOOL_SYS_HARD_LINK_LOCKS is expanded from... build/libtool.m4:2813: _LT_AC_LANG_CXX_CONFIG is expanded from... build/libtool.m4:2812: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... build/libtool.m4:1921: _LT_AC_TAGCONFIG 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: WARNING: unrecognized options: --with-pcre-regex, --with-pcre-regex, --with-pcre-dir, --with-libxml-dir, --enable-zip configure: WARNING: The --with-pear option is deprecated configure: WARNING: unrecognized options: --with-pcre-regex, --with-pcre-regex, --with-pcre-dir, --with-libxml-dir, --enable-zip /tmp/php-build/source/7.4.9/ext/openssl/openssl.c: In function ‘php_openssl_generate_private_key’: /tmp/php-build/source/7.4.9/ext/openssl/openssl.c:4022:49: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4022 | rsaparam = RSA_new(); | ^~~~~~~~ In file included from /tmp/php-build/source/7.4.9/ext/openssl/openssl.c:46: /usr/include/openssl/rsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /tmp/php-build/source/7.4.9/ext/openssl/openssl.c:4024:49: warning: ‘RSA_generate_key_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4024 | if (rsaparam == NULL || !RSA_generate_key_ex(rsaparam, req->priv_key_bits, bne, NULL)) { | ^~ In file included from /tmp/php-build/source/7.4.9/ext/openssl/openssl.c:46: /usr/include/openssl/rsa.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ (途中省略) /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 ```
Shion1305 commented 4 days ago

ログが長すぎたので添付します php-build.7.4.9.20241122022553.log