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

[BUG] 2.31.0 can't be compiled on OpenBSD #12339

Closed
catap opened this issue Nov 28, 2024 · 4 comments
Closed

[BUG] 2.31.0 can't be compiled on OpenBSD #12339

catap opened this issue Nov 28, 2024 · 4 comments
Labels

Comments

@catap
Copy link
Contributor

catap commented Nov 28, 2024

Description

It fails as:

# github.com/tonistiigi/fsutil/copy
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/copy.go:401:20: undefined: copyFile
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/copy.go:421:15: c.copyFileInfo undefined (type *copier has no field or method copyFileInfo)
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/copy.go:429:15: c.copyFileTimestamp undefined (type *copier has no field or method copyFileTimestamp)
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/copy.go:510:16: c.copyFileInfo undefined (type *copier has no field or method copyFileInfo)
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/copy_nowindows.go:45:9: undefined: mknod
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/stat_bsd.go:11:12: st.Atimespec undefined (type *syscall.Stat_t has no field or method Atimespec)
../../../../go/pkg/mod/github.com/tonistiigi/[email protected]/copy/stat_bsd.go:16:12: st.Mtimespec undefined (type *syscall.Stat_t has no field or method Mtimespec)

which smells like docker/buildx#2772 which was fixed by updating fsutil which includes tonistiigi/fsutil#215.

Steps To Reproduce

No response

Compose Version


Docker Environment


Anything else?

No response

@catap
Copy link
Contributor Author

catap commented Nov 28, 2024

Update to github.com/docker/[email protected] helps

@ndeloof
Copy link
Contributor

ndeloof commented Nov 29, 2024

see #12340

@catap
Copy link
Contributor Author

catap commented Nov 29, 2024

@ndeloof thanks

@ndeloof
Copy link
Contributor

ndeloof commented Dec 6, 2024

Closing as #12340 was merged

@ndeloof ndeloof closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants