Skip to content

command in hadrian/bootstrap/README.md fails

!8557 (closed)

Adjusting for my Linux setup this adapted command from hadrian/bootstrap/README.md fails.

bootstrap.py -d plan-bootstrap-8_10_7.json -w /opt/ghc/8.10.7/bin/ghc -s sources-tarball.tar.gz

Here's the Traceback.

Traceback (most recent call last):
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 494, in <module>
    main()
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 461, in main
    bootstrap(info, ghc)
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 245, in bootstrap
    install_dep(dep, ghc)
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 181, in install_dep
    sdist_dir = resolve_dep(dep)
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 156, in resolve_dep
    verify_sha256(dep.src_sha256, tarball)
  File "/tmp/ghc-9.2.3/hadrian/bootstrap/./bootstrap.py", line 127, in verify_sha256
    h = hash_file(hashlib.sha256(), f.open('rb'))
  File "/usr/lib64/python3.9/pathlib.py", line 1252, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib64/python3.9/pathlib.py", line 1120, in _opener
    return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '_build/tarballs/splitmix-0.1.0.3.tar.gz'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information