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

failure building with btrfs-progs 6.1 #211

Closed
aminvakil opened this issue Dec 27, 2022 · 3 comments
Closed

failure building with btrfs-progs 6.1 #211

aminvakil opened this issue Dec 27, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@aminvakil
Copy link
Contributor

Description
I maintain dockle package on AUR (15cfad2) and testing that it builds and packages correctly every night on a clean Arch Linux instance.

Since yesterday night after btrfs-progs 6.1 has been released (6.0.2 was fine) this error started to happen:

/home/devel/go/pkg/mod/github.com/containers/storage@v1.38.2/drivers/btrfs/btrfs.go:385:11: args.lim.max_referenced undefined (type _Ctype_struct_btrfs_qgroup_limit has no field or method max_referenced)

I have also found this moby/moby#44698 which may be relevant.

What did you expect to happen?
https://github.com/aminvakil/aur/actions/runs/3778493275/jobs/6423010765#step:11:89 (Last successful run)

What happened instead?
https://github.com/aminvakil/aur/actions/runs/3784578791/jobs/6433988661#step:11:173

Output of run with -debug:
Irrelevant.

Output of dockle -v:
Irrelevant.

Additional details (base image name, container registry info...):
Build section is like this, full PKGBUILD is here: https://github.com/aminvakil/aur/blob/master/dockle/PKGBUILD

  export CGO_CPPFLAGS="${CPPFLAGS}"
  export CGO_CFLAGS="${CFLAGS}"
  export CGO_CXXFLAGS="${CXXFLAGS}"
  export CGO_LDFLAGS="${LDFLAGS}"
  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
  go build -o build ./cmd/dockle
@aminvakil aminvakil added the bug Something isn't working label Dec 27, 2022
aminvakil added a commit to aminvakil/aur that referenced this issue Dec 31, 2022
@tomoyamachi
Copy link
Collaborator

Thank you for reporting!
Many libraries used by Dockle depend on moby/moby. This line(docker/docker) in the go.mod file is an alias for moby/moby.
We need to wait for the related libraries to upgrade with the moby's fix. Then we will fix the building bug.

@aminvakil
Copy link
Contributor Author

https://github.com/moby/moby/releases/tag/v20.10.23 has been released last week.

@tomoyamachi
Copy link
Collaborator

@aminvakil Thank you for your notification.
I've fixed it on v0.4.11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants