Re: [Boost-bugs] [Boost C++ Libraries] #2185: bjam hangs when building libs/python/examples/quickstart under MacOS X

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2185: bjam hangs when building libs/python/examples/quickstart under MacOS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-19 23:16:08


#2185: bjam hangs when building libs/python/examples/quickstart under MacOS X
----------------------------------------+-----------------------------------
  Reporter: konrad.hinsen@… | Owner: grafik
      Type: Bugs | Status: new
 Milestone: Boost 1.37.0 | Component: Python
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by jamestwebber@…):

 Sweet Fancy Moses, I got it to work!

 (I've searched for answers to this for a long time, so I'm going to post
 my solution in multiple places for the sake of posterity)

 I was able to get all Boost Python tests (in /test and in
 /example/quickstart) by '''uninstalling''' the Homebrew-installed
 readline. This strongly suggests to me that a bug in readline is causing
 these tests to fail.

 While trying to figure this out, I noticed that only the tests using
 doctest were failing. doctest uses readline internally, and this might be
 causing an issue. As has been noted in other places, readline seems to
 have a bug in which it emits an extra character when first imported in
 python. At first this seemed unrelated but now I think it (or some other
 readline bug) is the cause of much headaches.

 This is rather unfortunate because uninstalling readline breaks the Python
 REPL (e.g. arrow keys no longer work). So obviously this is not a long-
 term fix, but it does answer some questions. Weirdly, readline is not
 necessarily for doctests to function.

 So, I don't have a patch or anything, but I think I have tracked down the
 bug to readline.

 They didn't seem all that interested in patching this bug, but maybe this
 will give them a good reason to do so (or look for the real bug?).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2185#comment:28>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC