Re: evolution-webcal - invalid DSO for symbol `g_thread_init' definition

2013-08-09 Thread Koop Mast

On 7-8-2013 3:40, 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




Fix committed thanks!

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)

gmake[3]: *** [evolution-webcal] Error 1
gmake[3]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0/src'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0'

gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0'

=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the 
failure to

the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/evolution-webcal
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20130806-97919-uopjic env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=evolution-webcal-2.32.0_2 UPGRADE_PORT_VER=2.32.0_2 make

** Fix the problem and try again.
---  Build of www/evolution-webcal ended at: Tue, 06 Aug 2013 
20:34:37 -0500 (consumed 00:00:03)
---  Reinstallation of www/evolution-webcal ended at: Tue, 06 Aug 
2013 20:34:37 -0500 (consumed 00:00:03)

---  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! www/evolution-webcal (evolution-webcal-2.32.0_2)(new 
compiler error)



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: evolution-webcal - invalid DSO for symbol `g_thread_init' definition

2013-08-08 Thread Steve Wills
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
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 +
 src/evolution-webcal-main.c	2013-08-09 02:33:18.402515485 +
+@@ -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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

evolution-webcal - invalid DSO for symbol `g_thread_init' definition

2013-08-06 Thread AN
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)

gmake[3]: *** [evolution-webcal] Error 1
gmake[3]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0/src'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0'

gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/www/evolution-webcal/work/evolution-webcal-2.32.0'

=== Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure 
to

the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/evolution-webcal
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade20130806-97919-uopjic env UPGRADE_TOOL=portupgrade 
UPGRADE_PORT=evolution-webcal-2.32.0_2 UPGRADE_PORT_VER=2.32.0_2 make

** Fix the problem and try again.
---  Build of www/evolution-webcal ended at: Tue, 06 Aug 2013 20:34:37 
-0500 (consumed 00:00:03)
---  Reinstallation of www/evolution-webcal ended at: Tue, 06 Aug 2013 
20:34:37 -0500 (consumed 00:00:03)

---  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! www/evolution-webcal (evolution-webcal-2.32.0_2)	(new 
compiler error)



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org