[Bug 277278] rubygem-libxml-ruby: build error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Feb 2024 11:03:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277278

            Bug ID: 277278
           Summary: rubygem-libxml-ruby: build error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: girgen@FreeBSD.org

Created attachment 248716
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248716&action=edit
rubygem-libxml-ruby-5.0.2.log

This seems to be related to libxml update?

The latest ports tree, run in poudriere:

ruby_xml_error.c:123:35: error: incompatible function pointer types passing
'void (void *, const xmlError *)' (aka 'void (void *, const struct _xmlError
*)') to parameter of type 'xmlStructuredErrorFunc' (aka 'void (*)(void *,
struct _xmlError *)') [-Wincompatible-function-pointer-types]
  xmlSetStructuredErrorFunc(NULL, structuredErrorFunc);
                                  ^~~~~~~~~~~~~~~~~~~
/usr/local/include/libxml2/libxml/xmlerror.h:873:29: note: passing argument to
parameter 'handler' here
                                 xmlStructuredErrorFunc handler);

-- 
You are receiving this mail because:
You are the assignee for the bug.