Trying to build Julia documentation for v11.1.3 but Manifest says v11.1.1

Hi guys!
I’m trying to build base html documentation for Julia v11.1.3 but in doc/Manifest.toml there is another version: v11.1.1 here and I think that is the reason of failing with such error:

ERROR: LoadError: Unable to automatically download/install artifact 'Expat' from sources listed in '/mnt/c/For_GIT/julia/doc/deps/packages/Expat_jll/x7O0t/Artifacts.toml'.
Sources attempted:
- https://pkg.julialang.org/artifact/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd
    Error: Tree Hash Mismatch!
  Expected git-tree-sha1:   1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd
  Calculated git-tree-sha1: 806a1cf243c50ed401f678d7d42ef883d6e2731a

- https://github.com/JuliaBinaryWrappers/Expat_jll.jl/releases/download/Expat-v2.6.2+0/Expat.v2.6.2.x86_64-linux-gnu.tar.gz
    Error: Tree Hash Mismatch!
  Expected git-tree-sha1:   1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd
  Calculated git-tree-sha1: 806a1cf243c50ed401f678d7d42ef883d6e2731a

What is the best solution here? How to build documentation for v11.1.3?

Or maybe I get this error for some other reason? Any advice?

The error is telling you that you’re trying to download the archives https://pkg.julialang.org/artifact/1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd or
https://github.com/JuliaBinaryWrappers/Expat_jll.jl/releases/download/Expat-v2.6.2+0/Expat.v2.6.2.x86_64-linux-gnu.tar.gz, which both should have git tree hash 1308e48c3f4f2fd9adaa56b9bd4a86a995d50abd, but for both of them you get 806a1cf243c50ed401f678d7d42ef883d6e2731a. There are at least a couple of possible explanations:

  • you have network issues and the download is failing
  • you have a weird filesystem where computation of the tree hash is failing (unfortunately the computation of the tree hash depends on the filesystem in use and can fail with unusual filesystems).

What case do you think is the most likely?

I’m doing it in WSL under Windows. So most probably the second one, yes.

Any advice? Is it even possible to build Julia documentation for v1.11.3 under Windows?

If you’re 100% sure this is a filesystem issue (although I never heard people using WSL complaining before about this) then you can set the environment variable JULIA_PKG_IGNORE_HASHES=true, but do note that this opens up the possibility of silently getting broken downloads during installation of packages.

1 Like