Hello,

I was trying to build a package but encountered an error while building
`binutils-2.26-GCCcore-5.4.0.eb`:

~~~
== FAILED: Installation ended unsuccessfully (build directory: 
/home/user/tools/easybuild/build/M4/1.4.17/GCCcore-5.4.0): build failed (first 
300 chars): get_software_root software root for binutils was not found in 
environment
== Results of the build can be found in the log file(s) 
/tmp/eb-oIb4DL/easybuild-M4-1.4.17-20170929.103852.tDgnB.log
ERROR: Build of 
/home/user/tools/easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/easybuild_easyconfigs-3.4.0-py2.7.egg/easybuild/easyconfigs/m/M4/M4-1.4.17-GCCcore-5.4.0.eb
 failed (err: 'build failed (first 300 chars): get_software_root software root 
for binutils was not found in environment')
~~~

The relevant lines in the log file are:

~~~
== 2017-09-29 10:38:58,701 compiler.py:321 INFO _set_optimal_architecture: 
using march=native as optarch for x86_64.
== 2017-09-29 10:38:58,968 build_log.py:157 ERROR EasyBuild crashed with an 
error (at 
easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/vsc_base-2.5.8-py2.7.egg/vsc/utils/exceptions.py:124
 in __init__): get_software_root software root for binutils was not found in 
environment (at 
easybuild/software/EasyBuild/3.4.0/lib/python2.7/site-packages/easybuild_framework-3.4.0-py2.7.egg/easybuild/tools/toolchain/toolchain.py:278
 in _get_software_root)
== 2017-09-29 10:38:58,968 easyblock.py:2650 WARNING build failed (first 300 
chars): get_software_root software root for binutils was not found in 
environment
== 2017-09-29 10:38:58,968 easyblock.py:287 INFO Closing log for application 
name M4 version 1.4.17
~~~

Could someone please provide some ideas what might have gone wrong? Thanks very
much!

Regards,

Roc

Reply via email to