From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 08:10:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D91616A4CE for ; Fri, 6 Feb 2004 08:10:09 -0800 (PST) Received: from miffy.openlook.org (openlook.org [211.236.182.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AE9143D2F for ; Fri, 6 Feb 2004 08:10:08 -0800 (PST) (envelope-from perky@miffy.openlook.org) Received: by miffy.openlook.org (Postfix, from userid 1000) id 545A4A9E6; Sat, 7 Feb 2004 01:12:17 +0900 (KST) Date: Sat, 7 Feb 2004 01:12:17 +0900 From: Hye-Shik Chang To: Daniel Eischen Message-ID: <20040206161217.GA9872@i18n.org> References: <20040206042328.GA45061@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Accept-Language: ko, en User-Agent: Mutt/1.5.5.1i cc: current@FreeBSD.org cc: Kris Kennaway Subject: Re: python ports broken (sem_destroy: Resource temporarily unavailable) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 16:10:09 -0000 On Fri, Feb 06, 2004 at 09:06:14AM -0500, Daniel Eischen wrote: > On Thu, 5 Feb 2004, Kris Kennaway wrote: > > Nope, still broken. Can you confirm that you can build e.g. the > > py23-bsddb3-4.1.6_1 port? It hangs for me here: > > > > [...] > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_queue.py to test_queue.pyc > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_recno.py to test_recno.pyc > > byte-compiling /usr/local/lib/python2.3/site-packages/bsddb3/tests/test_thread.py to test_thread.pyc > > Thanks, that was a good test. I'm behind a slow dial-up so I > appreciate the smallish distfile. > > I committed a fix to libc/gen/sem.c. The port appears to build > (and install) OK for me now. > Thank you very much! py-bsddb unittest is successfully passed with your fixes. And almost all of python regression test set is okay except test_threaded_import. alice(perky):/usr/local/lib/python2.3/test% sudo python test_threaded_import.py Trying 20 threads ... OK. Trying 50 threads ... Traceback (most recent call last): File "test_threaded_import.py", line 56, in ? test_main() File "test_threaded_import.py", line 50, in test_main thread.start_new_thread(task, ()) thread.error: can't start new thread FYI, python's thread creation routine is located on work/Python-2.3.3/Python/thread_pthread.h:188. Cheers, Hye-Shik