Boost logo

Boost-Build :

Subject: Re: [Boost-build] [C++-sig] Boost 1.69 python3 module
From: Alexander Biddulph (Alexander.Biddulph_at_[hidden])
Date: 2019-02-05 02:02:08


Hi,

Finally managed to get around to rebuilding this with "-d2" added to the command line. Here is a link to the build output
https://drive.google.com/open?id=1tlwj3-uGd6wsZ5qJcrD4Ms4RbaVMbDmC

As before, everything seems to be built and installed, except for the python library.
As before, Boost.Build seems to find the python installation and says it is going to build the python library, but just doesn't seem to get around to doing it and there don't appear to be any errors that the build system encountered.

On 30/1/19 1:08 am, stefan wrote:

Hi Alexander,

On 2019-01-28 9:02 p.m., Alexander Biddulph wrote:

Hopefully this is the right list for this.

It is, though the issue may be more related to the Boost build system (b2 / Boost.Build), so I'm cross-posting to try to get their attention, too.

I have been struggling to get Boost 1.69 to build Boost.Python against Python 3.6.3.

I have specified the location of the python binary, include, and library (due to a non-standard install location) in the project-config.jam file in the Boost source directory.

Running bjam and specifying "--debug-configuration" results in "[python-cfg]" output indicating that boost has found my Python installation and is satisfied with it configuration, it also indicates that it found numpy.

notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "3.6"
notice: [python-cfg] user-specified cmd-or-prefix: "/nubots/toolchain"
notice: [python-cfg] Checking interpreter command "/nubots/toolchain/bin/python3.6"...
notice: [python-cfg] running command '/nubots/toolchain/bin/python3.6 -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "/nubots/toolchain/bin/python3.6"
notice: [python-cfg] include path: "/nubots/toolchain/include/python3.6"
notice: [python-cfg] library path: "/nubots/toolchain/lib/python3.6/config" "/nubots/toolchain/lib"
notice: [python-cfg] Checking for NumPy...
notice: [python-cfg] running command '/nubots/toolchain/bin/python3.6 -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"'
notice: [python-cfg] NumPy enabled
notice: [python-cfg] Configuring python...
notice: [python-cfg] user-specified version: "3.6"
notice: [python-cfg] user-specified cmd-or-prefix: "/nubots/toolchain/bin/python3"
notice: [python-cfg] user-specified includes: "/nubots/toolchain/include/python3.6m"
notice: [python-cfg] user-specified libraries: "/nubots/toolchain/lib"
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg] interpreter command: "/nubots/toolchain/bin/python3"
notice: [python-cfg] include path: "/nubots/toolchain/include/python3.6m"
notice: [python-cfg] library path: "/nubots/toolchain/lib"
notice: [python-cfg] Checking for NumPy...
notice: [python-cfg] running command '/nubots/toolchain/bin/python3 -c "import sys; sys.stderr = sys.stdout; import numpy; print(numpy.get_include())"'
notice: [python-cfg] NumPy enabled

During the component configuration output it says "- python : building".

OK, so far all looks good / expected.

Scanning through the build output there are numerous lines where boost.python header files are copied (lines starting with common.copy). However, the libboost_python appears to never be built or installed and there is no output indicating that there was an error with any stage of the build.

Can you please attach the full output of your build ? (Perhaps even rerun with `-d2` to make the output more verbose ?)

It looks as though all other Boost modules/libraries are built, just not Boost.Python. What is going on here?

Thanks,

[Stefan]

--
      ...ich hab' noch einen Koffer in Berlin...




signature.png

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