From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 09:37:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C0C516A4CE for ; Sun, 15 Feb 2004 09:37:30 -0800 (PST) Received: from bombadil.mebtel.net (bombadil.mebtel.net [64.40.67.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7402143D1F for ; Sun, 15 Feb 2004 09:37:30 -0800 (PST) (envelope-from dlt@mebtel.net) Received: from localhost (localhost [127.0.0.1]) by bombadil.mebtel.net (Postfix) with ESMTP id AD860208639 for ; Sun, 15 Feb 2004 12:37:29 -0500 (EST) Received: from bombadil.mebtel.net ([127.0.0.1]) by localhost (bombadil [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13888-05 for ; Sun, 15 Feb 2004 12:37:29 -0500 (EST) Received: from lorne.arm.org (66-79-79-165.dsl.mebtel.net [66.79.79.165]) by bombadil.mebtel.net (Postfix) with ESMTP id 5EC452085FF for ; Sun, 15 Feb 2004 12:37:29 -0500 (EST) Received: from lorne.arm.org (localhost [127.0.0.1]) by lorne.arm.org (8.12.11/8.12.9) with ESMTP id i1FHbSaB082637 for ; Sun, 15 Feb 2004 12:37:28 -0500 (EST) (envelope-from dlt@lorne.arm.org) Received: (from dlt@localhost) by lorne.arm.org (8.12.11/8.12.10/Submit) id i1FHbSkC082636 for ports@freebsd.org; Sun, 15 Feb 2004 12:37:28 -0500 (EST) (envelope-from dlt) Date: Sun, 15 Feb 2004 12:37:28 -0500 From: Derek Tattersall To: ports@freebsd.org Message-ID: <20040215173728.GA82606@mebtel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at mebtel.net Subject: New threading library & python X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dlt@mebtel.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 17:37:30 -0000 I use spambayes, apython based bayesian mail filter. Today I rebuilt python 2.3 for no discernible reason, and spambayes failed --- Logging /home/dlt/mail/procmail.log for dlt, Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2) procmail: Program failure (-6) of "/usr/local/bin/sb_filter.py" procmail: Rescue of unfiltered data succeeded My problem is that I don't really understand what the replacement of the pthreads library with the kse library means, and I can't go dig it out of the last couple weeks of archives. I fixed it by rebuilding python without thread and rebuilding py-bsddb to link to the new python. Could somebody explain a) what went wrong, and b) what is the correct fix for this library problem? And please copy me, as I am not subscribed to this list. Oh yeah, FreeBSD lorne.arm.org 5.2-CURRENT FreeBSD 5.2-CURRENT #28: Sun Feb 15 07:53:51 EST 2004 root@lorne.arm.org:/usr/obj/usr/src/sys/LORNE i386 -- Derek Tattersall dlt@mebtel.net