[pkg-go] gcsfuse -- fuse file system for Google Cloud Storage

Michael Stapelberg stapelberg at debian.org
Fri Aug 7 08:04:51 UTC 2015


With jacobsa/fuse git20150806 (commit 9a7512a), I get:

# github.com/googlecloudplatform/gcsfuse/fs
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:282:
op.Data undefined (type *fuseops.ReadDirOp has no field or method
Data)
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:282:
undefined: fuseutil.AppendDirent
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:282:
op.Data undefined (type *fuseops.ReadDirOp has no field or method
Data)
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:283:
op.Data undefined (type *fuseops.ReadDirOp has no field or method
Data)
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:283:
op.Size undefined (type *fuseops.ReadDirOp has no field or method
Size)
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:284:
op.Data undefined (type *fuseops.ReadDirOp has no field or method
Data)
src/github.com/googlecloudplatform/gcsfuse/fs/dir_handle.go:284:
op.Size undefined (type *fuseops.ReadDirOp has no field or method
Size)
src/github.com/googlecloudplatform/gcsfuse/fs/fs.go:1403: op.Data
undefined (type *fuseops.ReadFileOp has no field or method Data)
src/github.com/googlecloudplatform/gcsfuse/fs/fs.go:1403: op.Size
undefined (type *fuseops.ReadFileOp has no field or method Size)
src/github.com/googlecloudplatform/gcsfuse/fs/fs.go:1403: too many errors

On Thu, Jul 30, 2015 at 10:13 AM, Aaron Jacobs <jacobsa at google.com> wrote:
> Sorry, I had the problem backwards—gcsfuse was too new, not too old. Do you
> see the error after updating jacobsa/fuse?
>
> On Thu, Jul 30, 2015 at 5:53 PM Michael Stapelberg <stapelberg at debian.org>
> wrote:
>>
>> I get exactly the same build failure when trying to package gcsfuse
>> v0.5.0.
>>
>> On Tue, Jul 28, 2015 at 12:22 PM, Aaron Jacobs <jacobsa at google.com> wrote:
>> > On Tue, Jul 28, 2015 at 6:05 PM, Michael Stapelberg
>> > <stapelberg at debian.org> wrote:
>> >> Indeed. Currently, when building, I get:
>> >>
>> >> # github.com/googlecloudplatform/gcsfuse/fs
>> >> src/github.com/googlecloudplatform/gcsfuse/fs/fs.go:203: cannot use fs
>> >> (type
>> >> *fileSystem) as type fuseutil.FileSystem in argument to
>> >> fuseutil.NewFileSystemServer:
>> >> *fileSystem does not implement fuseutil.FileSystem (wrong type for
>> >> CreateFile method)
>> >> have CreateFile(context.Context, *fuseops.CreateFileOp) error
>> >> want CreateFile(*fuseops.CreateFileOp) error
>> >>
>> >> I might be able to take a look at that later this evening, but if you
>> >> happen
>> >> to know what the issue is, that might save me some time. I’m guessing
>> >> one of
>> >> the dependencies was changed in a backwards-incompatible way :).
>> >
>> > That's right, sorry. :-) It wasn't a problem due to vendoring, but I
>> > guess
>> > you've got a version skew when building without vendor/. If you're
>> > trying to
>> > use jacobsa/fuse from HEAD, you want gcsfuse v0.5.0. Sorry to make you
>> > chase it.
>>
>>
>>
>> --
>> Best regards,
>> Michael



-- 
Best regards,
Michael



More information about the Pkg-go-maintainers mailing list