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

Build Issue? fuseops.OpMetadata undefined #479

Open
jzalenski opened this issue Dec 3, 2019 · 4 comments
Open

Build Issue? fuseops.OpMetadata undefined #479

jzalenski opened this issue Dec 3, 2019 · 4 comments

Comments

@jzalenski
Copy link

jzalenski commented Dec 3, 2019

Go version is 1.13, tried installing via go and ran into the issue referenced here: #476 (git submodules needing an init/update), and after updating submodules trying to build generates the following:

go build -ldflags "-X main.Version=`git rev-parse HEAD`"
# github.com/kahing/goofys/internal
internal/dir.go:890:24: undefined: fuseops.OpMetadata
internal/file.go:70:45: undefined: fuseops.OpMetadata
internal/goofys.go:847:27: op.Metadata undefined (type *fuseops.OpenFileOp has no field or method Metadata)
internal/goofys.go:901:26: op.Metadata undefined (type *fuseops.FlushFileOp has no field or method Metadata)
internal/goofys.go:961:40: op.Metadata undefined (type *fuseops.CreateFileOp has no field or method Metadata)
internal/handles.go:474:39: undefined: fuseops.OpMetadata
make: *** [Makefile:13: build] Error 2

Maybe I'm missing something really obvious, but wanted to check before I dig in too far.

@kahing
Copy link
Owner

kahing commented Dec 17, 2019

doesn't seem like you did submodule update correctly, what are the exact commands you used?

@hanqingwu
Copy link

hi , i get the same error,
so i use command like this : go get github.com/kahing/goofys

@hanqingwu
Copy link

hanqingwu commented Feb 21, 2020

go get -v github.com/kahing/goofys
go: finding github.com/kardianos/osext latest
go: finding github.com/jacobsa/fuse latest
go: finding github.com/StackExchange/wmi latest
github.com/kahing/goofys/api/common
github.com/kahing/goofys/internal
# github.com/kahing/goofys/internal
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/backend_adlv1.go:111:9: assignment mismatch: 2 variables but "github.com/satori/go.uuid".NewV4 returns 1 values
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/backend_adlv1.go:516:15: assignment mismatch: 2 variables but "github.com/satori/go.uuid".NewV4 returns 1 values
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/dir.go:890:24: undefined: fuseops.OpMetadata
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/file.go:70:45: undefined: fuseops.OpMetadata
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/goofys.go:847:27: op.Metadata undefined (type *fuseops.OpenFileOp has no field or method Metadata)
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/goofys.go:901:26: op.Metadata undefined (type *fuseops.FlushFileOp has no field or method Metadata)
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/goofys.go:961:40: op.Metadata undefined (type *fuseops.CreateFileOp has no field or method Metadata)
pkg/mod/github.com/kahing/goofys@v0.23.1/internal/handles.go:474:39: undefined: fuseops.OpMetadata

@Fiber-Man
Copy link

#527

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

4 participants