From owner-freebsd-gnome@FreeBSD.ORG Fri Aug 9 03:01:02 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 91FE3B27; Fri, 9 Aug 2013 03:01:02 +0000 (UTC) (envelope-from swills@mouf.net) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 432E1273C; Fri, 9 Aug 2013 03:01:02 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id r7930obD082405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Aug 2013 03:00:55 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id r7930oKv082404; Fri, 9 Aug 2013 03:00:50 GMT (envelope-from swills) Date: Fri, 9 Aug 2013 03:00:50 +0000 From: Steve Wills To: AN Subject: Re: evolution-webcal - invalid DSO for symbol `g_thread_init' definition Message-ID: <20130809030049.GA81796@mouf.net> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 09 Aug 2013 03:00:55 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.8 at mouf.net X-Virus-Status: Clean Cc: gnome@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2013 03:01:02 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 06, 2013 at 09:40:37PM -0400, AN wrote: > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #78 r253966: Mon Aug 5 > 14:42:05 CDT 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > > cc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" > -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ > -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo > -I/usr/local/include/pixman-1 -D_THREAD_SAFE > -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 > -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 > -I/usr/local/include/harfbuzz > -I/usr/local/include/evolution-data-server-2.32 > -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -DORBIT2=1 > -I/usr/local/include/libsoup-2.4 -pthread -I/usr/local/include/glib-2.0 > -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include > -O2 -pipe -fno-strict-aliasing -MT evolution-webcal-notify.o -MD -MP -MF > .deps/evolution-webcal-notify.Tpo -c -o evolution-webcal-notify.o > evolution-webcal-notify.c > evolution-webcal-main.c:83:9: warning: assigning to 'gchar *' (aka 'char > *') from 'const char *' discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > name = icalproperty_get_value_as_string (prop); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > evolution-webcal-main.c:85:9: warning: assigning to 'gchar *' (aka 'char > *') from 'const char *' discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers] > desc = icalproperty_get_value_as_string (prop); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > evolution-webcal-main.c:115:14: warning: 'soup_message_headers_get' is > deprecated [-Wdeprecated-declarations] > header = soup_message_headers_get (msg->response_headers, "Location"); > ^ > /usr/local/include/libsoup-2.4/libsoup/soup-message-headers.h:40:21: note: > 'soup_message_headers_get' declared here > const char *soup_message_headers_get (SoupMessageHeaders > *hdrs, > ^ > evolution-webcal-main.c:255:3: warning: 'g_thread_init' is deprecated > [-Wdeprecated-declarations] > g_thread_init (NULL); > ^ > /usr/local/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: > 'g_thread_init' declared here > void g_thread_init (gpointer vtable); > ^ > 4 warnings generated. > mv -f .deps/evolution-webcal-main.Tpo .deps/evolution-webcal-main.Po > mv -f .deps/evolution-webcal-notify.Tpo .deps/evolution-webcal-notify.Po > cc -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -o evolution-webcal > evolution-webcal-main.o evolution-webcal-notify.o -lgtk-x11-2.0 > -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr > -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -latk-1.0 -lcairo > -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig > -lecal-1.2 -lical -licalss -licalvcal -pthread -ledataserver-1.2 -lxml2 > -lgconf-2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -L/usr/local/lib -lglib-2.0 > -lintl > /usr/bin/ld: R: invalid DSO for symbol `g_thread_init' definition > /usr/local/lib/libgthread-2.0.so.0: could not read symbols: Bad value > cc: error: linker command failed with exit code 1 (use -v to see > invocation) Try the attached patch, also at: http://meatwad.mouf.net/~swills/webcal.diff Steve --4Ckj6UjgE2iN1+kY Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="webcal.diff" Index: Makefile =================================================================== --- Makefile (revision 324412) +++ Makefile (working copy) @@ -8,7 +8,7 @@ PORTNAME= evolution-webcal PORTVERSION= 2.32.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www gnome MASTER_SITES= GNOME DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} Index: files/patch-main.c =================================================================== --- files/patch-main.c (revision 0) +++ files/patch-main.c (working copy) @@ -0,0 +1,11 @@ +--- src/evolution-webcal-main.c.orig 2013-08-09 02:33:10.761502738 +0000 ++++ src/evolution-webcal-main.c 2013-08-09 02:33:18.402515485 +0000 +@@ -252,8 +252,6 @@ + textdomain (GETTEXT_PACKAGE); + #endif + +- g_thread_init (NULL); +- + if (!gtk_init_with_args (&argc, &argv, + _("- Evolution webcal: URI Handler"), + options, Property changes on: files/patch-main.c ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --4Ckj6UjgE2iN1+kY--