Opened 11 years ago

Closed 11 years ago

#39296 closed defect (fixed)

evolution-data-server build failure

Reported by: mf2k (Frank Schima) Owned by: jim@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: dbevans (David B. Evans), cooljeanius (Eric Gallager)
Port: evolution-data-server

Description

:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_evolution-data-server/evolution-data-server/work/evolution-data-server-2.30.3/servers/google/libgdata'
:info:build cp libgdata.pc libgdata-1.2.pc
:info:build   CC       libgdata_1_2_la-gdata-feed.lo
:info:build   CC       libgdata_1_2_la-gdata-service-iface.lo
:info:build   CC       libgdata_1_2_la-gdata-entry.lo
:info:build gdata-entry.c:880:46: error: incomplete definition of type 'struct _xmlBuf'
:info:build                         xmlString = g_strdup ((gchar *)buf->buffer->content);
:info:build                                                        ~~~~~~~~~~~^
:info:build /opt/local/include/libxml2/libxml/tree.h:104:16: note: forward declaration of 'struct _xmlBuf'
:info:build typedef struct _xmlBuf xmlBuf;
:info:build                ^
:info:build gdata-entry.c:882:44: error: incomplete definition of type 'struct _xmlBuf'
:info:build                         xmlString = g_strdup ((gchar *)buf->conv->content);
:info:build                                                        ~~~~~~~~~^
:info:build /opt/local/include/libxml2/libxml/tree.h:104:16: note: forward declaration of 'struct _xmlBuf'
:info:build typedef struct _xmlBuf xmlBuf;
:info:build                ^
:info:build 2 errors generated.

Attachments (2)

main.log (115.6 KB) - added by mf2k (Frank Schima) 11 years ago.
patch-libxml2-2.9.diff (3.9 KB) - added by dbevans (David B. Evans) 11 years ago.
Proposed patch (amended)

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 11 years ago by dbevans (David B. Evans)

This is due to API changes in libxml2 -- the specific elements of struct _xmlBuf are no longer public so you can not access them directly as in the past. Accessor functions are provided instead. See attached patch which fixes the problem.

@jim@… -- let me know if this is OK to commit.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:2 Changed 11 years ago by dbevans (David B. Evans)

Cc: devans@… added

Cc Me!

Changed 11 years ago by dbevans (David B. Evans)

Attachment: patch-libxml2-2.9.diff added

Proposed patch (amended)

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Patch committed in r106696, maintainer timeout.

Note: See TracTickets for help on using tickets.