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

Bump versions in .cirrus.yml #687

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task:
image_project: pg-ci-images
# OpenBSD version should match
# https://github.com/anarazel/pg-vm-images/blob/main/packer/openbsd.pkrvars.hcl
image: family/pg-ci-openbsd-vanilla-7-3
image: family/pg-ci-openbsd-vanilla-7-5
platform: openbsd
install_script: pkg_add ghc cabal-install git
script:
Expand All @@ -27,7 +27,7 @@ task:
image_project: pg-ci-images
# NetBSD version should match
# https://github.com/anarazel/pg-vm-images/blob/main/packer/netbsd.pkrvars.hcl
image: family/pg-ci-netbsd-vanilla-9-3
image: family/pg-ci-netbsd-vanilla-10-0
platform: netbsd
install_script:
- export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.)/All/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the offending line for the NetBSD failures like in https://github.com/haskell/bytestring/pull/673/checks?check_run_id=27752349204

If you see in in the log

pkg_add: Warning: package `git-2.45.2' was built for a platform:
pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
pkg_add: Warning: package `git-base-2.45.2' was built for a platform:
pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
pkg_add: Warning: package `pcre2-10.44' was built for a platform:
pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
pkg_add: Warning: package `curl-8.8.0nb1' was built for a platform:
pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
pkg_add: A different version of curl-8.8.0nb1 is already installed: curl-8.7.1
pkg_add: Can't install dependency curl>=8.7.1nb1
pkg_add: Expected dependency curl>=8.7.1nb1 still missing
pkg_add: Can't install dependency git-base>=2.45.2
pkg_add: Expected dependency git-base>=2.45.2 still missing
pkg_add: 1 package addition failed

Specifically, pkg_add: NetBSD/x86_64 9.0 (pkg) vs. NetBSD/x86_64 9.3 (this host)
you can see that the cdn packages are for NetBSD 9.0 but the image in main is 9.3.

So, either set the NetBSD version to 9.0 or the PKG_PATH needs to be updated to have the package set compiled for the specified NetBSD version.

Expand Down
Loading