Opened 6 months ago

Last modified 3 months ago

#70090 assigned defect

gnome-online-accounts @3.44.0: error: call to undeclared function 'xmlReadMemory'

Reported by: Alex11N Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gnome-online-accounts

Description

Hello David,

I am using the latest MacPorts (2.9.3) on macOS Ventura 13.6.4, and keep the ports tree updated on a daily basis.

'port' udpated a number of items the other day, including gcr, which, somewhat to my surprise built and (force-)installed.The updates on the day following the successful build/install of gcr broke at the stage of building gnome-online-accounts. A number of other ports have broken after gcr installed; these are: gnome-online-accounts @3.44.0, libgdata @0.18.1, and gvfs @1.36.2+python36. libgdata and gvfs appear to be dependent on gnome-online-accounts: at any rate, neither will install before gnone-online-accounts.

gnome-online-accounts build exit with an error message, I've attached the /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gnome-online-accounts/gnome-online-accounts/main.log file.

Attachments (1)

main.log (220.4 KB) - added by Alex11N 6 months ago.
main.log file following failed build

Download all attachments as: .zip

Change History (5)

Changed 6 months ago by Alex11N

Attachment: main.log added

main.log file following failed build

comment:1 Changed 6 months ago by jmroot (Joshua Root)

Keywords: gnome component build failure removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Log says:

goaewsclient.c:252:9: error: call to undeclared function 'xmlReadMemory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  doc = xmlReadMemory (msg->response_body->data, msg->response_body->length, "autodiscover.xml", NULL, 0);
        ^

This is an incompatibility with libxml2 ≥ 2.12. This line needs to be added:

#include <libxml/parser.h>

If gnome-online-accounts developers haven't fixed this problem yet they need to be notified to do so.

Version 0, edited 6 months ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:3 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: gnome-online-accounts rebuild fails after updating gcr from @3.38.1_0 to gcr @3.41.2_0gnome-online-accounts @3.44.0: error: call to undeclared function 'xmlReadMemory'

Here is their commit that fixed it:

https://gitlab.gnome.org/GNOME/gnome-online-accounts/-/commit/b9638e2418408be4906752297e700506766dcf20

It was fixed in 3.49.0. Our port is at version 3.44.0. Our port needs to be updated to the latest version which is 3.50.2.

comment:4 Changed 3 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.