This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Case sensitive imports in docker mounted directory fails (grouped write of manifest, lock and vendor: rename fallback failed) #1362
Labels
What version of
dep
are you using (dep version
)?v0.3.2-48-gc47c866e
What
dep
command did you run?dep ensure -v
and
dep init -v
What did you expect to see?
What did you see instead?
Context
I have narrowed this down to being an issue with 2 imports from the same github area but with different case e.g.
andy-tn
andAndy-tn
. But it only seems to be an issue when building in a docker container, in a docker mounted directory. Very simple example, with the codeI can run
dep init
anddep ensure
natively on my mac, or in a docker container in any directory that was not mounted, everything works as expected. However if I run it in a mounted directory (e.g. the directory/root/go/src/working
if run withdocker run -it -v /my/src:/root/go/src/working my-container bash
) I get the errorgrouped write of manifest, lock and vendor: rename fallback failed: cannot rename /tmp/dep829476308/vendor to /root/go/src/working/vendor: copying directory failed: copying directory failed: copying directory failed: destination already exists
. (Docker image is nothing special just a vanilla fedora 26 with golang and git installed)The text was updated successfully, but these errors were encountered: