On 08-12-2023 20:46, Alan O'Cais wrote:
There's been an update to the easyblock that should fix this for you, see https://github.com/easybuilders/easybuild-easyblocks/pull/3038 <https://github.com/easybuilders/easybuild-easyblocks/pull/3038>
--use-easyblocks-from-pr 3038

Thanks a lot!  This command does the job:

$ eb Rust-1.70.0-GCCcore-12.3.0.eb --include-easyblocks-from-pr=3038


On 8 December 2023 20:33:34 CET, Ole Holm Nielsen <[email protected]> wrote:

    I'm trying to build Rust-1.70.0-GCCcore-12.3.0.eb but this fails
    because of a download failure. I don't know how to deal with this...

    The log file shows that download of an older version 1.69 file
    rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.xz is attempted:

    (lines deleted)
    downloading
    
https://ci-artifacts.rust-lang.org/rustc-builds/90c541806f23a127002de5b4038be731ba1458ca/rust-dev-1.70.0-x86_64-unknown-linux-gnu.tar.xz
 
<https://ci-artifacts.rust-lang.org/rustc-builds/90c541806f23a127002de5b4038be731ba1458ca/rust-dev-1.70.0-x86_64-unknown-linux-gnu.tar.xz>
    #=#=- # #

    #=O#- # #


    -#O=- # # #

    curl: (22) The requested URL returned error: 404

    error: failed to download llvm from ci

    help: old builds get deleted after a certain time
    help: if trying to compile an old commit of rustc, disable
    `download-ci-llvm` in config.toml:

    [llvm]
    download-ci-llvm = false

    Build completed unsuccessfully in 0:01:05
    (at easybuild/tools/run.py:681 in parse_cmd_output)
    == 2023-12-08 20:28:03,381 build_log.py:267 INFO ... (took 1 min 5 secs)
    == 2023-12-08 20:28:03,381 filetools.py:2012 INFO Removing lock
    
/home/modules/software/.locks/_home_modules_software_Rust_1.70.0-GCCcore-12.3.0.lock...
    == 2023-12-08 20:28:03,382 filetools.py:383 INFO Path
    
/home/modules/software/.locks/_home_modules_software_Rust_1.70.0-GCCcore-12.3.0.lock
 successfully removed.
    == 2023-12-08 20:28:03,382 filetools.py:2016 INFO Lock removed:
    
/home/modules/software/.locks/_home_modules_software_Rust_1.70.0-GCCcore-12.3.0.lock
    == 2023-12-08 20:28:03,382 easyblock.py:4277 WARNING build failed
    (first 300 chars): cmd " export
    CARGO_HOME=/dev/shm/Rust/1.70.0/GCCcore-12.3.0/cargo && ./x.py build
    -j 64 " exited with exit code 1 and output:
    downloading
    
https://static.rust-lang.org/dist/2023-04-20/rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.xz
 
<https://static.rust-lang.org/dist/2023-04-20/rust-std-1.69.0-x86_64-unknown-linux-gnu.tar.xz>
    #=#=- # #
    == 2023-12-08 20:28:03,383 easyblock.py:328 INFO Closing log for
    application name Rust version 1.70.0

    Can anyone suggest a fix?

    Thanks,
    Ole

Reply via email to