glib 2.24 changed the way that threading was initialized from glib 2.22. This causes Amanda to dump core, with a failed assertion in glib-util.c at line 48 ("g_assert(!g_thread_supported());"). There is a fix for this in the 3_1 branch of Amanda, and I am trying to get it put into the 2.6.1 source, but until then, I'm hoping that this patch can be added to the port. Fix: A reorganization of common-src/glib-util.c to change the initialization order. I've attached the patch file. (I don't have the double-colon in the name because I wasn't sure it would upload properly.) Patch attached with submission follows: How-To-Repeat: with devel/glib20 updated to the latest version (2.24.1), install misc/amanda-server. Then try to run various amanda commands, and watch as they dump core.
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Assign to port maintainer.
In the mean time, "sudo portupgrade -rRf amanda-server-2.6.1p2_1,1" got it working again for me.
State Changed From-To: open->closed Committed, thanks!
kuriyama 2010-05-22 11:40:51 UTC FreeBSD ports repository Modified files: misc/amanda-server Makefile Added files: misc/amanda-server/files patch-common-src::glib-util.c Log: - Add workaround for glib-2.24 [1]. - Allow to choose samba port [2]. PR: ports/146768 [1], ports/146769 [2] Submitted by: Ricky Morse <remorse@partners.org> [1,2] Revision Changes Path 1.118 +4 -3 ports/misc/amanda-server/Makefile 1.1 +51 -0 ports/misc/amanda-server/files/patch-common-src::glib-util.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"