Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 09:06:14 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        current@FreeBSD.org
Subject:   Re: python ports broken (sem_destroy: Resource temporarily unavailable)
Message-ID:  <Pine.GSO.4.10.10402060855020.1294-100000@pcnet5.pcnet.com>
In-Reply-To: <20040206042328.GA45061@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 2004, Kris Kennaway wrote:

> On Thu, Feb 05, 2004 at 06:37:41PM -0500, Daniel Eischen wrote:
> 
> > > > Actually lots of the package builds seem to be hanging in this way.
> > > 
> > > I'm looking at this but don't see anything wrong yet.  I've
> > > just started a buildworld and will see if I can get sem_destroy()
> > > to fail.
> > > 
> > > FYI, sem_destroy() returns -1 with errno = EBUSY when there
> > > are waiters waiting on the semaphore.
> > 
> > I think I fixed the problem (see last commit to libc/gen/sem.c).
> > Please continue to let me know of any problems you find.
> 
> 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.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10402060855020.1294-100000>