Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c: In function ‘zif_libxml_use_internal_errors’:
- /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c:981:48: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types]
- 981 | if (current_handler && current_handler == php_libxml_structured_error_handler) {
- | ^~
- /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c:999:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types]
- 999 | xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
- In file included from /usr/include/libxml2/libxml/valid.h:15,
- from /usr/include/libxml2/libxml/parser.h:19,
- from /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c:32:
- /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’}
- 898 | xmlStructuredErrorFunc handler);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c: In function ‘zif_libxml_get_last_error’:
- /home/ori/.cache/yay/php81/src/php-8.1.28/ext/libxml/libxml.c:1016:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1016 | error = xmlGetLastError();
- | ^
- make: *** [Makefile:968: ext/libxml/libxml.lo] Error 1
- ==> ERROR: A failure occurred in build().
- Aborting...
- -> error making: php81-exit status 4
- -> Failed to install the following packages. Manual intervention is required:
- php81 - exit status 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement