Skip to content

Rust 1.52.1 (2021a) attempts to fetch files from static.rust-lang.org during build phase #13548

@LHurst-JM

Description

@LHurst-JM

Will not build within a HPC environment without internet access as a result, even after pre-fetching sources with 'eb --fetch':

== 2021-08-02 18:26:51,149 build_log.py:265 INFO building...
== 2021-08-02 18:26:51,149 easyblock.py:3410 INFO Starting build step
== 2021-08-02 18:26:51,149 easyconfig.py:1654 INFO Generating template values...
== 2021-08-02 18:26:51,150 easyconfig.py:1673 INFO Template values: arch='x86_64', bitbucket_account='rust', builddir='/dev/shm/eb-build/Rust/1.52.1/GCCcore-10.3.0', github_account='rust', installdir='/mnt/apps/easybuild/2021a/EL-7-sky/software/Rust/1.52.1-GCCcore-10.3.0', module_name='Rust/1.52.1-GCCcore-10.3.0', name='Rust', nameletter='R', nameletterlower='r', namelower='rust', parallel='1', pymajver='3', pyminver='9', pyshortver='3.9', pyver='3.9.5', toolchain_name='GCCcore', toolchain_version='10.3.0', version='1.52.1', version_major='1', version_major_minor='1.52', version_minor='52', versionprefix='', versionsuffix=''
== 2021-08-02 18:26:51,150 easyblock.py:3418 INFO Running method build_step part of step build
== 2021-08-02 18:26:51,150 configuremake.py:338 INFO Building target ''
== 2021-08-02 18:26:51,150 run.py:233 INFO running cmd: export CARGO_HOME=/dev/shm/eb-build/Rust/1.52.1/GCCcore-10.3.0/cargo &&  make  -j 1  
== 2021-08-02 18:26:52,871 build_log.py:169 ERROR EasyBuild crashed with an error (at easybuild/sources/easybuild-framework/easybuild/base/exceptions.py:124 in __init__): cmd "export CARGO_HOME=/dev/shm/eb-build/Rust/1.52.1/GCCcore-10.3.0/cargo &&  make  -j 1 " exited with exit code 2 and output:
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 

spurious failure, trying again
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 

spurious failure, trying again
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 

spurious failure, trying again
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 

spurious failure, trying again
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 
failed to run: curl -s -y 30 -Y 10 --connect-timeout 30 --retry 3 -Sf -o /tmp/eb-uym7_pkg/tmplu3bai4_.sha256 https://static.rust-lang.org/dist/2021-03-25/rust-std-1.51.0-x86_64-unknown-linux-gnu.tar.xz.sha256
Build completed unsuccessfully in 0:00:01
make: *** [all] Error 1
 (at easybuild/sources/easybuild-framework/easybuild/tools/run.py:577 in parse_cmd_output)
== 2021-08-02 18:26:52,871 build_log.py:265 INFO ... (took 1 secs)
== 2021-08-02 18:26:52,871 filetools.py:1883 INFO Removing lock /mnt/apps/easybuild/2021a/EL-7-sky/software/.locks/_mnt_apps_easybuild_2021a_EL-7-sky_software_Rust_1.52.1-GCCcore-10.3.0.lock...
== 2021-08-02 18:26:52,877 filetools.py:358 INFO Path /mnt/apps/easybuild/2021a/EL-7-sky/software/.locks/_mnt_apps_easybuild_2021a_EL-7-sky_software_Rust_1.52.1-GCCcore-10.3.0.lock successfully removed.
== 2021-08-02 18:26:52,877 filetools.py:1887 INFO Lock removed: /mnt/apps/easybuild/2021a/EL-7-sky/software/.locks/_mnt_apps_easybuild_2021a_EL-7-sky_software_Rust_1.52.1-GCCcore-10.3.0.lock
== 2021-08-02 18:26:52,877 easyblock.py:3704 WARNING build failed (first 300 chars): cmd "export CARGO_HOME=/dev/shm/eb-build/Rust/1.52.1/GCCcore-10.3.0/cargo &&  make  -j 1 " exited with exit code 2 and output:
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static.rust-lang.org:443 

spurious failure, trying again
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCAL
== 2021-08-02 18:26:52,877 easyblock.py:300 INFO Closing log for application name Rust version 1.52.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions