Page MenuHomeDevCentral
Paste P395

mailparse build failure in devcentral container
ActivePublic

Authored by dereckson on Mon, Mar 23, 09:59.
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuser0SK30P/mailparse-3.1.9/libtool --mode=compile cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuser0SK30P/mailparse-3.1.9/include -I/tmp/pear/temp/pear-build-defaultuser0SK30P/mailparse-3.1.9/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/mailparse.c -o mailparse.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-defaultuser0SK30P/mailparse-3.1.9/include -I/tmp/pear/temp/pear-build-defaultuser0SK30P/mailparse-3.1.9/main -I/tmp/pear/temp/mailparse -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mailparse/mailparse.c -fPIC -DPIC -o .libs/mailparse.o
/tmp/pear/temp/mailparse/mailparse.c: In function 'zif_mailparse_stream_encode':
/tmp/pear/temp/mailparse/mailparse.c:1016:33: error: incompatible type for argument 1 of 'mbfl_convert_filter_new'
1016 | conv = mbfl_convert_filter_new(mbfl_no2encoding(mbfl_no_encoding_8bit),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const mbfl_encoding * {aka const struct _mbfl_encoding *}
In file included from /usr/local/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h:98,
from /tmp/pear/temp/mailparse/php_mailparse.h:79,
from /tmp/pear/temp/mailparse/mailparse.c:24:
/usr/local/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:72:27: note: expected 'enum mbfl_no_encoding' but argument is of type 'const mbfl_encoding *' {aka 'const struct _mbfl_encoding *'}
72 | enum mbfl_no_encoding from,
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
/tmp/pear/temp/mailparse/mailparse.c:1017:4: error: incompatible type for argument 2 of 'mbfl_convert_filter_new'
1017 | mbfl_no2encoding(enc),
| ^~~~~~~~~~~~~~~~~~~~~
| |
| const mbfl_encoding * {aka const struct _mbfl_encoding *}
In file included from /usr/local/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h:98,
from /tmp/pear/temp/mailparse/php_mailparse.h:79,
from /tmp/pear/temp/mailparse/mailparse.c:24:
/usr/local/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h:73:27: note: expected 'enum mbfl_no_encoding' but argument is of type 'const mbfl_encoding *' {aka 'const struct _mbfl_encoding *'}
73 | enum mbfl_no_encoding to,
| ~~~~~~~~~~~~~~~~~~~~~~^~
make: *** [Makefile:198: mailparse.lo] Error 1
ERROR: `make' failed