Re: [C++-sig] Boost 1.69 python3 module

2019-02-12 Thread Alex Biddulph
> That's really strange.  I have no idea why that would happen.
> There's definitely some kind of hidden global state somewhere.
> That mostly confirms my suspicion that the offending rule is
> python.require-py.  Maybe if you add /debug/  into the call to
> main-target.select-alternatives, it will reveal something:
> 
> local py-ext-alternative = [ $(py-ext-target).select-alternatives
> $(property-set) debug ] ;

This also results in a successful building and installation of the Boost.Python 
library (along with all the others). Here is the build output
https://drive.google.com/open?id=1jNBu73JvFwcs8z0Om_o7bJ68x0KXCU4U

___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Boost 1.69 python3 module

2019-02-06 Thread stefan


On 2019-02-04 8:54 p.m., Alexander Biddulph wrote:


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.



I don't see anything obvious either. Steve, can you help with this ?

Thanks,


Stefan

--

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


___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Boost 1.69 python3 module

2019-02-05 Thread Alexander Biddulph
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...

___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig


Re: [C++-sig] Boost 1.69 python3 module

2019-01-29 Thread stefan

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...


___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig


[C++-sig] Boost 1.69 python3 module

2019-01-29 Thread Alexander Biddulph
Hopefully this is the right list for this.

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".

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.

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


___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
https://mail.python.org/mailman/listinfo/cplusplus-sig