Hi,

If g++ is missing, the following

   eb binutils-2.39.eb --parallel=64 --robot --force

fails:

  WARNING: 'g++' command not found in $PATH, not setting $CXX in minimal build 
environment
  ...
  make: *** [all] Error 2
   (at 
easybuild/software/EasyBuild/4.6.2/lib/python3.6/site-packages/easybuild/tools/run.py:641
 in parse_cmd_output)
  == 2022-11-30 16:16:37,814 build_log.py:265 INFO ... (took 18 secs)
  == 2022-11-30 16:16:37,815 filetools.py:2014 INFO Removing lock 
/trinity/shared/easybuild/software/arch/amd/zen3/software/.locks/_trinity_shared_easybuild_software_arch_amd_zen3_software_binutils_2.39.lock...
  == 2022-11-30 16:16:37,816 filetools.py:382 INFO Path 
/trinity/shared/easybuild/software/arch/amd/zen3/software/.locks/_trinity_shared_easybuild_software_arch_amd_zen3_software_binutils_2.39.lock
 successfully
   removed.
  == 2022-11-30 16:16:37,816 filetools.py:2018 INFO Lock removed: 
/trinity/shared/easybuild/software/arch/amd/zen3/software/.locks/_trinity_shared_easybuild_software_arch_amd_zen3_software_binutils_2.39.lock
  == 2022-11-30 16:16:37,816 easyblock.py:4097 WARNING build failed (first 300 
chars): cmd " make  -j 64 MAKEINFO=true CFLAGS="-g -O2 -fPIC" " exited with 
exit code 2 and output:
  make[1]: Entering directory 
`/trinity/shared/easybuild/build/binutils/2.39/system-system/binutils-2.39'
  make[1]: Nothing to be done for `all-target'.

$CXX not being set seems to mess up the whitespace in the Makefile,
causing the build to fail.

Cheers,

Loris

-- 
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin

Reply via email to