Quantcast

Linux Builds Failing with Python

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Linux Builds Failing with Python

Tom Kent
So my linux builds generally have a user-config.jam (on Ubuntu 14.04) like:

using gcc : 5 : g++-5 : ; # Default is same as 5~c++98
using gcc : 5~c++98 : g++-5 : <cxxflags>-std=c++98 ;
using gcc : 5~gnu98 : g++-5 : <cxxflags>-std=gnu++98 ;
using gcc : 5~c++11 : g++-5 : <cxxflags>-std=c++11 ;
using gcc : 5~gnu11 : g++-5 : <cxxflags>-std=gnu++11 ;
using gcc : 5~c++14 : g++-5 : <cxxflags>-std=c++14 ;
using gcc : 5~gnu14 : g++-5 : <cxxflags>-std=gnu++14 ;
using gcc : 5~c++1z : g++-5 : <cxxflags>-std=c++1z ;
using gcc : 5~gnu1z : g++-5 : <cxxflags>-std=gnu++1z ;
using gcc : 5~c++1z~O2 : g++-5 : <cxxflags>-std=c++1z -O2 ;
using gcc : 5~c++1z~warn : g++-5 : <cxxflags>-std=c++1z -Wall -Wextra ;


using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python 
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;



In the last few days, all of my builds have been failing, with b2 complaining at the end:

notice: using gcc ranlib :: <toolset>gcc-5~c++1z~warn :: /usr/bin/ranlib
warning: toolset gcc initialization: can not find tool windres
warning: initialized from /home/boost/user-config.jam:11
notice: using rc compiler :: <toolset>gcc-5~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] 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: [zlib] Using pre-installed library
notice: [zlib] Condition
notice: iostreams: using prebuilt bzip2
/var/boost/run/boost_bb/src/build/feature.jam:782: in expand-composites from module feature
error: explicitly-specified values of non-free feature <python> conflict
error: existing values: 2.7 3.4
error: value from expanding  <python>3.4 : 3.4
/var/boost/run/boost_bb/src/build/feature.jam:867: in feature.expand from module feature
/var/boost/run/boost_bb/src/build/targets.jam:1070: in evaluate-requirements from module targets
/var/boost/run/boost_bb/src/build/targets.jam:1112: in common-properties2 from module targets
/var/boost/run/boost_bb/src/build/targets.jam:977: in targets.common-properties from module targets
/var/boost/run/boost_bb/src/build/targets.jam:1303: in [hidden email] from module object(alias-target-class
)@2066
/var/boost/run/boost_bb/src/build/targets.jam:774: in generate-really from module object(main-target)@2075
/var/boost/run/boost_bb/src/build/targets.jam:746: in [hidden email] from module object(main-target)@2075
/var/boost/run/boost_bb/src/build-system.jam:714: in load from module build-system
/var/boost/run/boost_bb/src/kernel/modules.jam:295: in import from module modules
/var/boost/run/boost_bb/src/kernel/bootstrap.jam:139: in boost-build from module
/var/boost/run/boost_regression/boost-build.jam:57: in module scope from module
# Searching for "process_jam_log" in "/var/boost/run/boost_regression/stage/bin"...
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 581, in command_regression
    self.command_setup()
  File "/var/boost/run/boost_regression_src/regression.py", line 352, in command_setup
    self.build_if_needed(self.process_jam_log,self.pjl_toolset)
  File "/var/boost/run/boost_regression_src/regression.py", line 715, in build_if_needed
    tool[ 'build_path' ] = self.tool_path( tool )
  File "/var/boost/run/boost_regression_src/regression.py", line 740, in tool_path
    , '\n'.join( [ name_or_spec[ 'path' ], build_dir ] )
Exception: Cannot find "process_jam_log" in any of the following locations:
/var/boost/run/boost_regression/stage/bin/process_jam_log
/var/boost/run/boost_regression/stage/bin


Any thoughts what might be causing this new error? 
Tom

_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Boost-build] Linux Builds Failing with Python

Rene Rivera-2
On Fri, Jul 22, 2016 at 8:25 PM, Tom Kent <[hidden email]> wrote:
So my linux builds generally have a user-config.jam (on Ubuntu 14.04) like:

[...]

using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python 
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;



In the last few days, all of my builds have been failing, with b2 complaining at the end:
[...] 
/var/boost/run/boost_bb/src/build/feature.jam:782: in expand-composites from module feature
error: explicitly-specified values of non-free feature <python> conflict
error: existing values: 2.7 3.4
error: value from expanding  <python>3.4 : 3.4
/var/boost/run/boost_bb/src/build/feature.jam:867: in feature.expand from module feature
/var/boost/run/boost_bb/src/build/targets.jam:1070: in evaluate-requirements from module targets
/var/boost/run/boost_bb/src/build/targets.jam:1112: in common-properties2 from module targets
/var/boost/run/boost_bb/src/build/targets.jam:977: in targets.common-properties from module targets
/var/boost/run/boost_bb/src/build/targets.jam:1303: in [hidden email] from module object(alias-target-class
)@2066
/var/boost/run/boost_bb/src/build/targets.jam:774: in generate-really from module object(main-target)@2075
/var/boost/run/boost_bb/src/build/targets.jam:746: in [hidden email] from module object(main-target)@2075
/var/boost/run/boost_bb/src/build-system.jam:714: in load from module build-system
/var/boost/run/boost_bb/src/kernel/modules.jam:295: in import from module modules
/var/boost/run/boost_bb/src/kernel/bootstrap.jam:139: in boost-build from module
/var/boost/run/boost_regression/boost-build.jam:57: in module scope from module
# Searching for "process_jam_log" in "/var/boost/run/boost_regression/stage/bin"...
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 581, in command_regression
    self.command_setup()
  File "/var/boost/run/boost_regression_src/regression.py", line 352, in command_setup
    self.build_if_needed(self.process_jam_log,self.pjl_toolset)
  File "/var/boost/run/boost_regression_src/regression.py", line 715, in build_if_needed
    tool[ 'build_path' ] = self.tool_path( tool )
  File "/var/boost/run/boost_regression_src/regression.py", line 740, in tool_path
    , '\n'.join( [ name_or_spec[ 'path' ], build_dir ] )
Exception: Cannot find "process_jam_log" in any of the following locations:
/var/boost/run/boost_regression/stage/bin/process_jam_log
/var/boost/run/boost_regression/stage/bin


Any thoughts what might be causing this new error? 

I know why it's happening, i.e. it's my fault :-) But I couldn't come up with quick fix. I.e. I'm working on it. But since I'm traveling all of tomorrow (12 hours of travel) I won't get to fixing this until most likely Monday.


--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Boost-build] Linux Builds Failing with Python

Rene Rivera-2
On Fri, Jul 22, 2016 at 10:55 PM, Rene Rivera <[hidden email]> wrote:
On Fri, Jul 22, 2016 at 8:25 PM, Tom Kent <[hidden email]> wrote:
So my linux builds generally have a user-config.jam (on Ubuntu 14.04) like:

Any thoughts what might be causing this new error? 

I know why it's happening, i.e. it's my fault :-) But I couldn't come up with quick fix. I.e. I'm working on it. But since I'm traveling all of tomorrow (12 hours of travel) I won't get to fixing this until most likely Monday.

Got lucky.. And fixed it while offline in the airplane. So once at the airport for my next flight checked in the fix. Please verify it's OK on your setup.


--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Boost-build] Linux Builds Failing with Python

Tom Kent


On Sat, Jul 23, 2016 at 12:48 PM, Rene Rivera <[hidden email]> wrote:
On Fri, Jul 22, 2016 at 10:55 PM, Rene Rivera <[hidden email]> wrote:
On Fri, Jul 22, 2016 at 8:25 PM, Tom Kent <[hidden email]> wrote:
So my linux builds generally have a user-config.jam (on Ubuntu 14.04) like:

Any thoughts what might be causing this new error? 

I know why it's happening, i.e. it's my fault :-) But I couldn't come up with quick fix. I.e. I'm working on it. But since I'm traveling all of tomorrow (12 hours of travel) I won't get to fixing this until most likely Monday.

Got lucky.. And fixed it while offline in the airplane. So once at the airport for my next flight checked in the fix. Please verify it's OK on your setup.

Seems to have fixed it, thanks.
Tom 

_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
Loading...