Hi all, On develop, I have the following error for gcc/linux and clang/osx: 01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp numpy/ndarray.cpp numpy/numpy.cpp numpy/scalars.cpp numpy/ufunc.cpp : <link>static:<define>BOOST_NUMPY_STATIC_LIB <define>BOOST_NUMPY_SOURCE <library>/python//python_for_extensions <include>/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include <library>boost_python <python-debugging>on:<define>BOOST_DEBUG_PYTHON <python>2.7 -<tag>@Jamfile%Jamfile.tag <tag>@Jamfile%Jamfile.python-tag <conditional>@python.require-py : <link>shared : <link>static:<define>BOOST_NUMPY_STATIC_LIB <python-debugging>on:<define>BOOST_DEBUG_PYTHON ) 01-Mar-2017 23:58:05 * missing argument names 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/tools/builtin.jam:506:see definition of rule 'lib' being called 01-Mar-2017 23:58:05 libs/python/build/Jamfile:168: in modules.load 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build/project.jam:325: in load-jamfile 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build/project.jam:64: in load 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build/project.jam:89: in load-used-projects 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build/project.jam:75: in load 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build/project.jam:145: in project.find 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/build-system.jam:535: in load 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/kernel/modules.jam:295: in import 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/tools/build/src/kernel/bootstrap.jam:139: in boost-build 01-Mar-2017 23:58:05 /Users/bambooagent/bamboo-agent-home/xml-data/build-dir/SW-BCB108-O1C/library/boost-build.jam:17: in module scope 01-Mar-2017 23:58:05 Failing task since return code of [/bin/sh /Users/bambooagent/bamboo-agent-home/temp/SW-BCB108-O1C-3-ScriptBuildTask-4580193904098485274.sh] was 1 while expected 0 Best, Raffi
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam? -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens on a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
On Thu, Mar 2, 2017 at 9:22 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens on a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
OK.. Which means that the version number for whatever python it picks up is undetermined and blank. I'll have to figure out why that is. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Hi Rene, many thanks for looking into this ! On 02.03.2017 10:25, Rene Rivera via Boost wrote:
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
[...]
OK.. Which means that the version number for whatever python it picks up is undetermined and blank. I'll have to figure out why that is.
It would also be very useful to improve the error reporting. It isn't obvious at all from the "argument error" to conclude that a variable ("version") that was supposed to be defined, actually isn't. Thanks, Stefan -- ...ich hab' noch einen Koffer in Berlin...
Le 02/03/2017 à 16:25, Rene Rivera via Boost a écrit :
On Thu, Mar 2, 2017 at 9:22 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens on a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
OK.. Which means that the version number for whatever python it picks up is undetermined and blank. I'll have to figure out why that is.
FYI: the Linux/OSX machines have the apt/OS python installed, and python3.4.
On Thu, Mar 2, 2017 at 9:52 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:25, Rene Rivera via Boost a écrit :
On Thu, Mar 2, 2017 at 9:22 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost <
boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens on a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
OK.. Which means that the version number for whatever python it picks up is undetermined and blank. I'll have to figure out why that is.
FYI: the Linux/OSX machines have the apt/OS python installed, and python3.4.
OK.. It turns out to have been a simple forgetting of some parens. Note that bootstrap generates a project-config.jam file. So you do have one. You just don't see what it is :-) But it does print out in the CI logs what it detects as far as Python is concerned. Anyway.. It's fixed. And will be reflected whenever stuff updates to latest develop. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
On Thu, Mar 2, 2017 at 9:59 PM, Rene Rivera via Boost wrote: On Thu, Mar 2, 2017 at 9:52 AM, Raffi Enficiaud via Boost <
boost@lists.boost.org> wrote: Le 02/03/2017 à 16:25, Rene Rivera via Boost a écrit : On Thu, Mar 2, 2017 at 9:22 AM, Raffi Enficiaud via Boost <
boost@lists.boost.org> wrote: Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit : On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote: Hi all, On develop, I have the following error for gcc/linux and clang/osx: 01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in
lib_boost_numpy
01-Mar-2017 23:58:05 *** argument error
01-Mar-2017 23:58:05 * rule lib ( names + : sources * :
requirements *
: default-build * : usage-requirements * )
01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp
numpy/matrix.cpp How are you configuring python in your user-config.jam? I am not touching anything about user-config.jam: the failure happens on a
build machine (specific build user, supposedly clean). If there is a
user-config.jam, then I do not know how it landed there :) OK.. Which means that the version number for whatever python it picks up
is
undetermined and blank. I'll have to figure out why that is. FYI: the Linux/OSX machines have the apt/OS python installed, and
python3.4. OK.. It turns out to have been a simple forgetting of some parens. Note
that bootstrap generates a project-config.jam file. So you do have one. You
just don't see what it is :-) But it does print out in the CI logs what it
detects as far as Python is concerned. Anyway.. It's fixed. And will be
reflected whenever stuff updates to latest develop. I think this is related, but not sure...all the regression runs I start
(Linux + Windows) are currently failing with:
boost-test(COMPILE) "python/select_holder" :
"libs/python/test/select_holder.cpp"
boost-test(RUN) "python/select_from_python_test" :
"libs/python/test/select_from_python_test.cpp" "libs/python/src/conve
rter/type_id.cpp"
boost-test(COMPILE) "python/select_arg_to_python_test" :
"libs/python/test/select_arg_to_python_test.cpp"
boost-test(COMPILE_FAIL) "python/raw_pyobject_fail1" :
"libs/python/test/raw_pyobject_fail1.cpp"
boost-test(COMPILE_FAIL) "python/raw_pyobject_fail2" :
"libs/python/test/raw_pyobject_fail2.cpp"
boost-test(COMPILE_FAIL) "python/as_to_python_function" :
"libs/python/test/as_to_python_function.cpp"
boost-test(COMPILE_FAIL) "python/object_fail1" :
"libs/python/test/object_fail1.cpp"
error: at /var/boost/run/boost_bb/src/kernel/modules.jam:107
error: Unable to find file or target named
error: '/boost/python//boost_numpy'
error: referred to from project at
error: '../libs/python/test'
at the end of the results/bjam.log file. This was causing develop to fail
for awhile, and now appears to have migrated to master as well.
Tom
On Sun, Mar 5, 2017 at 6:49 AM, Tom Kent via Boost
On Thu, Mar 2, 2017 at 9:59 PM, Rene Rivera via Boost < boost@lists.boost.org
wrote:
On Thu, Mar 2, 2017 at 9:52 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:25, Rene Rivera via Boost a écrit :
On Thu, Mar 2, 2017 at 9:22 AM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost <
boost@lists.boost.org> wrote:
Hi all,
> > On develop, I have the following error for gcc/linux and clang/osx: > > 01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in > lib_boost_numpy > 01-Mar-2017 23:58:05 *** argument error > 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : > requirements * > : default-build * : usage-requirements * ) > 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp > numpy/matrix.cpp > >
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens
on
a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
OK.. Which means that the version number for whatever python it picks up is undetermined and blank. I'll have to figure out why that is.
FYI: the Linux/OSX machines have the apt/OS python installed, and python3.4.
OK.. It turns out to have been a simple forgetting of some parens. Note that bootstrap generates a project-config.jam file. So you do have one. You just don't see what it is :-) But it does print out in the CI logs what it detects as far as Python is concerned. Anyway.. It's fixed. And will be reflected whenever stuff updates to latest develop.
I think this is related, but not sure...all the regression runs I start (Linux + Windows) are currently failing with:
boost-test(COMPILE) "python/select_holder" : "libs/python/test/select_holder.cpp" boost-test(RUN) "python/select_from_python_test" : "libs/python/test/select_from_python_test.cpp" "libs/python/src/conve rter/type_id.cpp" boost-test(COMPILE) "python/select_arg_to_python_test" : "libs/python/test/select_arg_to_python_test.cpp" boost-test(COMPILE_FAIL) "python/raw_pyobject_fail1" : "libs/python/test/raw_pyobject_fail1.cpp" boost-test(COMPILE_FAIL) "python/raw_pyobject_fail2" : "libs/python/test/raw_pyobject_fail2.cpp" boost-test(COMPILE_FAIL) "python/as_to_python_function" : "libs/python/test/as_to_python_function.cpp" boost-test(COMPILE_FAIL) "python/object_fail1" : "libs/python/test/object_fail1.cpp" error: at /var/boost/run/boost_bb/src/kernel/modules.jam:107 error: Unable to find file or target named error: '/boost/python//boost_numpy' error: referred to from project at error: '../libs/python/test'
at the end of the results/bjam.log file. This was causing develop to fail for awhile, and now appears to have migrated to master as well.
OK, I'm almost certain I fixed both develop and master for this now. Thanks for reporting it. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail
Raffi Enficiaud Via Boost wrote:
Le 02/03/2017 à 16:20, Rene Rivera via Boost a écrit :
On Wed, Mar 1, 2017 at 5:23 PM, Raffi Enficiaud via Boost < boost@lists.boost.org> wrote:
Hi all,
On develop, I have the following error for gcc/linux and clang/osx:
01-Mar-2017 23:58:05 libs/python/build/Jamfile:155: in lib_boost_numpy 01-Mar-2017 23:58:05 *** argument error 01-Mar-2017 23:58:05 * rule lib ( names + : sources * : requirements * : default-build * : usage-requirements * ) 01-Mar-2017 23:58:05 * called with: ( : numpy/dtype.cpp numpy/matrix.cpp
How are you configuring python in your user-config.jam?
I am not touching anything about user-config.jam: the failure happens on a build machine (specific build user, supposedly clean). If there is a user-config.jam, then I do not know how it landed there :)
FYI, the same thing started to happen for Boost.Geometry at CircleCI (clean Boost develop, no user-config.jam). See e.g.: https://circleci.com/gh/boostorg/geometry/155 Adam
participants (5)
-
Adam Wulkiewicz
-
Raffi Enficiaud
-
Rene Rivera
-
Stefan Seefeld
-
Tom Kent