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

Lots of errors when importing bazil.org/fuse #270

Closed
adelinaenache opened this issue Jan 11, 2021 · 1 comment
Closed

Lots of errors when importing bazil.org/fuse #270

adelinaenache opened this issue Jan 11, 2021 · 1 comment

Comments

@adelinaenache
Copy link

Hello community! I do have an issue, and I hope it's because I'm new to go and it has an easy fix.

Whenever I try to import basil.org/fuse I get the following errors:

# bazil.org/fuse
../../../go/pkg/mod/bazil.org/[email protected]/error_std.go:26:20: undefined: errNoXattr
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:171:12: undefined: mount
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:236:24: undefined: maxWrite
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:425:32: undefined: maxWrite
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:810:12: undefined: openFlags
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:828:18: undefined: openFlags
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:845:18: undefined: openFlags
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:868:18: undefined: openFlags
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:991:12: undefined: openFlags
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:1413:20: undefined: maxWrite
../../../go/pkg/mod/bazil.org/[email protected]/fuse.go:1413:20: too many errors

It also happens when I'm trying to run the example project (zipfs). My go environment:

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/adelinaenache/Library/Caches/go-build"
GOENV="/Users/adelinaenache/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/adelinaenache/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/adelinaenache/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/adelinaenache/unibuc-fmi/Sisteme operare/remarkable-file-sync/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/tq/8f4b8btx6r1bpls9l0p9wqgc0000gn/T/go-build045664486=/tmp/go-build -gno-record-gcc-switches -fno-common"

I'm working on a MacBook Pro 2015 (Intel x86) with MacOs Catalina 10.15.2 (19C57).

I'd appreciate some insight as fast as possible as I have some deadlines coming. Thank you very much!

@tv42
Copy link
Member

tv42 commented Jan 11, 2021

GOOS="darwin"

macOS does not have an up to date open source FUSE implementation.

Go does not provide a clean way to annotate supported platforms.

#224

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

No branches or pull requests

2 participants