Boost logo

Boost-Build :

Subject: Re: [Boost-build] boost regression tests fail with python-2.7.14
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-12-23 00:39:05


AMDG

On 12/22/2017 04:36 PM, Bruce Dubbs via Boost-build wrote:
> If I build boost, the regression tests fail for me with python-2.7.14:
>
> cd  tools/build/test
> python test_all.py
> Traceback (most recent call last):
>   File "test_all.py", line 9, in <module>
>     import BoostBuild
>   File "/tmp/boost/boost_1_66_0/tools/build/test/BoostBuild.py", line 8,
> in <module>
>     import TestCmd
>   File "/tmp/boost/boost_1_66_0/tools/build/test/TestCmd.py", line 62,
> in <module>
>     import shutil
>   File "/usr/lib/python2.7/shutil.py", line 16, in <module>
>     import zlib
>   File "/tmp/boost/boost_1_66_0/tools/build/test/zlib.py", line 11, in
> <module>
>     t = BoostBuild.Tester(arguments=['toolset=mock',
> '--ignore-site-config', '--user-config='], pass_toolset=0)
> AttributeError: 'module' object has no attribute 'Tester'
>

  The reason this is happening is that the zlib
test module inadvertently replaces python's
built in zlib module.

> ----
> If I revert to python-2.7.13, all tests pass.  I do not know enough
> about python to determine if the problem is in boost or python.
>

In Christ,
Steven Watanabe


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk