On 2/20/20 2:32 AM, Hongyi Zhao wrote:
> Alan O'Cais <[email protected]> 于2020年2月19日周三 下午9:47写道:
>>
>> Hi Hongsheng,
>>
>> Judging by your other emails to the list you got past this issue. For the 
>> sake of closing the thread, can you tell us what the problem was?
> 
> 
> No, I cannot solve any of these issues.  All of them failed on my
> Ubuntu 19.10 box.
> 
> $ eb foss-2018a.eb -r
> == temporary log file in case of crash /tmp/eb-gtS6Nl/easybuild-RM1mH4.log
> == resolving dependencies ...
> == processing EasyBuild easyconfig
> /home/werner/Public/EasyBuild-modules/EasyBuild/EasyBuild-develop/easybuild-easyconfigs/easybuild/easyconfigs/g/GCCcore/GCCcore-6.4.0.eb
> == building and installing GCCcore/6.4.0...
> == fetching files...
> == creating build dir, resetting environment...
> == unpacking...
> == patching...
> == preparing...
> == configuring...
> == FAILED: Installation ended unsuccessfully (build directory:
> /home/werner/.local/easybuild/build/GCCcore/6.4.0/system-system):
> build failed (first 300 chars): cmd " ../configure
> --enable-languages=c,c++,fortran --enable-lto
> --enable-checking=release  --disable-multilib --enable-shared=yes
> --enable-static=yes  --enable-threads=posix  --enable-plugins
> --enable-gold=default --enable-ld --with-plugin-ld=ld.gold
> --disable-bootstrap --prefix=/home/werner/.l (took 11 sec)
> == Results of the build can be found in the log file(s)
> /tmp/eb-gtS6Nl/easybuild-GCCcore-6.4.0-20200220.092807.qvlhj.log
> ERROR: Build of
> /home/werner/Public/EasyBuild-modules/EasyBuild/EasyBuild-develop/easybuild-easyconfigs/easybuild/easyconfigs/g/GCCcore/GCCcore-6.4.0.eb
> failed (err: 'build failed (first 300 chars): cmd " ../configure
> --enable-languages=c,c++,fortran --enable-lto
> --enable-checking=release  --disable-multilib --enable-shared=yes
> --enable-static=yes  --enable-threads=posix  --enable-plugins
> --enable-gold=default --enable-ld --with-plugin-ld=ld.gold
> --disable-bootstrap --prefix=/home/werner/.l')

A quick guess here, since it is GCCcore 6.4.0 that fails and the build
system is Ubuntu 19.10 which have a newer system gcc and corresponding
binutils, is that the problem is the binutils version and possibly the
sys/ustat.h problem.

So step one:
take a copy of the above GCCcore-6.4.0.eb file and change the
('binutils', '2.28'),
line to
('binutils', '2.31.1'),

And just do
eb GCCcore-6.4.0.eb -r

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to