asdf-php icon indicating copy to clipboard operation
asdf-php copied to clipboard

Build Failure With libxml2-2.12.3

Open MateusFGoncalves opened this issue 8 months ago • 3 comments

Provide environment information

When trying to install version 7.4.30 on my Manjaro it gives the following error:

/tmp/tmp.VNdgogunqW/php-src-php-7.4.0/ext/libxml/libxml.c:990:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types]
  990 |                 xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}

To Reproduce

asdf install php 7.4.0

Describe the Bug

To reproduce the error, just run the installation command.

Expected Behaviour

I want you to correctly install the PHP version.

MateusFGoncalves avatar Jun 17 '24 11:06 MateusFGoncalves