[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Testing Subversion

From: Rob Judd <haiqu_at_ob-wan.com>
Date: Mon, 27 Apr 2009 17:26:17 +0000

Stefan Sperling wrote:
> On Fri, Apr 24, 2009 at 04:55:13PM +0000, Rob Judd wrote:
>> The version of Python I'm using is available at
>> http://www.bebits.com/app/4232 and has been used by the BeOS community
>> since 2005, so it's "ancient and justified". I also stated above that
>> the files being called by the tests (select.py and time.py) are missing
>> from this version, and that they are missing from the Python source
>> tree. I have also downloaded and unpacked the sources for Python-2.6.2
>> and Python-3.1a2 and the files are not contained in those packages. So,
>> I think we can safely eliminate my Python installation as the problem.
>
> I'm not convinced you can rule out a problem with your Python setup
> that easily.
>
> On my system (OpenBSD), those modules are object files, not python files:
>
> $ pkg_info -L python | grep time
> /usr/local/include/python2.5/datetime.h
> /usr/local/include/python2.5/timefuncs.h
> /usr/local/lib/python2.5/_strptime.py
> /usr/local/lib/python2.5/_strptime.pyc
> /usr/local/lib/python2.5/_strptime.pyo
> /usr/local/lib/python2.5/lib-dynload/datetime.so
> /usr/local/lib/python2.5/lib-dynload/time.so <-----
> /usr/local/lib/python2.5/timeit.py
> /usr/local/lib/python2.5/timeit.pyc
> /usr/local/lib/python2.5/timeit.pyo
> $ pkg_info -L python | grep select
> /usr/local/lib/python2.5/lib-dynload/select.so
> $ python --version
> Python 2.5.4

Yes, I have those guys too. They're called shared libraries, and contain
the machine-executable code for when these functions are called. In the
case of a BeOS version of Python I'd expect to see them because it had a
broken `select` function, but I'm surprised to see that OpenBSD
apparently does also. The error messages I got specifically stated they
were looking for files ending in .py so this isn't the answer.

Interestingly I removed the copy of `select.py` that was downloaded, did
a `make clean` on the Subversion 1.6.0 sources and re-ran the tests and
this problem hasn't recurred, at least up to test 43 which is where I'm
at right now. So maybe the gnomes writing the libraries for Haiku-OS
fixed the select function in the last few days.

Rob

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1941611

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-27 09:28:16 CEST

This is an archived mail posted to the Subversion Users mailing list.