easybuilders / easybuild

EasyBuild - building software with ease
http://easybuild.io
GNU General Public License v2.0
456 stars 142 forks source link

when i use eb to install Perl, the problem "has modification time 42324 s in the future" occur #869

Closed yanchenmochen closed 1 year ago

yanchenmochen commented 1 year ago

image

ERROR: Build of /hpc/software/easybuild/software/EasyBuild/4.7.2/easybuild/easyconfigs/p/Perl/Perl-5.34.1-GCCcore-11.3.0.eb failed (err: 'build failed (first 300 chars): cmd " make -j 80 " exited with exit code 2 and output:\nmake: Warning: File/hpc/software/easybuild/software/Perl/5.34.1-GCCcore-11.3.0/lib/perl5/5.34.1/x86_64-linux-thread-multi/CORE/config.h\' has modification time 42324 s in the future\nMakefile out-of-date with respect to /hpc/software/easybuild/')`

but why?

yanchenmochen commented 1 year ago
[sqh@NH-DC-NM134-C05-YW-HPC-27 ~]$ module aval Perl

------------------------------------------------------------------------------ /hpc/software/easybuild/modules/all -------------------------------------------------------------------------------
Perl/5.32.1-GCCcore-10.3.0         Perl/5.32.1-GCCcore-10.3.0-minimal
[sqh@NH-DC-NM134-C05-YW-HPC-27 ~]$ eb --show-config
#
# Current EasyBuild configuration
# (C: command line argument, D: default value, E: environment variable, F: configuration file)
#
buildpath      (D) = /home/sqh/.local/easybuild/build
containerpath  (D) = /home/sqh/.local/easybuild/containers
installpath    (F) = /hpc/software/easybuild
module-syntax  (F) = Tcl
modules-tool   (F) = EnvironmentModulesC
repositorypath (F) = /hpc/software/easybuild/ebfiles_repo
robot-paths    (D) = /hpc/software/easybuild/software/EasyBuild/4.7.2/easybuild/easyconfigs
sourcepath     (F) = /hpc/software/easybuild/sources
[sqh@NH-DC-NM134-C05-YW-HPC-27 ~]$ eb --debug -l --buildpath=/dev/shm --robot Perl-5.34.1-GCCcore-11.3.0.eb
yanchenmochen commented 1 year ago

[sqh@NH-DC-NM134-C05-YW-HPC-27 ~]$ eb --version This is EasyBuild 4.7.2 (framework: 4.7.2, easyblocks: 4.7.2) on host NH-DC-NM134-C05-YW-HPC-27.

ocaisa commented 1 year ago

Seems like the time on your server is off, are you using an NTP server?

yanchenmochen commented 1 year ago

@ocaisa Donot know way, but it is not relevant with ntp server, I at last resolved it using --skip, which separates the perl installation and its extension installation.

ocaisa commented 1 year ago

Well, the error was related to make seeing files from about 2 hours in the future, and not knowing what to do as a result (since it relies on timestamps to work). So probably once those 2 hours have passed, it is happy again. I suspect some of your servers have different time zones set (but that is a guess).

boegel commented 1 year ago

I don't see how this is an EasyBuild problem, should be trivial to reproduce outside of EasyBuild, so we should close this issue?

yanchenmochen commented 1 year ago

OK, Thank you very much. Through the installation of this software, I have a deep understanding of the use of skip, and it feels good.