[MacPorts] #50388: py-bob @2.0.7 New release

MacPorts noreply at macports.org
Thu Jan 21 15:42:00 PST 2016


#50388: py-bob @2.0.7 New release
--------------------------------+----------------------
  Reporter:  tiagofrepereira@…  |      Owner:  devans@…
      Type:  update             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  py-bob             |
--------------------------------+----------------------

Comment (by devans@…):

 Some more information.  I tried building on 10.11 and got the same error
 as on 10.10.  So I don't believethe problem is OS version specific.  I
 also believe it is unrelated to the previous patch (boost 0.59 issue) as
 that only comes into play when libstdc++ is being used.  That only occurs
 on 10.8 and earlier so not an issue here.

 I ran setup.py, as it is invoked by py27-bob-learn-em, in pdb.  Here's the
 last few lines before the segfault:

 {{{
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/extension/__init__.py", line 291, in __init__
     bob_includes, bob_libraries, bob_library_dirs =
 get_bob_libraries(self.bob_packages)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/extension/__init__.py", line 185, in get_bob_libraries
     pkg = importlib.import_module(package)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py",
 line 37, in import_module
     __import__(name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/bob/learn/activation/__init__.py", line 8, in <module>
     from ._library import *
 ImportError: bob.core._logging import error: you compiled against API
 version 0x200, but are now importing an API with version 0x201 which is
 not compatible - check your Python runtime environment for errors
 Uncaught exception. Entering post mortem debugging
 }}}

 The module being imported is bob.learn.activation.

 What am I doing wrong?

-- 
Ticket URL: <https://trac.macports.org/ticket/50388#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list