Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty directory treated as git repo #404

Open
eschnett opened this issue Jan 14, 2025 · 0 comments
Open

Empty directory treated as git repo #404

eschnett opened this issue Jan 14, 2025 · 0 comments

Comments

@eschnett
Copy link
Contributor

I am using BinaryBuilder on a Linux system with an unstable network. Often, connecting to a remote system fails.

I see this error there:

$ julia +1.7 build_tarballs.jl --debug --verbose riscv64-linux-gnu
[ Info: Building for riscv64-linux-gnu
┌ Info: Using cached git repository
│   url = "https://github.com/Cyan4973/xxHash.git"
└   repo_path = "/home/eschnett/.julia/dev/BinaryBuilderBase/deps/downloads/clones/xxHash.git-3a9de2a65113f489177f560d4fe4b80b50b4782b0a0d98809fd253cf8ecfdcfb"
ERROR: LoadError: GitError(Code:ENOTFOUND, Class:Repository, could not find repository from '/home/eschnett/.julia/dev/BinaryBuilderBase/deps/downloads/clones/xxHash.git-3a9de2a65113f489177f560d4fe4b80b50b4782b0a0d98809fd253cf8ecfdcfb')

I find that the directory in question (repo_path) does exist but is empty. I think BinaryBuilder is getting confused, seeing the directory and assuming that it contains the git repo, when in reality the previous clone failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant