We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Building on docker using pecl was working before Christmas, now it doesn't work.
Steps to reproduce the behavior:
Docker image: php:8.3-fpm-alpine
RUN pecl install mongodb apcu igbinary redis phalcon-5.6.2
#12 362.8 /usr/local/include/php/Zend/zend_API.h:2311:71: note: expected 'zval **' {aka 'struct _zval_struct **'} but argument is of type 'zval *' {aka 'struct _zval_struct *'} #12 362.8 2311 | static zend_always_inline bool zend_parse_arg_array(zval *arg, zval **dest, bool check_null, bool or_object) #12 362.8 | ~~~~~~~^~~~ #12 362.8 /tmp/pear/temp/phalcon/phalcon.zep.c: In function 'php_zephir_init_globals': #12 362.8 /tmp/pear/temp/phalcon/phalcon.zep.c:206421:57: error: assignment to 'zend_string *' {aka 'struct _zend_string *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] #12 362.8 206421 | phalcon_globals->orm.resultset_prefetch_records = ZSTR_VAL(zend_string_init(ZEND_STRL("0"), 0)); #12 362.8 | ^ #12 362.8 make: *** [Makefile:210: phalcon.lo] Error 1 #12 362.8 ERROR: `make' failed #12 ERROR: process "/bin/sh -c pecl install mongodb apcu igbinary redis phalcon-5.6.2" did not complete successfully: exit code: 1 ------ > [php 6/15] RUN pecl install mongodb apcu igbinary redis phalcon-5.6.2:
The text was updated successfully, but these errors were encountered:
It's the same for all: pecl or non-pecl, all builds are broken
Sorry, something went wrong.
I was able to find a solution, need to set those flags before building: export CFLAGS="$CFLAGS -DALPINE_LINUX=1 -fpermissive"
export CFLAGS="$CFLAGS -DALPINE_LINUX=1 -fpermissive"
No branches or pull requests
Building on docker using pecl was working before Christmas, now it doesn't work.
Steps to reproduce the behavior:
Docker image: php:8.3-fpm-alpine
The text was updated successfully, but these errors were encountered: