JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
609 stars 251 forks source link

Pkg tree hash issues on linux with CIFS mounted network file server #3869

Open JeffFessler opened 2 months ago

JeffFessler commented 2 months ago

For completeness I am noting that Pkg does not work for installing some packages due to tree hash issues when running the linux version (julia 1.10.2) with a home directory on a CIFS mounted network file server.

See discussion here: https://discourse.julialang.org/t/wayland-protocols-jll-install-tree-hash-error/112816/13

The local workaround is to use export JULIA_PKG_IGNORE_HASHES="true" per the manual.

It's ok if maintainers close this issue because combining linux with CIFS may be an unholy marriage. But I report it in case it saves someone else time later.

There is a possible fix mentioned in #2317 (in 2021) that would avoid hashing based on the filesystem.