You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Does this package Support z/OS (s390x) or not? #578
Now when I tried to run 'go build .' with my sftp project on z/OS USS, it failed with error ../../go/pkg/mod/github.com/pkg/[email protected]/attrs.go:101:2: undefined: fileStatFromInfoOs
../../go/pkg/mod/github.com/pkg/[email protected]/ls_formatting.go:70:24: undefined: lsLinksUIDGID
I am wondering if this sftp package supports IBM mainframe zos/s390x or not? If yes, what could be the reason of the above problem?
If not, what needs to be done to add the support?
Looking around. I don’t know if we do. I get go: unsupported GOOS/GOARCH pair zos/s390x when I try. I’m also not finding support for zos in the builtin syscall library?
Can you try the support-zos-s390x branch and see if that works? If it doesn’t let me know the messages, and I’ll work on that.
We did a small code audit of the open issues, and we think this one is already addressed.
The support-zos-s390x branch that was confirmed working above was merged as #580 and released in v1.13.7. zos is now in the build constraints of the files that were missing on z/OS:
Activity
[-]Does this package Support z/OS (s390) or not?[/-][+]Does this package Support z/OS (s390x) or not?[/+]puellanivis commentedon Mar 15, 2024
Looking around. I don’t know if we do. I get
go: unsupported GOOS/GOARCH pair zos/s390xwhen I try. I’m also not finding support forzosin the builtinsyscalllibrary?Can you try the
support-zos-s390xbranch and see if that works? If it doesn’t let me know the messages, and I’ll work on that.drimmeer commentedon Mar 15, 2024
Thank you very much Cassondra, branch support-zos-s390x works!
At least I could build my code and do a normal sftp with it!
christhomas commentedon Oct 15, 2026
We did a small code audit of the open issues, and we think this one is already addressed.
The
support-zos-s390xbranch that was confirmed working above was merged as #580 and released in v1.13.7.zosis now in the build constraints of the files that were missing on z/OS:sftp/attrs_unix.go
Line 1 in 16147c5
sftp/ls_unix.go
Line 1 in 16147c5
So we think this can be closed.