Hi Jonathan,

This is a a bit odd. Could you check what the following returns?

eb --show-full-config |grep -E '(umask|writable|read-only)'

Also, what does “umask” return for the user running EasyBuild? I do recall 
something like this cropping up before, and it is usually  related to having 
set read-only-installdir, a weird umask crop up, or a filesystem not being 
friendly. Does the same happen if you build to a local disk on /tmp or similar?

On 26 Apr 2021, at 19:26, Jonathan Le Roy Sievers, Prof 
<[email protected]<mailto:[email protected]>> wrote:

Dear all, I'm new to EasyBuild and am wondering if anyone can help me out.  I'm 
trying to build the foss tools on an Ivy Bridge cluster, and it fails due to 
permission issues when trying to install MPC.  The relevant errors look like:

== 2021-04-26 04:54:50,182 build_log.py:169 ERROR EasyBuild crashed with an 
error (at easybuild/base/exceptions.py:124 in __init__): Failed to copy src 
/apps/foss2020b/build/GCCcore/10.2.0/system-system/mpc-1.1.0 to dst 
/apps/foss2020b/build/GCCcore/10.2.0/system-system/gcc-10.2.0/mpc

The target directory looks like:
[sievers@h50 ~]$ ls -l 
/apps/foss2020b/build/GCCcore/10.2.0/system-system/gcc-10.2.0/mpc/
total 748
-rw-r--r-- 1 sievers software  46106 Jan 11  2018 aclocal.m4
-r-xr-xr-x 1 sievers software   5825 Jan 12  2016 ar-lib
-rw-r--r-- 1 sievers software    128 Nov  4  2014 AUTHORS
-rw-r--r-- 1 sievers software      0 Nov  4  2014 ChangeLog
-r-xr-xr-x 1 sievers software   7332 Jan 12  2016 compile
-r-xr-xr-x 1 sievers software  42937 Jan 12  2016 config.guess
-rw-r--r-- 1 sievers software   3309 Jan 12  2016 config.h.in
-r-xr-xr-x 1 sievers software  35986 Jan 12  2016 config.sub
-rwxr-xr-x 1 sievers software 495387 Jan 11  2018 configure
-rw-r--r-- 1 sievers software   8541 Jan 11  2018 configure.ac
-rw-r--r-- 1 sievers software   7651 Nov  4  2014 COPYING.LESSER
-r-xr-xr-x 1 sievers software  23565 Jan 12  2016 depcomp
drwxr-sr-x 2 sievers software  11776 Jan 11  2018 doc
-rw-r--r-- 1 sievers software   3356 Jan 11  2018 INSTALL
-r-xr-xr-x 1 sievers software  14675 Jan 12  2016 install-sh
-r--r--r-- 1 sievers software 324143 Jan 12  2016 ltmain.sh
drwxr-sr-x 2 sievers software  12800 Jan 11  2018 m4
-rw-r--r-- 1 sievers software   1192 Dec 12  2017 Makefile.am
-rw-r--r-- 1 sievers software  28389 Jan 11  2018 Makefile.in
-rw-r--r-- 1 sievers software  16018 Jan 11  2018 Makefile.vc
-r-xr-xr-x 1 sievers software   6871 Jan 12  2016 missing
-rw-r--r-- 1 sievers software   7240 Dec 12  2017 NEWS
-rw-r--r-- 1 sievers software    482 Nov  4  2014 README
drwxr-sr-x 2 sievers software  16896 Jan 11  2018 src
-r-xr-xr-x 1 sievers software   4639 Jan 12  2016 test-driver
drwxr-sr-x 2 sievers software  29184 Jan 11  2018 tests
-rw-r--r-- 1 sievers software   3996 Jul 22  2016 TODO
drwxr-sr-x 3 sievers software  11776 Jan 11  2018 tools


So there seem to be a bunch of files that are not user-writeable that EasyBuild 
is trying to copy on top of.  I started with a clean directory, so this is all 
stuff that EasyBuild has made and is then trying to copy over.  This happens 
with lots of versions of foss, (2020a,b, 2019b), always with MPC (but bison, 
flex, m4 all make successfully before this failure).    I did try chmodding 
everything before reinstalling, but that didn't help, and I've been unable to 
find any solutions online.  The full log is attached.  Any suggestions would be 
most welcome!

Thanks,

Jon
<easybuild-GCCcore-10.2.0-20210426.044926.Nhknd.log>


--
Terje Kvernes
Head sysadmin
Department of Mathematics
University of Oslo




Reply via email to