Skip to content

Build Failure With libxml2-2.12.3 #171

@MateusFGoncalves

Description

@MateusFGoncalves

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions