-
Notifications
You must be signed in to change notification settings - Fork 27
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
./main.go:279:21: undefined: fuse.AllowRoot # go1.14 darwin/amd64 #11
Comments
It's because of this change bazil/fuse@e0b8970 |
Workaround: use old Bazil's fuse:
or even |
I've added a go.mod file with a dependency on an older fuse package, now it builds again. That's a temporary fix. I'll work on a proper one. |
Not sure if this is going to get fixed properly, see 41e2206 |
In my tests, 117d633 worked on Linux, and 41e2206 did not. $ head -1 /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
$ go version
go version go1.15.15 linux/amd64
$ go get -v github.com/miquels/webdavfs@117d633
go: downloading github.com/miquels/webdavfs v0.0.0-20200520090810-117d63347042
go: github.com/miquels/webdavfs 117d633 => v0.0.0-20200520090810-117d63347042
go: downloading golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7
go: downloading bazil.org/fuse v0.0.0-20180421153158-65cc252bf669
go: downloading github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3
golang.org/x/net/context
github.com/pborman/getopt/v2
bazil.org/fuse
bazil.org/fuse/fuseutil
bazil.org/fuse/fs
github.com/miquels/webdavfs
$ go get -v github.com/miquels/webdavfs
go: github.com/miquels/webdavfs upgrade => v0.0.0-20221020123835-41e220625594
github.com/miquels/webdavfs
# github.com/miquels/webdavfs
go/pkg/mod/github.com/miquels/webdavfs@v0.0.0-20221020123835-41e220625594/main.go:279:21: undefined: fuse.AllowRoot
|
I have no idea what's going on here. If I do the same on a Debian 11 server it's even more mysterious:
OTOH, if I just |
Closing this issue. |
I want to compile binary on macOS but for Linux.
The text was updated successfully, but these errors were encountered: