Skip to content

spack install error - xz package not found #43

@disjustin

Description

@disjustin

Install spack and prerequisites

git clone --depth=100 --branch=releases/v0.20 https://github.com/spack/spack.git ~/spack
cd ~/spack
. share/spack/setup-env.sh
dnf install git patch curl

Installation Error

[root@localhost spack]# spack arch
linux-rhel8-icelake
[root@localhost spack]# spack install cuda-memtest
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/ncurses-6.4-2jvsjfx4abb3fnmk6xjkpmm3pu3n7257
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/zlib-1.2.13-ku63xtpcjfuf5b762ld2lk2c3pnfs2sp
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/libiconv-1.17-u2l5id3y6v4eh22qn4petn3xld6ws477
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/pkgconf-1.9.5-ciujcy6i2js7wli6pnr26pw75zihfc53
==> Installing xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj
==> No binary for xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj found: installing from source
==> Using cached archive: /root/spack/var/spack/cache/_source-cache/archive/dd/dd172acb53867a68012f94c17389401b2f274a1aa5ae8f84cbfb8b7e383ea8d3.tar.bz2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/usr/bin/tar: Child returned status 2
/usr/bin/tar: Error is not recoverable: exiting now
==> Error: ProcessError: Command exited with status 2:
    '/usr/bin/tar' '-oxf' '/tmp/root/spack-stage/spack-stage-xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj/xz-5.4.1.tar.bz2'
==> Warning: Skipping build of libxml2-2.10.3-o372pgyko7iuxfljstpofmkocfqm5g7m since xz-5.4.1-qyk5vue2b3s7pznvco2psu5262d5s3sj failed
==> Warning: Skipping build of cuda-11.8.0-jkl6337z3egvvf6pnbsraqt4l6qq4j5p since libxml2-2.10.3-o372pgyko7iuxfljstpofmkocfqm5g7m failed
==> Warning: Skipping build of cuda-memtest-master-3yiaqbeunxechqmpb2y62t7iiixoctt6 since cuda-11.8.0-jkl6337z3egvvf6pnbsraqt4l6qq4j5p failed
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/gmake-4.4.1-scjxmtnftp4pqqsp3pxzwggx42z7bae6
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/openssl-1.1.1t-7vbz7bueb5v7lbzkmutnn4pt6r4mjxwy
[+] /root/spack/opt/spack/linux-rhel8-icelake/gcc-8.5.0/cmake-3.26.3-bakbmqrqiwbg65gquu7u2lwjyxuiggzq
==> Error: cuda-memtest-master-3yiaqbeunxechqmpb2y62t7iiixoctt6: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions