[php-src] Issue #11382: Build of 8.2.7 fails on Alpinelinux
| From: | andypost | Date: | Tue, 06 Jun 2023 15:41:48 +0000 |
| Subject: | [php-src] Issue #11382: Build of 8.2.7 fails on Alpinelinux | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244608@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11382
Author: andypost
### Description
Getting following error and warnings:
```
/bin/sh /builds/alpine/aports/community/php82/src/php-8.2.7/libtool --silent --preserve-dup-deps
--tag CC --mode=compile clang -Iext/sysvmsg/
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/sysvmsg/
-I/builds/alpine/aports/community/php82/src/php-8.2.7/include
-I/builds/alpine/aports/community/php82/src/php-8.2.7/main
-I/builds/alpine/aports/community/php82/src/php-8.2.7
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/date/lib -I/usr/include/libxml2
-I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16
-I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/imap
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/mbstring/libmbfl
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/mbstring/libmbfl/mbfl
-I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/editline
-I/builds/alpine/aports/community/php82/src/php-8.2.7/TSRM
-I/builds/alpine/aports/community/php82/src/php-8.2.7/Zend -D_GNU_SOURCE -I/usr/include/imap
-fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter
-Wno-sign-compare -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DZEND_SIGNALS -prefer-pic
-DZEND_COMPILE_DL_EXT=1 -c /builds/alpine/aports/community/php82/src/php-8.2.7/ext/sysvmsg/sysvmsg.c
-o ext/sysvmsg/sysvmsg.lo -MMD -MF ext/sysvmsg/sysvmsg.dep -MT ext/sysvmsg/sysvmsg.lo
/builds/alpine/aports/community/php82/src/php-8.2.7/ext/soap/php_encoding.c:3417:21: warning: a
function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void encode_reset_ns()
^
void
/builds/alpine/aports/community/php82/src/php-8.2.7/ext/soap/php_encoding.c:3429:19: warning: a
function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void encode_finish()
^
void
/bin/sh /builds/alpine/aports/community/php82/src/php-8.2.7/libtool --silent --preserve-dup-deps
--tag CC --mode=compile clang -Iext/sysvsem/
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/sysvsem/
-I/builds/alpine/aports/community/php82/src/php-8.2.7/include
-I/builds/alpine/aports/community/php82/src/php-8.2.7/main
-I/builds/alpine/aports/community/php82/src/php-8.2.7
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/date/lib -I/usr/include/libxml2
-I/usr/include/enchant-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16
-I/usr/include/webp -I/usr/include/freetype2 -I/usr/include/imap
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/mbstring/libmbfl
-I/builds/alpine/aports/community/php82/src/php-8.2.7/ext/mbstring/libmbfl/mbfl
-I/usr/include/postgresql -I/usr/include/pspell -I/usr/include/editline
-I/builds/alpine/aports/community/php82/src/php-8.2.7/TSRM
-I/builds/alpine/aports/community/php82/src/php-8.2.7/Zend -D_GNU_SOURCE -I/usr/include/imap
-fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter
-Wno-sign-compare -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -DZEND_SIGNALS -prefer-pic
-DZEND_COMPILE_DL_EXT=1 -c /builds/alpine/aports/community/php82/src/php-8.2.7/ext/sysvsem/sysvsem.c
-o ext/sysvsem/sysvsem.lo -MMD -MF ext/sysvsem/sysvsem.dep -MT ext/sysvsem/sysvsem.lo
/builds/alpine/aports/community/php82/src/php-8.2.7/ext/soap/php_http.c:675:5: error: call to
undeclared function 'php_hash_bin2hex'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]
php_hash_bin2hex(cnonce, nonce, sizeof(nonce));
^
1 error generated.
make: *** [Makefile:2106: ext/soap/php_http.lo] Error 1
```
### PHP Version
PHP 8.2.7
### Operating System
Alpinelinux