[Buildbot-devel] Buildbot and Solaris

Russel Winder russel at russel.org.uk
Tue Aug 7 16:31:28 UTC 2007


On Tue, 2007-08-07 at 11:15 -0500, Dustin J. Mitchell wrote:

> > Is the _md5 module supposed to be statically compiled into the Python
> > interpreter rather than being a shared library? 
> 
> It depends on how Python is compiled, and possibly on the system (hence
> your Ubuntu system not having a separate _md5.so).  It seems that the
> sunfreeware version is just miscompiled..

It is beginning to look that way.  I am guessing that the Ubuntu 2.5.1
package has md5 statically compiled in as the only md5.so file on the
system is:

/usr/lib/python2.4/lib-dynload/md5.so

So unless 2.5 also looks in the 2.4 hierarchy, there is no md5.so for
2.5, but the import works.

> > /usr/sfw/lib/python2.3/lib-dynload/md5.so
> 
> Interesting -- so 'import md5' on that install loads the shared object
> directly, instead of via an '_md5' wrapper.

Ubuntu 2.4 and Solaris 2.3 appear to use the same strategy.  Ubuntu 2.5
and Solaris 2.5 likewise appears to use the same strategy but the
Solaris build gets it wrong.

> I think it's time to bite the bullet and compile Python from source..

Clearly this is nothing to do with Buildbot so I guess it is time to
close this thread down.  Thanks muchly for your helpful and patient
responses.  I appreciate this a lot -- it has seriously lowered my
stress levels :-)

I think I will raise an email with the Sunfreeware packagers and see if
I can progress it without having to build it myself.  It is not just the
building of Python it is the creating of Solaris packages.

Thanks again. 
-- 
Russel.
====================================================
Dr Russel Winder
41 Buckmaster Road               m: +44 7770 465 077
London SW11 1EN, UK              t: +44 20 7585 2200
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://buildbot.net/pipermail/devel/attachments/20070807/8f344b16/attachment.bin>


More information about the devel mailing list