Bug 189857 - building mail/evolution fails
Summary: building mail/evolution fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-16 11:40 UTC by TsurutaniNaoki
Modified: 2014-06-06 21:01 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2014-05-16 11:40:00 UTC
	building mail/evolution fails.

Fix: 

I have no idea.
How-To-Repeat: 	% make
	...
	gmake[3]: Entering directory `/usr/ports/mail/evolution/work/evolution-2.32.1/plugins/caldav'
	LC_ALL=C /usr/local/bin/intltool-merge -x -u /tmp/notthere org-gnome-evolution-caldav.eplug.xml org-gnome-evolution-caldav.eplug.in
	  CC     liborg_gnome_evolution_caldav_la-caldav-browse-server.lo
	Merging translations into org-gnome-evolution-caldav.eplug.in.
	CREATED org-gnome-evolution-caldav.eplug.in
	sed -e 's|\@PLUGINDIR\@|/usr/local/lib/evolution/2.32/plugins|'         \
	-e 's|\@SOEXT\@|.so|'                   \
	-e 's|\@GETTEXT_PACKAGE\@|evolution-2.32|'      \
	-e 's|\@LOCALEDIR\@|/usr/local/share/locale|' org-gnome-evolution-caldav.eplug.in > org-gnome-evolution-caldav.eplug
	caldav-browse-server.c: In function 'redirect_handler':
	caldav-browse-server.c:681: warning: 'soup_message_headers_get' is deprecated (declared at /usr/local/include/libsoup-2.4/libsoup/soup-message-headers.h:41)
	caldav-browse-server.c: In function 'caldav_browse_server_thread':
	caldav-browse-server.c:767: warning: 'g_cond_free' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:279)
	caldav-browse-server.c:768: warning: 'g_mutex_free' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:275)
	caldav-browse-server.c: In function 'send_xml_message':
	caldav-browse-server.c:982: error: dereferencing pointer to incomplete type
	caldav-browse-server.c:982: error: dereferencing pointer to incomplete type
	caldav-browse-server.c: In function 'init_dialog':
	caldav-browse-server.c:1243: warning: 'g_mutex_new' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:273)
	caldav-browse-server.c:1244: warning: 'g_cond_new' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277)
	caldav-browse-server.c:1251: warning: 'g_thread_create' is deprecated (declared at /usr/local/include/glib-2.0/glib/deprecated/gthread.h:103)
	gmake[3]: *** [liborg_gnome_evolution_caldav_la-caldav-browse-server.lo] Error 1
	rm org-gnome-evolution-caldav.eplug.in
	gmake[3]: Leaving directory `/usr/ports/mail/evolution/work/evolution-2.32.1/plugins/caldav'
	gmake[2]: *** [all-recursive] Error 1
	gmake[2]: Leaving directory `/usr/ports/mail/evolution/work/evolution-2.32.1/plugins'
	gmake[1]: *** [all-recursive] Error 1
	gmake[1]: Leaving directory `/usr/ports/mail/evolution/work/evolution-2.32.1'
	gmake: *** [all] Error 2
	===> Compilation failed unexpectedly.
	Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
	the maintainer.
	*** Error code 1
	 
	Stop in /usr/ports/mail/evolution.
	*** Error code 1
	 
	Stop in /usr/ports/mail/evolution.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-16 11:40:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 rkoberman 2014-05-16 18:50:48 UTC
Fix is already posted to the list courtesy of Don Lewis:

--- plugins/caldav/caldav-browse-server.c.orig	2010-09-21
00:26:29.000000000 -0700
+++ plugins/caldav/caldav-browse-server.c	2014-05-14 12:55:29.000000000 -0700
@@ -979,7 +979,7 @@

 	soup_message_headers_append (message->request_headers, "User-Agent",
"Evolution/" VERSION);
 	soup_message_headers_append (message->request_headers, "Depth",
depth_1 ? "1" : "0");
-	soup_message_set_request (message, "application/xml",
SOUP_MEMORY_COPY, (const gchar *) buf->buffer->content,
buf->buffer->use);
+	soup_message_set_request (message, "application/xml",
SOUP_MEMORY_COPY, (const gchar *) xmlBufContent(buf->buffer),
xmlBufUse(buf->buffer));

 	/* Clean up the memory */
 	xmlOutputBufferClose (buf);

-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com
Comment 3 Koop Mast freebsd_committer freebsd_triage 2014-06-06 21:01:51 UTC
This was fixed in r354374. Thanks for reporting.