-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/go: "RLock …: Function not implemented" when the main module is in a filesystem that does not support locking #48572
Comments
@ayush-dedhia25 I see a similar query of yours was already answered on StackOverflow and even by a member of a Go Team (@bcmills) and still you have opened an issue here. |
I explicitly mentioned the possibility of filing an issue on the SO answer:
So I think it's fine to keep this issue open. Honestly, I think we should probably proceed without file-locking when the |
Locking the Now that the On the other hand, the locking errors that show up in the |
Just to add some informarion I had this issue rooted my tablet and now i can lock files. |
go version Is there any outlook on fixing this? I can't not run "go mod tidy", "go get -u", "go work use .", etc without getting an an error: Am I correct in the conclusion that even though golang is in the termux repository, and it can be installed, it actually can't be used to develop and run a .go file? |
I have the same problem with termux( |
This issue occured also for a colleague in Windows WSL 2 with Ubuntu. Would love to see a solution or at least a work around. |
Sometimes its just the user that does not have permissions. After I rooted a device that did not have access to lock files this problem went away |
Unfortunately not every device is rootable. A workaround would be nice. |
Hey, I am facing the same issue on termux as well. I guess I have found a workaround for my usecase.
Running // go.mod
module my-module-name
go 1.21.6 I wonder the same question as #48572 (comment) : should we just give up on trying running go with multiple packages on termux or is there a way ? EDIT: I have found a workaround for my usecase that has some limits
I hope to find something better soon, but posting it here if that would unblock some other users :) |
For
The message is
It only creates an empty |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tired to create a module for my new golang project using
go mod init github.com/ayush/secure-api
What did you expect to see?
I expected of successfully creation of module for my project.
What did you see instead?
Error I got:
go: RLock /storage/8D8B-150E/Go/secure-api/go.mod: function not implemented
The text was updated successfully, but these errors were encountered: