Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spack install error - xz package not found #43

Open
disjustin opened this issue Jul 27, 2023 · 0 comments
Open

spack install error - xz package not found #43

disjustin opened this issue Jul 27, 2023 · 0 comments

Comments

@disjustin
Copy link

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant