Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.3.0RC1 doesn't't compile on alpine #12352

Closed
HeenaBansal2009 opened this issue Oct 3, 2023 · 7 comments
Closed

8.3.0RC1 doesn't't compile on alpine #12352

HeenaBansal2009 opened this issue Oct 3, 2023 · 7 comments

Comments

@HeenaBansal2009
Copy link

HeenaBansal2009 commented Oct 3, 2023

Description

Error from make command:

/bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/zend_fibers.c -o Zend/zend_fibers.lo -MMD -MF Zend/zend_fibers.dep -MT Zend/zend_fibers.lo
#7 32.06 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/zend_atomic.c -o Zend/zend_atomic.lo -MMD -MF Zend/zend_atomic.dep -MT Zend/zend_atomic.lo
#7 32.10 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/zend_max_execution_timer.c -o Zend/zend_max_execution_timer.lo -MMD -MF Zend/zend_max_execution_timer.dep -MT Zend/zend_max_execution_timer.lo
#7 32.15 /usr/src/php/ext/sockets/sockets.c: In function 'zif_socket_set_option':
#7 32.15 /usr/src/php/ext/sockets/sockets.c:1973:31: error: array type has incomplete element type 'struct sock_filter'
#7 32.15 1973 | static struct sock_filter cbpf[8] = {0};
#7 32.15 | ^~~~
#7 32.15 /usr/src/php/ext/sockets/sockets.c:1974:30: error: storage size of 'bpfprog' isn't known
#7 32.15 1974 | static struct sock_fprog bpfprog;
#7 32.15 | ^~~~~~~

#7 32.16 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/zend_hrtime.c -o Zend/zend_hrtime.lo -MMD -MF Zend/zend_hrtime.dep -MT Zend/zend_hrtime.lo
#7 32.17 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_optimizer.c -o Zend/Optimizer/zend_optimizer.lo -MMD -MF Zend/Optimizer/zend_optimizer.dep -MT Zend/Optimizer/zend_optimizer.lo
#7 32.17 /usr/src/php/ext/sockets/sockets.c:1977:11: error: 'SKF_AD_CPU' undeclared (first use in this function)
#7 32.17 1977 | case SKF_AD_CPU:
#7 32.17 | ^~~~~~~~~~
#7 32.17 /usr/src/php/ext/sockets/sockets.c:1977:11: note: each undeclared identifier is reported only once for each function it appears in
#7 32.19 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/pass1.c -o Zend/Optimizer/pass1.lo -MMD -MF Zend/Optimizer/pass1.dep -MT Zend/Optimizer/pass1.lo
#7 32.19 /usr/src/php/ext/sockets/sockets.c:1978:11: error: 'SKF_AD_QUEUE' undeclared (first use in this function)
#7 32.19 1978 | case SKF_AD_QUEUE:
#7 32.19 | ^~~~~~~~~~~~
#7 32.20 /usr/src/php/ext/sockets/sockets.c:1979:23: error: 'BPF_LD' undeclared (first use in this function)
#7 32.20 1979 | cbpf[0].code = (BPF_LD|BPF_W|BPF_ABS);
#7 32.20 | ^~~~~~
#7 32.20 /usr/src/php/ext/sockets/sockets.c:1979:30: error: 'BPF_W' undeclared (first use in this function)
#7 32.20 1979 | cbpf[0].code = (BPF_LD|BPF_W|BPF_ABS);
#7 32.20 | ^~~~~
#7 32.21 /usr/src/php/ext/sockets/sockets.c:1979:36: error: 'BPF_ABS' undeclared (first use in this function)
#7 32.21 1979 | cbpf[0].code = (BPF_LD|BPF_W|BPF_ABS);
#7 32.21 | ^~~~~~~
#7 32.22 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/pass3.c -o Zend/Optimizer/pass3.lo -MMD -MF Zend/Optimizer/pass3.dep -MT Zend/Optimizer/pass3.lo
#7 32.22 /usr/src/php/ext/sockets/sockets.c:1980:30: error: 'SKF_AD_OFF' undeclared (first use in this function)
#7 32.22 1980 | cbpf[0].k = (uint32_t)(SKF_AD_OFF + k);
#7 32.22 | ^~~~~~~~~~
#7 32.24 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/optimize_func_calls.c -o Zend/Optimizer/optimize_func_calls.lo -MMD -MF Zend/Optimizer/optimize_func_calls.dep -MT Zend/Optimizer/optimize_func_calls.lo
#7 32.24 /usr/src/php/ext/sockets/sockets.c:1981:23: error: 'BPF_RET' undeclared (first use in this function)
#7 32.24 1981 | cbpf[1].code = (BPF_RET|BPF_A);
#7 32.24 | ^~~~~~~
#7 32.24 /usr/src/php/ext/sockets/sockets.c:1981:31: error: 'BPF_A' undeclared (first use in this function)
#7 32.24 1981 | cbpf[1].code = (BPF_RET|BPF_A);
#7 32.24 | ^~~~~
#7 32.24 /usr/src/php/ext/sockets/sockets.c:1974:30: warning: unused variable 'bpfprog' [-Wunused-variable]
#7 32.24 1974 | static struct sock_fprog bpfprog;
#7 32.24 | ^~~~~~~
#7 32.24 /usr/src/php/ext/sockets/sockets.c:1973:31: warning: unused variable 'cbpf' [-Wunused-variable]
#7 32.24 1973 | static struct sock_filter cbpf[8] = {0};
#7 32.24 | ^~~~
#7 32.27 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/block_pass.c -o Zend/Optimizer/block_pass.lo -MMD -MF Zend/Optimizer/block_pass.dep -MT Zend/Optimizer/block_pass.lo
#7 32.29 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/optimize_temp_vars_5.c -o Zend/Optimizer/optimize_temp_vars_5.lo -MMD -MF Zend/Optimizer/optimize_temp_vars_5.dep -MT Zend/Optimizer/optimize_temp_vars_5.lo
#7 32.31 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/nop_removal.c -o Zend/Optimizer/nop_removal.lo -MMD -MF Zend/Optimizer/nop_removal.dep -MT Zend/Optimizer/nop_removal.lo
#7 32.35 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/compact_literals.c -o Zend/Optimizer/compact_literals.lo -MMD -MF Zend/Optimizer/compact_literals.dep -MT Zend/Optimizer/compact_literals.lo
#7 32.37 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_cfg.c -o Zend/Optimizer/zend_cfg.lo -MMD -MF Zend/Optimizer/zend_cfg.dep -MT Zend/Optimizer/zend_cfg.lo
#7 32.40 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_dfg.c -o Zend/Optimizer/zend_dfg.lo -MMD -MF Zend/Optimizer/zend_dfg.dep -MT Zend/Optimizer/zend_dfg.lo
#7 32.41 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/dfa_pass.c -o Zend/Optimizer/dfa_pass.lo -MMD -MF Zend/Optimizer/dfa_pass.dep -MT Zend/Optimizer/dfa_pass.lo
#7 32.46 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_ssa.c -o Zend/Optimizer/zend_ssa.lo -MMD -MF Zend/Optimizer/zend_ssa.dep -MT Zend/Optimizer/zend_ssa.lo

#7 32.48 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_inference.c -o Zend/Optimizer/zend_inference.lo -MMD -MF Zend/Optimizer/zend_inference.dep -MT Zend/Optimizer/zend_inference.lo

#7 32.49 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_func_info.c -o Zend/Optimizer/zend_func_info.lo -MMD -MF Zend/Optimizer/zend_func_info.dep -MT Zend/Optimizer/zend_func_info.lo

#7 32.52 /bin/sh /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -IZend/ -I/usr/src/php/Zend/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php -I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM -I/usr/src/php/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/src/php/Zend/Optimizer/zend_call_graph.c -o Zend/Optimizer/zend_call_graph.lo -MMD -MF Zend/Optimizer/zend_call_graph.dep -MT Zend/Optimizer/zend_call_graph.lo

#7 32.55 make: *** [Makefile:1432: ext/sockets/sockets.lo] Error 1

#7 32.55 make: *** Waiting for unfinished jobs....

#7 33.47 mkdir: can't create directory 'ext/mysqlnd/.libs': File exists

#7 33.49 mkdir: can't create directory 'ext/mysqlnd/.libs': File exists

#7 37.37 mkdir: can't create directory 'Zend/Optimizer/.libs': File exists

PHP Version

PHP 8.3.0 RC1

Operating System

Alpine

@devnexen
Copy link
Member

devnexen commented Oct 3, 2023

Could be related.

@andypost
Copy link
Contributor

andypost commented Oct 3, 2023

You can check how it works in Alpine itself, there's no issues https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/php83/APKBUILD

@devnexen
Copy link
Member

devnexen commented Oct 3, 2023

@HeenaBansal2009 What is your version of Alpine again ? the flag SIGEV_THREAD_ID is supported since musl 1.2.2 it seems.

@HeenaBansal2009
Copy link
Author

@HeenaBansal2009 What is your version of Alpine again ? the flag SIGEV_THREAD_ID is supported since musl 1.2.2 it seems.

I am using alpine image docker hub:
FROM amd64/alpine:3.12

@devnexen
Copy link
Member

devnexen commented Oct 3, 2023

Can you try a more recent version just to see ?

@HeenaBansal2009
Copy link
Author

HeenaBansal2009 commented Oct 3, 2023

Can you try a more recent version just to see ?

Sure, I am trying with alpine 3.15 now. I'll let you know the results.
Yes , it worked with 3.15 alpine .
Thank you , Please close the issue.

@andypost
Copy link
Contributor

andypost commented Oct 4, 2023

3.15 is supported next 2 months, so makes sense to use newer release https://www.alpinelinux.org/releases/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants