|
Boost : |
Subject: Re: [boost] [builds] broken
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2017-03-06 13:53:43
Le 06/03/2017 à 13:19, Tom Kent via Boost a écrit :
> On Sun, Mar 5, 2017 at 3:20 PM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>
>> On Sun, Mar 5, 2017 at 2:20 PM, Tom Kent <lists_at_[hidden]> wrote:
>>
>>>
>>> Yeah, the specific runner I'm looking at at the moment has python, both 2
>>> (2.7.6) and 3 (3.4.3, despite what the summary page says under the python
>>> versions):
>>> http://www.boost.org/development/tests/develop/developer/summary.html
>>>
>>> If you want to try that config yourself, you can get it from docker hub:
>>> teeks99/boost-build:gcc-6
>>>
>>> I verified that it was getting the latest commit from develop:
>>> 6abf48add87c66a7b118d0bc5e24ae045ba6fbb0
>>>
>>> Also, I noticed that there are two errors. The end of the output looks
>>> like:
>>>
>>> warning: toolset gcc initialization: can not find tool windres
>>> warning: initialized from /home/boost/user-config.jam:11
>>> notice: using rc compiler :: <toolset>gcc-6~c++1z~warn :: /usr/bin/as
>>> notice: [python-cfg] Configuring python...
>>> notice: [python-cfg] user-specified version: "2.7"
>>> notice: [python-cfg] user-specified includes: "/usr/include/python2.7"
>>> notice: [python-cfg] user-specified libraries:
>>> "/usr/lib/x86_64-linux-gnu"
>>> notice: [python-cfg] Checking interpreter command "python2.7"...
>>> notice: [python-cfg] running command 'python2.7 -c "from sys import *;
>>> print('version=%d.%d\nplatform=%s\nprefix=%s\nexe
>>> c_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: "python2.7"
>>> notice: [python-cfg] include path: "/usr/include/python2.7"
>>> notice: [python-cfg] library path: "/usr/lib/x86_64-linux-gnu"
>>> notice: [python-cfg] Checking for NumPy...
>>> notice: [python-cfg] running command 'python2.7 -c "import sys;
>>> sys.stderr = sys.stdout; import numpy; print(numpy.get_i
>>> nclude())"'
>>> notice: [python-cfg] NumPy disabled. Reason:
>>> notice: [python-cfg] python2.7 -c "import sys; sys.stderr = sys.stdout;
>>> import numpy; print(numpy.get_include())" abor
>>> ted with
>>> notice: [python-cfg] Traceback (most recent call last):
>>> File "<string>", line 1, in <module>
>>> ImportError: No module named numpy
>>> notice: [python-cfg] Configuring python...
>>> notice: [python-cfg] user-specified version: "3.4"
>>> notice: [python-cfg] user-specified includes: "/usr/include/python3.4"
>>> notice: [python-cfg] user-specified libraries:
>>> "/usr/lib/x86_64-linux-gnu"
>>> notice: [python-cfg] Checking interpreter command "python3.4"...
>>> notice: [python-cfg] running command 'python3.4 -c "from sys import *;
>>> print('version=%d.%d\nplatform=%s\nprefix=%s\nexe
>>> c_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: "python3.4"
>>> notice: [python-cfg] include path: "/usr/include/python3.4"
>>> notice: [python-cfg] library path: "/usr/lib/x86_64-linux-gnu"
>>> notice: [python-cfg] Checking for NumPy...
>>> notice: [python-cfg] running command 'python3.4 -c "import sys;
>>> sys.stderr = sys.stdout; import numpy; print(numpy.get_i
>>> nclude())"'
>>> notice: [python-cfg] ...requested configuration matched!
>>> notice: [python-cfg] Details of this Python configuration:
>>> notice: [python-cfg] interpreter command: "python3.4"
>>> notice: [python-cfg] include path: "/usr/include/python3.4"
>>> notice: [python-cfg] library path: "/usr/lib/x86_64-linux-gnu"
>>> notice: [python-cfg] Checking for NumPy...
>>> notice: [python-cfg] running command 'python3.4 -c "import sys;
>>> sys.stderr = sys.stdout; import numpy; print(numpy.get_i
>>> nclude())"'
>>> notice: [python-cfg] NumPy disabled. Reason:
>>> notice: [python-cfg] python3.4 -c "import sys; sys.stderr = sys.stdout;
>>> import numpy; print(numpy.get_include())" abor
>>> ted with
>>> notice: [python-cfg] Traceback (most recent call last):
>>> File "<string>", line 1, in <module>
>>> ImportError: No module named 'numpy'
>>> notice: [zlib] Using pre-installed library
>>> notice: [zlib] Condition
>>> notice: [bzip2] Using pre-installed library
>>> notice: [bzip2] Condition
>>> Performing configuration checks
>>>
>>
>> That very helpful :-)
>>
>>
>>> - 32-bit : no
>>> - 64-bit : yes
>>> - arm : no
>>> - mips1 : no
>>> - power : no
>>> - sparc : no
>>> - x86 : yes
>>> - symlinks supported : yes
>>> ...found 1067 targets...
>>> # Starting tests ("/var/boost/run/boost_bb/src/engine/bin.linuxx86_64/b2"
>>> "-sBOOST_BUILD_PATH=/var/boost/run:/var/boost/
>>> run/boost_bb/src" "-sBOOST_ROOT=/var/boost/run/boost_root"
>>> "--boost=/var/boost/run/boost_root" "--boost-root=/var/boost/
>>> run/boost_root" "--boost-build=/var/boost/run/boost_bb/src"
>>> "--debug-configuration" -l300 toolset=gcc-6~c++1z -d2 prese
>>> rve-test-targets=off --dump-tests -j8 address-model=64
>>> --remove-test-targets -m64 "--build-dir=/var/boost/run/results" >
>>>> "/var/boost/run/results/bjam.log" 2>&1)...
>>> # Running Boost.Build tests
>>> Traceback (most recent call last):
>>> File "run.py", line 71, in <module>
>>> runner(root)
>>> File "/var/boost/run/boost_regression_src/regression.py", line 287, in
>>> __init__
>>> self.main()
>>> File "/var/boost/run/boost_regression_src/regression.py", line 624, in
>>> main
>>> getattr(self,action_m)()
>>> File "/var/boost/run/boost_regression_src/regression.py", line 589, in
>>> command_regression
>>> self.command_test()
>>> File "/var/boost/run/boost_regression_src/regression.py", line 368, in
>>> command_test
>>> self.command_test_boost_build()
>>> File "/var/boost/run/boost_regression_src/regression.py", line 410, in
>>> command_test_boost_build
>>> "boost/bin.v2/libs/any/test/any_test.test"));
>>> OSError: [Errno 2] No such file or directory:
>>> '/var/boost/run/results/boost/bin.v2/libs/any/test/any_test.test'
>>>
>>
>> Interesting.. But unrelated AFAIK. The b2 tests rely on that any_test for
>> a sanity check. So perhaps the test is gone and we need to use some other
>> sanity check test.
>>
>> While the end of the results/bjam.log is:
>>> error: Unable to find file or target named
>>> error: '/boost/python//boost_numpy'
>>> error: referred to from project at
>>> error: '../libs/python/test'
>>>
>>> Hope that helps,
>>>
>>
>> It does help. It's fixed now, as that target should always exist.
>>
>
> Things seem to be running again, thanks!
>
> I'll put adding numpy to some of my runners on my task list.
>
> Tom
On my side, nothing is working anymore: superproject revision
969fda57bb60b565fb9664ab8543d8b72268d561.
Previous superprokect commit 6af98f38ae0b851b49e25d17936d2256ea88d35d
was working fine.
The error is
06-Mar-2017 14:37:10
D:\bamboo_build_dir\SW-BCB108-VC2015WIN\library>call bootstrap.bat
06-Mar-2017 14:37:10 Building Boost.Build engine
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 Bootstrapping is done. To build, run:
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 .\b2
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 To adjust configuration, edit 'project-config.jam'.
06-Mar-2017 14:37:59 Further information:
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 - Command line help:
06-Mar-2017 14:37:59 .\b2 --help
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 - Getting started guide:
06-Mar-2017 14:37:59 http://boost.org/more/getting_started/windows.html
06-Mar-2017 14:37:59
06-Mar-2017 14:37:59 - Boost.Build documentation:
06-Mar-2017 14:37:59 http://www.boost.org/build/doc/html/index.html
06-Mar-2017 14:38:02 libs\python\build\Jamfile:179: in modules.load
06-Mar-2017 14:38:02 *** argument error
06-Mar-2017 14:38:02 * rule lib_boost_numpy ( version )
06-Mar-2017 14:38:02 * called with: ( )
06-Mar-2017 14:38:02 * missing argument version
06-Mar-2017 14:38:02 libs\python\build\Jamfile:132:see definition of
rule 'lib_boost_numpy' being called
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src/build\project.jam:325:
in load-jamfile
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src/build\project.jam:64:
in load
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src/build\project.jam:89:
in load-used-projects
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src/build\project.jam:75:
in load
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src/build\project.jam:145:
in project.find
06-Mar-2017 14:38:02
D:/bamboo_build_dir/SW-BCB108-VC2015WIN/library/tools/build/src\build-system.jam:535:
in load
06-Mar-2017 14:38:02
D:\bamboo_build_dir\SW-BCB108-VC2015WIN\library\tools\build\src/kernel\modules.jam:295:
in import
06-Mar-2017 14:38:02
D:\bamboo_build_dir\SW-BCB108-VC2015WIN\library\tools\build\src/kernel/bootstrap.jam:139:
in boost-build
06-Mar-2017 14:38:02
D:\bamboo_build_dir\SW-BCB108-VC2015WIN\library\boost-build.jam:17: in
module scope
Problems on all platforms I am testing: Win7/VS2008,2012,2013,2015 ;
OSX/10.10/clang6, Ubuntu 14.04/gcc4.8.2
Thanks,
Raffi
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk