Skip to content

Instantly share code, notes, and snippets.

@iarspider
Created July 30, 2021 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iarspider/b28fce3b6687fb4effd5ca1d72fa5ba7 to your computer and use it in GitHub Desktop.
Save iarspider/b28fce3b6687fb4effd5ca1d72fa5ba7 to your computer and use it in GitHub Desktop.
$ spack env create test
==> Updating view at $SPACK/var/spack/environments/test/.spack-env/view
==> Created environment 'test' in $SPACK/var/spack/environments/test
==> You can activate this environment with:
==> spack env activate test
$ spack env activate test
$ spack add py-astor@0.8.1
==> Adding py-astor@0.8.1 to environment test
$ spack concretize
==> Concretized py-astor@0.8.1
- napkc2z py-astor@0.8.1%gcc@9.3.0 arch=linux-centos7-broadwell
[+] cmnuoni ^py-setuptools@51.3.3%gcc@9.3.0 arch=linux-centos7-broadwell
[+] v4difga ^python@3.8.10%gcc@9.3.0+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib patches=0d98e93189bc278fbc37a50ed7f183bd8aaf249a8e1670a465f0db6bb4f8cf87 arch=linux-centos7-broadwell
[+] evsbajy ^bzip2@1.0.8%gcc@9.3.0~debug~pic+shared arch=linux-centos7-broadwell
[+] swbbpv2 ^diffutils@3.7%gcc@9.3.0 arch=linux-centos7-broadwell
[+] afkdrld ^libiconv@1.16%gcc@9.3.0 arch=linux-centos7-broadwell
[+] v7mlwfp ^expat@2.3.0%gcc@9.3.0+libbsd arch=linux-centos7-broadwell
[+] lm2ntxa ^libbsd@0.11.3%gcc@9.3.0 arch=linux-centos7-broadwell
[+] 24mdz6y ^libmd@1.0.3%gcc@9.3.0 arch=linux-centos7-broadwell
[+] sf6daqc ^gdbm@1.19%gcc@9.3.0 arch=linux-centos7-broadwell
[+] rpxh6qg ^readline@8.1%gcc@9.3.0 arch=linux-centos7-broadwell
[+] jztttgd ^ncurses@6.2%gcc@9.3.0~symlinks+termlib abi=none arch=linux-centos7-broadwell
[+] zptowfp ^pkgconf@1.7.4%gcc@9.3.0 arch=linux-centos7-broadwell
[+] dl4uj3m ^gettext@0.21%gcc@9.3.0+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-centos7-broadwell
[+] 4ujfajn ^libxml2@2.9.10%gcc@9.3.0~python arch=linux-centos7-broadwell
[+] w7tip3f ^xz@5.2.5%gcc@9.3.0~pic libs=shared,static arch=linux-centos7-broadwell
[+] vuxx2at ^zlib@1.2.11.cms%gcc@9.3.0+optimize+pic+shared arch=linux-centos7-broadwell
[+] ly4agvl ^tar@1.34%gcc@9.3.0 arch=linux-centos7-broadwell
[+] o2s4oac ^libffi@3.3%gcc@9.3.0 patches=26f26c6f29a7ce9bf370ad3ab2610f99365b4bdd7b82e7c31df41a3370d685c0 arch=linux-centos7-broadwell
[+] hc7ojyb ^openssl@1.0.2k-fips%gcc@9.3.0~docs+systemcerts arch=linux-centos7-broadwell
[+] 6efhkca ^sqlite@3.35.5%gcc@9.3.0+column_metadata+fts~functions~rtree arch=linux-centos7-broadwell
[+] 3ghn7me ^util-linux-uuid@2.36.2%gcc@9.3.0 arch=linux-centos7-broadwell
==> Updating view at $SPACK/var/spack/environments/test/.spack-env/view
==> Warning: [$SPACK/var/spack/environments/test/.spack-env/._view/lp7qkhf6jwzke2475gbdsmtieo3yxpx5] Skipping external package: openssl@1.0.2k-fips%gcc@9.3.0~docs+systemcerts arch=linux-centos7-broadwell/hc7ojyb
$ spack install
==> Installing environment test
==> Warning: Missing a source id for py-astor@0.8.1
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/libiconv-1.16-afkdrldlvzzfzqficruqu6rf5jkvyr5o
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/libmd-1.0.3-24mdz6ydxljurnsyyymjivb6a4nmuu3d
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/pkgconf-1.7.4-zptowfpxxu7rdwchnvfck4iheuffxefw
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/xz-5.2.5-w7tip3fcxdqzht3treh45nxkcsh6mkzj
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/zlib-1.2.11.cms-vuxx2atrgdl3vn675iueftcsjfdvhfo7
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/libffi-3.3-o2s4oackhsa5k2knagrkvznqazxgw3vu
[+] /usr (external openssl-1.0.2k-fips-hc7ojybhqktynvkhzhtrhuea6mm7kslc)
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/diffutils-3.7-swbbpv2ttqnyosmlfn3gilh7nc7gfyku
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/tar-1.34-ly4agvl3hdnbf74kr65wku4myr4fosnz
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/libbsd-0.11.3-lm2ntxa2nth23mirxdcygmnjis2rcple
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/ncurses-6.2-jztttgdl2poq4g4y6jhxloto5lxreg56
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/util-linux-uuid-2.36.2-3ghn7mezx7p25fobpi4mozlk3wp62sqy
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/libxml2-2.9.10-4ujfajnwsnsky3fzx3v7h25a5kmm4ryc
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/bzip2-1.0.8-evsbajygl3izsz6otygy37fkoendjorq
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/expat-2.3.0-v7mlwfpfg2g454l5f5eya5rqkagrrxse
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/readline-8.1-rpxh6qgse4wrquvxg2xkl7eteia6icke
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/gettext-0.21-dl4uj3ml5b53luecdypfeacsbfcqkxzb
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/gdbm-1.19-sf6daqcwnqb3zzdwhuraufowacebjupf
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/sqlite-3.35.5-6efhkca7fg7rc6gb56fvv6plzold4l4q
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/python-3.8.10-v4difgawunc6xlqxd3niahmofmllu6cj
[+] $SPACK/opt/spack/linux-centos7-broadwell/gcc-9.3.0/py-setuptools-51.3.3-cmnuonijz3excopqonmfgmys3jcmbgxe
==> Installing py-astor-0.8.1-napkc2zxsdppqurbtrqoeemfh4wdretv
==> No binary for py-astor-0.8.1-napkc2zxsdppqurbtrqoeemfh4wdretv found: installing from source
==> Warning: Missing a source id for py-astor@0.8.1
==> Warning: There is no checksum on file to fetch py-astor@0.8.1 safely.
==> Fetch anyway? [y/N] n
==> Error: FetchError: Will not fetch py-astor@0.8.1
Add a checksum or use --no-checksum to skip this check.
$SPACK/lib/spack/spack/package.py:1341, in do_fetch:
1338 .format(ck_msg))
1339
1340 if not ignore_checksum:
>> 1341 raise FetchError("Will not fetch %s" %
1342 self.spec.format('{name}{@version}'), ck_msg)
1343
1344 deprecated = spack.config.get('config:deprecated')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment