首次使用spack时报错,

[tools_adm@computing-host-001 ~]$ spack install python
==> Bootstrapping clingo from pre-built binaries
==> Bootstrapping clingo from sources
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %gcc target=x86_64" due to the following failures:'spack-install' raised ConflictsInSpecError: Conflicts in concretized spec "clingo-bootstrap@spack%gcc@4.8.5~docs~ipo+python~static_libstdcpp build_type=Release arch=linux-centos7-x86_64/6hb2rkn"List of matching conflicts for spec:clingo-bootstrap@spack%gcc@4.8.5~docs~ipo+python~static_libstdcpp build_type=Release arch=linux-centos7-x86_64^bison@3.8.2%gcc@4.8.5 arch=linux-centos7-x86_64^diffutils@3.8%gcc@4.8.5 arch=linux-centos7-x86_64^libiconv@1.16%gcc@4.8.5 libs=shared,static arch=linux-centos7-x86_64^m4@1.4.19%gcc@4.8.5+sigsegv patches=9dc5fbd0d5cb1037ab1e6d0ecc74a30df218d0a94bdd5a02759a97f62daca573,bfdffa7c2eb01021d5849b36972c069693654ad826c1a20b53534009a4ec7a89 arch=linux-centos7-x86_64^libsigsegv@2.13%gcc@4.8.5 arch=linux-centos7-x86_64^perl@5.34.0%gcc@4.8.5+cpanm+shared+threads arch=linux-centos7-x86_64^berkeley-db@18.1.40%gcc@4.8.5+cxx~docs+stl patches=b231fcc4d5cff05e5c3a4814f6a5af0e9a966428dc2176540d2c05aff41de522 arch=linux-centos7-x86_64^bzip2@1.0.8%gcc@4.8.5~debug~pic+shared arch=linux-centos7-x86_64^gdbm@1.19%gcc@4.8.5 arch=linux-centos7-x86_64^readline@8.1%gcc@4.8.5 arch=linux-centos7-x86_64^ncurses@6.2%gcc@4.8.5~symlinks+termlib abi=none arch=linux-centos7-x86_64^pkgconf@1.8.0%gcc@4.8.5 arch=linux-centos7-x86_64^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared arch=linux-centos7-x86_64^cmake@3.21.4%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt build_type=Release arch=linux-centos7-x86_64^openssl@1.1.1l%gcc@4.8.5~docs certs=system arch=linux-centos7-x86_64^python@3.6%gcc@4.8.5+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-centos7-x86_64^re2c@2.2%gcc@4.8.5 arch=linux-centos7-x86_641. "%gcc@:5" conflicts with "clingo-bootstrap" [C++14 support is required to bootstrap clingo]Please run `spack -d spec zlib` for more verbose error messages
[tools_adm@computing-host-001 ~]$ spack install python
==> Bootstrapping clingo from pre-built binaries
==> Bootstrapping clingo from sources
==> Error: cannot bootstrap the "clingo" Python module from spec "clingo-bootstrap@spack+python %gcc target=x86_64" due to the following failures:'spack-install' raised ConflictsInSpecError: Conflicts in concretized spec "clingo-bootstrap@spack%gcc@4.8.5~docs~ipo+python~static_libstdcpp build_type=Release arch=linux-centos7-x86_64/6hb2rkn"List of matching conflicts for spec:clingo-bootstrap@spack%gcc@4.8.5~docs~ipo+python~static_libstdcpp build_type=Release arch=linux-centos7-x86_64^bison@3.8.2%gcc@4.8.5 arch=linux-centos7-x86_64^diffutils@3.8%gcc@4.8.5 arch=linux-centos7-x86_64^libiconv@1.16%gcc@4.8.5 libs=shared,static arch=linux-centos7-x86_64^m4@1.4.19%gcc@4.8.5+sigsegv patches=9dc5fbd0d5cb1037ab1e6d0ecc74a30df218d0a94bdd5a02759a97f62daca573,bfdffa7c2eb01021d5849b36972c069693654ad826c1a20b53534009a4ec7a89 arch=linux-centos7-x86_64^libsigsegv@2.13%gcc@4.8.5 arch=linux-centos7-x86_64^perl@5.34.0%gcc@4.8.5+cpanm+shared+threads arch=linux-centos7-x86_64^berkeley-db@18.1.40%gcc@4.8.5+cxx~docs+stl patches=b231fcc4d5cff05e5c3a4814f6a5af0e9a966428dc2176540d2c05aff41de522 arch=linux-centos7-x86_64^bzip2@1.0.8%gcc@4.8.5~debug~pic+shared arch=linux-centos7-x86_64^gdbm@1.19%gcc@4.8.5 arch=linux-centos7-x86_64^readline@8.1%gcc@4.8.5 arch=linux-centos7-x86_64^ncurses@6.2%gcc@4.8.5~symlinks+termlib abi=none arch=linux-centos7-x86_64^pkgconf@1.8.0%gcc@4.8.5 arch=linux-centos7-x86_64^zlib@1.2.11%gcc@4.8.5+optimize+pic+shared arch=linux-centos7-x86_64^cmake@3.21.4%gcc@4.8.5~doc+ncurses+openssl+ownlibs~qt build_type=Release arch=linux-centos7-x86_64^openssl@1.1.1l%gcc@4.8.5~docs certs=system arch=linux-centos7-x86_64^python@3.6%gcc@4.8.5+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-centos7-x86_64^re2c@2.2%gcc@4.8.5 arch=linux-centos7-x86_641. "%gcc@:5" conflicts with "clingo-bootstrap" [C++14 support is required to bootstrap clingo]Please run `spack -d spec zlib` for more verbose error messages

根据报错提示,需要一个支持C++14的编译器,我安装了一个新版的gcc/11.2.0,并将其bin目录加到了PATH变量,

According to the error message, we need a compiler which support C++14. I installed gcc/11.2.0 and set it's bin directory to PATH environment variable.

[tools_adm@computing-host-001 ~]$ setenv PATH /tools/oss/gcc/11.2.0/bin:$PATH
[tools_adm@computing-host-001 ~]$ spack -d spec zlib %gcc@11.2.0
==> [2022-05-24-10:03:13.206293] Imported spec from built-in commands
==> [2022-05-24-10:03:13.211112] Imported spec from built-in commands
Input spec
--------------------------------
zlib%gcc@11.2.0Concretized
--------------------------------
==> [2022-05-24-10:03:13.222579] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/config.yaml
==> [2022-05-24-10:03:13.298617] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/bootstrap.yaml
==> [2022-05-24-10:03:13.333346] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/config.yaml
==> [2022-05-24-10:03:13.387447] DATABASE LOCK TIMEOUT: 3s
==> [2022-05-24-10:03:13.387643] PACKAGE LOCK TIMEOUT: No timeout
==> [2022-05-24-10:03:13.388771] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/bootstrap.yaml
==> [2022-05-24-10:03:13.412265] DATABASE LOCK TIMEOUT: 3s
==> [2022-05-24-10:03:13.412528] PACKAGE LOCK TIMEOUT: No timeout
==> [2022-05-24-10:03:13.412772] [BOOTSTRAP CONFIG SCOPE] name=_builtin
==> [2022-05-24-10:03:13.413841] [BOOTSTRAP CONFIG SCOPE] name=defaults, path=/tools/oss/spack-0.17.2/etc/spack/defaults
==> [2022-05-24-10:03:13.413961] [BOOTSTRAP CONFIG SCOPE] name=defaults/linux, path=/tools/oss/spack-0.17.2/etc/spack/defaults/linux
==> [2022-05-24-10:03:13.414080] [BOOTSTRAP CONFIG SCOPE] name=bootstrap, path=/home/tools_adm/.spack/bootstrap/config
==> [2022-05-24-10:03:13.414180] [BOOTSTRAP CONFIG SCOPE] name=bootstrap/linux, path=/home/tools_adm/.spack/bootstrap/config/linux
==> [2022-05-24-10:03:13.416454] Reading config file /home/tools_adm/.spack/bootstrap/config/linux/compilers.yaml
==> [2022-05-24-10:03:13.504704] [BOOTSTRAP ROOT SPEC] clingo-bootstrap@spack+python %gcc target=x86_64
==> [2022-05-24-10:03:13.504904] [BOOTSTRAP MODULE clingo] Try importing from Python
==> [2022-05-24-10:03:13.505664] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/bootstrap.yaml
==> [2022-05-24-10:03:13.533487] Bootstrapping clingo from pre-built binaries
==> [2022-05-24-10:03:13.539614] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/config.yaml
==> [2022-05-24-10:03:13.602270] DATABASE LOCK TIMEOUT: 3s
==> [2022-05-24-10:03:13.602520] PACKAGE LOCK TIMEOUT: No timeout
==> [2022-05-24-10:03:13.656899] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/mirrors.yaml
==> [2022-05-24-10:03:14.404023] Cached index for https://mirror.spack.io/bootstrap/github-actions/v0.1 already up to date
==> [2022-05-24-10:03:14.477810] Imported buildcache from built-in commands
==> [2022-05-24-10:03:14.502955] Imported buildcache from built-in commands
==> [2022-05-24-10:05:40.274042] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/config.yaml
==> [2022-05-24-10:05:40.351266] Reading config file /home/tools_adm/.spack/bootstrap/config/linux/config.yaml
==> [2022-05-24-10:05:40.627291] [BOOTSTRAP MODULE clingo] The installed spec "clingo-bootstrap@spack+python %gcc target=x86_64 ^python@3.6 /vcipwnf57slgoo7busvvkzjkk7vydeb5" provides the "clingo" Python module
==> [2022-05-24-10:05:40.691909] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/repos.yaml
==> [2022-05-24-10:05:40.876049] Reading config file /home/tools_adm/.spack/linux/compilers.yaml
==> [2022-05-24-10:05:40.914061] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/config.yaml
==> [2022-05-24-10:05:40.969529] Reading config file /tools/oss/spack-0.17.2/etc/spack/defaults/packages.yaml
==> [2022-05-24-10:05:41.244816] build(zlib)
zlib@1.2.11%gcc@11.2.0+optimize+pic+shared arch=linux-centos7-sandybridge

问题解决。

Done.

spack install failed with bootstrapping相关推荐

  1. 简单图文配置golang+vscode【win10/centos7+golang helloworld+解决install failed等情况】

    博客目录(阅读时间:10分钟) 一.win10 0.系统环境 1. win10配置golang环境 ①下载相关软件 ②创建gowork工作空间 ③配置环境变量(GOPATH+PATH) ④验证环境配置 ...

  2. Session 'app': Installation did not succeed.The application could not be installed: INSTALL FAILED I

    在Android Studio中使用模拟器进行调试的时候,会出现错误信息无法进行模拟器调试 错误信息 Session 'app': Installation did not succeed.The a ...

  3. 关于Python3.5及以上版本 install failed安装失败问题

    关于Python3.5及以上版本 install failed安装失败问题 我们在现场调试程序安装Python环境时,针对不同电脑可能会出现install failed的问题,可能是当前系统缺少相关的 ...

  4. VS2008在WIN10下安装失败:ISetupComponent::Pre/Post/Install() failed ISetupManager 解决方法(-2147023293)

    今天重安装系统,安装VS2008死活安装不上,报如下错误: 查看安装日志,会有如下信息 [10/05/20,16:54:57] setup.exe: [2] ISetupComponent::Pre/ ...

  5. 【Error】chaincode install failed with status: 500 - failed to invoke backing implementation xxx

    peer节点能够成功打包链码,但安装一直报错: bash-5.1# peer lifecycle chaincode install codecc.tar.gz Error: chaincode in ...

  6. makefile recipe for target ‘install‘ failed 解决方案

    recipe for target 'install' failed 是什么原因 问题 常见原因:查看最近改的xxxx.mak (makefile)文件是否有空格/乱码/中间追究注释# 解决方法: 1 ...

  7. spack install报armpl not found

    安装 [tools_adm@ip-172-31-94-183 ~]$ spack install gcc +binutils ==> Warning: Spack will not check ...

  8. (本博客软件无法安装)install failed container error 的解决方法

    当工程使用android:installLocation="preferExternal"时,某些时候会出现 Installation error: INSTALL_FAILED_ ...

  9. Npm install failed with “cannot run in wd”

    Linux环境下,root账户,安装某些npm包的时候报下面的错误,例如安装grunt-contrib-imagemin时: Error: EACCES, mkdir '/usr/local/lib/ ...

最新文章

  1. 关于xilinx fir use reloadable coefficient的用法
  2. 二级计算机为让利消费者,计算机二级office题库训练题(2)
  3. uint8_t / uint16_t / uint32_t /uint64_t 是什么数据类型(转)
  4. android 开发规范1
  5. oracle 12 问题:需要 Oracle 客户端软件 8.1.7 或更高版本
  6. 如何让页面动起来?支付宝2020新春红包前端3D技术揭秘
  7. 绕过360安全卫士的部分代码
  8. leetcode 274, 275. H-Index I, II(H 指数问题合集,线性查找/二分查找)
  9. laravel中Blade模板继承
  10. 【数据结构和算法笔记】数组(数组的储存方式和特殊矩阵的压缩储存)
  11. mybatis中resultMap的几种用法
  12. 《AutoCAD 2014中文版超级学习手册》——1.2 操作界面
  13. CASS利用控制点进行图形坐标系转换(80转2000)
  14. 九型人格在招聘中的应用策略
  15. android自定义指针,Android实现HID鼠标的指针自定义
  16. 计算机控制原理中雷达天线,相控阵雷达工作原理
  17. 计算机键盘的型号,标准电脑键盘尺寸
  18. xocde8打印出:Presenting view controllers on detached view controllers is discouraged SettingViewContro
  19. Tracup:集成Bug追踪的轻量级项目管理平台
  20. Android 极光推送 自定义通知铃声

热门文章

  1. ggplot2学习笔记3:ggplot()基本用法
  2. SqlServer中Exists的使用
  3. Java开发工具中Compile、Make和Build的区别
  4. 蓝桥杯python组——卡片(卡牌大师。。)
  5. mysql练习-数据更新
  6. OpenCV 人脸检测及运动追踪
  7. TFT-LCD的主要特点以及市场分析
  8. 做网站:服务器,云服务器,云主机,虚拟主机有何区别?
  9. 向量自回归模型VS风险价值模型(VARVaR)
  10. 深度学习实战39-U-Net模型在医学影像识别分割上的应用技巧,以细胞核分割任务为例