It doesn't build for me. Gives the error attached below. It is maybe because of icu version 68.
There's a similar bug for php 7.4 and there is a fix in the comments which may help: https://bugs.php.net/bug.php?id=80310&edit=1
The error:
/bin/sh /var/tmp/pamac-build-gergo/php71/src/build/libtool --silent --preserve-dup-deps --mode=compile cc -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/ -DPHP_ATOM_INC -I/var/tmp/pamac-build-gergo/php71/src/build/include -I/var/tmp/pamac-build-gergo/php71/src/build/main -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33 -I/var/tmp/pamac-build-gergo/php71/src/build/ext/date/lib -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/date/lib -I/usr/include/libxml2 -I/usr/include/enchant-2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/imap -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/oniguruma -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/oniguruma -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/libmbfl -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/libmbfl -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/mbstring/libmbfl/mbfl -I/var/tmp/pamac-build-gergo/php71/src/build/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/var/tmp/pamac-build-gergo/php71/src/build/TSRM -I/var/tmp/pamac-build-gergo/php71/src/build/Zend -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/main -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/Zend -I/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/TSRM -I/var/tmp/pamac-build-gergo/php71/src/build/ -D_FORTIFY_SOURCE=2 -I/usr/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fvisibility=hidden -DZEND_SIGNALS -c /var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_is_numeric.c -o ext/intl/collator/collator_is_numeric.lo
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’:
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c:349:26: error: ‘TRUE’ undeclared (first use in this function)
349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c:349:26: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’:
/var/tmp/pamac-build-gergo/php71/src/php-7.1.33/ext/intl/collator/collator_sort.c:543:26: error: ‘FALSE’ undeclared (first use in this function)
543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
| ^~~~~
make: *** [Makefile:1136: ext/intl/collator/collator_sort.lo] Error 1
make: *** Waiting for unfinished jobs....
==> HIBA: Hiba történt a build()-ben.
Megszakítás...
Pinned Comments
wget commented on 2019-02-11 11:49
This package makes use of GPG keys for integrity verification. Here are the PGP keys you need to import (if you trust them):
Receiving GPG keys might fail with the following error message:
$ gpg: keyserver receive failed: Connection refused
. If this happens, just check your DNS or use other ones.