Re: libxml2 commit 65c7d3b2e6506283eecd19a23dcf0122fbcdac33



On Sun, Aug 12, 2012 at 02:37:52PM +0200, Stef Walter wrote:
> On 08/06/2012 09:05 AM, Daniel Veillard wrote:
> >   Hi Colin,
> > 
> > On Sat, Aug 04, 2012 at 04:59:29AM -0400, Colin Walters wrote:
> >> Hi Daniel,
> >>
> >> It looks like
> >> http://git.gnome.org/browse/libxml2/commit/?id=65c7d3b2e6506283eecd19a23dcf0122fbcdac33
> >>
> >> will require changes in evolution-data-server at least, and potentially
> >> other GNOME modules.  While jhbuild is presently stuck on a 2.8.0
> >> tarball[1], my unofficial build system tracks git.
> 
> Daniel, do you have a patch for gnome-online-accounts? It seems that its
> build fails due to this commit:
> 
> make[2]: Entering directory
> `/data/src/jhbuild/gnome-online-accounts/src/goabackend'
>   CC       libgoa_backend_1_0_la-goaewsclient.lo
> goaewsclient.c: In function 'ews_client_post_restarted_cb':
> goaewsclient.c:354:49: error: dereferencing pointer to incomplete type
> goaewsclient.c:355:39: error: dereferencing pointer to incomplete type
> goaewsclient.c: In function 'ews_client_create_msg_for_url':
> goaewsclient.c:371:54: error: dereferencing pointer to incomplete type
> goaewsclient.c:372:44: error: dereferencing pointer to incomplete type
> make[2]: *** [libgoa_backend_1_0_la-goaewsclient.lo] Error 1
> make[2]: Leaving directory
> `/data/src/jhbuild/gnome-online-accounts/src/goabackend'
> 
> Line 354 is:
> 
> (gchar *) buf->buffer->content,

  Humpf, for some reason I can't clone gnome git right now [*]

thinkpad:~ -> git clone
ssh://veillard git gnome org/git/gnome-online-accountsCloning into
'gnome-online-accounts'...
ssh: connect to host git.gnome.org port 22: Connection timed out
fatal: The remote end hung up unexpectedly
thinkpad:~ ->

  otherwise I would have given a patch, but I assume the pattern is that
you are using buf->buffer->content on one line and buf->buffer->use
on the next line in two blocks starting at lines 354 and 371. In that
case the patch would be very similar to the one for
evolution-data-server,

#ifdef LIBXML2_NEW_BUFFER
   replace buf->buffer->content with xmlOutputBufferGetContent(buf)
   replace buf->buffer->use with xmlOutputBufferGetSize(buf)
#else
   old code with buf->buffer->content
   and buf->buffer->use
#endif

 And apparently you will have to repeat that change around line 371

Sorry about the absence of patch even my attempt to clone fedora git
for the package failed ... something is going on !

Daniel


[*] and mail.gnome.org seems unresponsive too :-\


-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]