A system C and C++ compiler is documented as a required dependency of EasyBuild if you are to install toolchains with it:
https://easybuild.readthedocs.io/en/latest/Installation.html#required-dependencies As such, I would argue that it's not worth declaring it up-front in osdependencies in all software that needs a system compiler, particularly as the package will be named differently on different distros. // Lars ________________________________________ From: easybuild-requ...@lists.ugent.be <easybuild-requ...@lists.ugent.be> on behalf of Ole Holm Nielsen <ole.h.niel...@fysik.dtu.dk> Sent: Friday, February 22, 2019 09:11 To: easybuild@lists.ugent.be Subject: Re: [easybuild] Building foss-2019a fails in binutils-2.31.1.eb (Skylake node) Hi Olivier, On 2/20/19 10:18 PM, Olivier Mattelaer wrote: > I actually face the same issue. > > The actual error message is this one: > > configure: error: in > `/usr/local/Software/build/lm3-w091/binutils/2.31.1/dummy-/binutils-2.31.1/gold': > configure: error: C++ preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details > yes > checking whether compiling a cross-assembler... no > checking for size_t... checking locale.h usability... make[1]: *** > [configure-gold] Error 1 > make[1]: *** Waiting for unfinished jobs.... > > > I guess that doing: "yum install gcc-c++" would solve the issue. > But I have not tested yet. But does it make sense to do that? Your suggestion fixed the problem with binutils: yum install gcc-c++ Now it build correctly, and the foss-2019a build process is continuing. What's the root cause of this issue? I'm guessing that the EB file .../EasyBuild/3.8.1/lib/python2.7/site-packages/easybuild_easyconfigs-3.8.1-py2.7.egg/easybuild/easyconfigs/b/binutils/binutils-2.31.1.eb must include gcc-c++ as an osdependencies package. If this guess is correct, I could open an issue. Thanks, Ole