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

Doesn't build for plan9 #156

Closed
ncw opened this Issue Feb 1, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@ncw
Contributor

ncw commented Feb 1, 2017

This isn't a big deal for me, I'll just conditionally compile rclone for plan9 - thought you might like to know though!

$ GOOS=plan9 GOARCH=amd64 go build github.com/pkg/sftp
# github.com/pkg/sftp
go/src/github.com/pkg/sftp/attrs.go:90: undefined: fileStatFromInfoOs
go/src/github.com/pkg/sftp/attrs.go:186: undefined: syscall.S_ISGID
go/src/github.com/pkg/sftp/attrs.go:189: undefined: syscall.S_ISUID
go/src/github.com/pkg/sftp/attrs.go:192: undefined: syscall.S_ISVTX
go/src/github.com/pkg/sftp/attrs.go:219: undefined: syscall.S_ISGID
go/src/github.com/pkg/sftp/attrs.go:222: undefined: syscall.S_ISUID
go/src/github.com/pkg/sftp/attrs.go:225: undefined: syscall.S_ISVTX
go/src/github.com/pkg/sftp/server.go:56: undefined: syscall.EBADF
go/src/github.com/pkg/sftp/server.go:240: undefined: syscall.EBADF
go/src/github.com/pkg/sftp/server.go:555: undefined: syscall.Errno
go/src/github.com/pkg/sftp/server.go:240: too many errors
@eikenb

This comment has been minimized.

Member

eikenb commented Feb 14, 2017

If you'd like to submit a PR and help support plan9 as a platform, please do. Unfortunately I don't have the time right now to setup and learn plan9 in order to support it.

@eikenb eikenb closed this Feb 14, 2017

@ncw

This comment has been minimized.

Contributor

ncw commented Feb 14, 2017

Fair enough! I don't use plan9 either, I just compile for it if possible.

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