Open up binutils .eb file and look for dependencies and make sure you have 
compiled “ready modules” for such dependencies (i.e. GCCcore-5.4)

-----------------------------------
Umit D. Sami
HPC Apps & Systems (ERIS)
w: http://www.partners.org 


On 9/29/17, 12:27 PM, "easybuild-requ...@lists.ugent.be on behalf of 
rocwh...@list.ru" <easybuild-requ...@lists.ugent.be on behalf of 
rocwh...@list.ru> wrote:

    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
    



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to