Related: martinvonz/jj#3844 According to [this comment](https://github.com/martinvonz/jj/issues/3844#issuecomment-2156324075) by @yuja > For example, git_config_add_file_ondisk calls statically-linked stat64->fstatat64. OTOH, it refers to dynamically-linked errno. which might. be the problem.