[pkg-boost-devel] Bug#823210: boost1.60: boost::shared_ptr converters to_python are not created automatically

Graham Inggs ginggs at debian.org
Mon May 2 10:12:01 UTC 2016


Source: boost1.60
Version: 1.60.0+dfsg-1
Tags: fixed-upstream patch

Hi Maintainer

I found yade FTBFS during its Python tests with several messages
similar to the following:

======================================================================
ERROR: testInteractionLoopCtor (yade.TestObjectInstantiation)
Core: InteractionLoop special ctor
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/debian/tmp/usr/lib/x86_64-linux-gnu/yade/py/yade/tests/wrapper.py",
line 43, in testInteractionLoopCtor
    self.assert_(len(id.geomDispatcher.functors)==2)
TypeError: No to_python (by-value) converter found for C++ type:
boost::shared_ptr<IGeomDispatcher>

I found a similar issue reported and fixed upstream [1].
I built boost1.60 locally and confirmed that the committed patch fixes
the issue with yade.
I will attach a patch to this bug shortly.

Regards
Graham


[1] https://github.com/boostorg/python/issues/56



More information about the pkg-boost-devel mailing list