mailRe: relax 2.1.2 build error on darwin


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on October 19, 2012 - 16:54:
Hi Jack,

I noticed this one too late.  It is a very, very strange error!  The
problem is scipy:  it's a bit of a wild mix of crazy code which tends
to do a lot of weird low level things to Python.  In this case, I
traced the problem back to a change which only affected the import of
the ctypes Python module.  I really don't know how slightly changing a
ctypes import statement would trigger a bug in scipy - that is
bizarre.  I fixed it after branching relax 2.1.2 at:

http://article.gmane.org/gmane.science.nmr.relax.scm/15667
http://article.gmane.org/gmane.science.nmr.relax.scm/15668

There are two options, the change at r17912
(http://article.gmane.org/gmane.science.nmr.relax.scm/15668) should be
sufficient and could be ported to the 2.1.2 code.  Or I could release
2.1.3 with just this change and only release the source tar.bz2 file
for fink.  Which option is easiest for you?

Cheers,

Edward



On 19 October 2012 16:00, Jack Howarth <howarth@xxxxxxxxxxxxxxxx> wrote:
Edward,
   While trying to update the current fink relax-py packaging to the new 
2.1.2 release.
I ran into a build failure of the form...

/sw/bin/python2.7 /sw/bin/scons
scons: Reading SConscript files ...
AttributeError: 'builtin_function_or_method' object has no attribute 
'dispatch':
  File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/SConstruct", line 
37:
    from scons.distrib import package, gpg_sign
  File 
"/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/scons/distrib.py", line 
32:
    from version import version
  File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/version.py", line 
26:
    import dep_check
  File "/sw/src/fink.build/relax-py27-2.1.2-1/relax-2.1.2/dep_check.py", 
line 143:
    import scipy
  File "/sw/lib/python2.7/site-packages/scipy/__init__.py", line 85:
    from numpy import oldnumeric
  File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/__init__.py", line 
14:
    from compat import *
  File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/compat.py", line 
106:
    class Unpickler(pickle.Unpickler):
  File "/sw/lib/python2.7/site-packages/numpy/oldnumeric/compat.py", line 
110:
    dispatch = copy.copy(pickle.Unpickler.dispatch)

This failure didn't occur with the relax 2.1.0 or 2.1.1 releases. 
Interestingly this
error looks like the one described in the thread...

http://scons.tigris.org/ds/viewMessage.do?dsForumId=1272&dsMessageId=2695657

       Jack



Related Messages


Powered by MHonArc, Updated Sat Oct 20 13:00:10 2012