Hello all,

We are trying to build spglib-1.7.4-intel-2015b.eb using “eb 
—try-software-version=1.7.3 spglib-1.7.3-intel-2015b.eb”. The only change is 
the version number, but when trying to build it fails with:

main.easyblock WARNING build failed (first 300 chars): Can't change to real 
build directory /dev/shm/spglib/1.7.4/intel-2015b/spglib-1.7.4/spglib-1.7.4

This problem seems to be caused by filetools after the unpacking of the sources.

If we use version spglib-1.7.3, we get:

== 2015-10-06 10:39:15,250 main.ConfigureMake INFO Checksum verification for 
/apps/antwerpen/sources/s/spglib/spglib-1.7.3.tar.gz using None passed.
== 2015-10-06 10:39:15,251 main.ConfigureMake INFO Running method extract_step 
part of step source
== 2015-10-06 10:39:15,251 main.ConfigureMake INFO Unpacking source 
spglib-1.7.3.tar.gz
== 2015-10-06 10:39:15,251 main.filetools DEBUG Not creating existing path 
/dev/shm/spglib/1.7.3/intel-2015b
== 2015-10-06 10:39:15,251 main.filetools DEBUG Unpacking 
/apps/antwerpen/sources/s/spglib/spglib-1.7.3.tar.gz in directory 
/dev/shm/spglib/1.7.3/intel-2015b.
== 2015-10-06 10:39:15,251 main.run DEBUG run_cmd: running cmd tar xzf 
/apps/antwerpen/sources/s/spglib/spglib-1.7.3.tar.gz (in 
/dev/shm/spglib/1.7.3/intel-2015b)
== 2015-10-06 10:39:15,293 main.run DEBUG cmd "tar xzf 
/apps/antwerpen/sources/s/spglib/spglib-1.7.3.tar.gz" exited with exitcode 0 
and output:

== 2015-10-06 10:39:15,293 main.run DEBUG Using default regular expression: 
(?<![(,-]|\w)(?:error|segmentation fault|failed)(?![(,-]|\.?\w)
== 2015-10-06 10:39:15,294 main.filetools DEBUG Last dir list ['spglib-1.7.3', 
'._spglib-1.7.3']
== 2015-10-06 10:39:15,294 main.filetools DEBUG Possible new dir 
/dev/shm/spglib/1.7.3/intel-2015b found
== 2015-10-06 10:39:15,294 main.ConfigureMake DEBUG Not skipping patch step 
(skippable: True, skip: None, skipsteps: [], module_only: False, force: False
== 2015-10-06 10:39:15,294 main.ConfigureMake INFO patching...
== 2015-10-06 10:39:15,294 main.ConfigureMake INFO Starting patch step

But with spglib-1.7.4, we get:

== 2015-10-06 10:43:04,518 main.ConfigureMake INFO Checksum verification for 
/apps/antwerpen/sources/s/spglib/spglib-1.7.4.tar.gz using None passed.
== 2015-10-06 10:43:04,518 main.ConfigureMake INFO Running method extract_step 
part of step source
== 2015-10-06 10:43:04,518 main.ConfigureMake INFO Unpacking source 
spglib-1.7.4.tar.gz
== 2015-10-06 10:43:04,519 main.filetools DEBUG Not creating existing path 
/dev/shm/spglib/1.7.4/intel-2015b
== 2015-10-06 10:43:04,519 main.filetools DEBUG Unpacking 
/apps/antwerpen/sources/s/spglib/spglib-1.7.4.tar.gz in directory 
/dev/shm/spglib/1.7.4/intel-2015b.
== 2015-10-06 10:43:04,519 main.run DEBUG run_cmd: running cmd tar xzf 
/apps/antwerpen/sources/s/spglib/spglib-1.7.4.tar.gz (in 
/dev/shm/spglib/1.7.4/intel-2015b)
== 2015-10-06 10:43:04,558 main.run DEBUG cmd "tar xzf 
/apps/antwerpen/sources/s/spglib/spglib-1.7.4.tar.gz" exited with exitcode 0 
and output:

== 2015-10-06 10:43:04,558 main.run DEBUG Using default regular expression: 
(?<![(,-]|\w)(?:error|segmentation fault|failed)(?![(,-]|\.?\w)
== 2015-10-06 10:43:04,559 main.filetools DEBUG Last dir list ['test', 'src', 
'README', 'python', 'NEWS', 'missing', 'Makefile.in', 'Makefile.am', 'm4', 
'ltmain.sh', 'install-sh', 'INSTALL', 'example', 'depcomp', 'COPYING', 
'configure.ac', 'configure', 'config.sub', 'config.h.in', 'config.guess', 
'compile', 'ChangeLog', 'AUTHORS', 'aclocal.m4']
== 2015-10-06 10:43:04,559 main.filetools DEBUG Possible new dir 
/dev/shm/spglib/1.7.4/intel-2015b/spglib-1.7.4 found
== 2015-10-06 10:43:04,559 main.ConfigureMake DEBUG Not skipping patch step 
(skippable: True, skip: None, skipsteps: [], module_only: False, force: False
== 2015-10-06 10:43:04,559 main.ConfigureMake INFO patching...
== 2015-10-06 10:43:04,559 main.ConfigureMake INFO Starting patch step

The only noticable difference between the two tar-files is that 
spglib-1.7.3.tar.gz also contains the file "./._spglib-1.7.3” which results in 
different behavior of "main.filetools DEBUG Possible new dir”. If I remove this 
file from the tarfile of spglib-1.7.3.tar.gz, I also get the same issue when 
trying to build it with EasyBuild.

Any ideas how to recover from this issue?

— Many thanks,

Franky



Attachment: easybuild-spglib-1.7.4-20151006.104304.DIgtf.log
Description: easybuild-spglib-1.7.4-20151006.104304.DIgtf.log

Attachment: easybuild-spglib-1.7.3-20151006.103937.log
Description: easybuild-spglib-1.7.3-20151006.103937.log

Reply via email to