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

Ubuntu 20.04 arm64 packages fail to install as of today #7902

Closed
2 of 10 tasks
glebm opened this issue Jul 12, 2023 · 4 comments
Closed
2 of 10 tasks

Ubuntu 20.04 arm64 packages fail to install as of today #7902

glebm opened this issue Jul 12, 2023 · 4 comments

Comments

@glebm
Copy link

glebm commented Jul 12, 2023

Description

Today, our Aarch64 cross build workflow failed with the following error:

$ sudo apt-get install -y cmake git smpq gettext crossbuild-essential-arm64 libsdl2-dev:arm64 libsdl2-image-dev:arm64 libsodium-dev:arm64 libsimpleini-dev:arm64 libpng-dev:arm64 libbz2-dev:arm64 libfmt-dev:arm64

...

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

This workflow has worked fine until now.

/cc @AJenbo

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20230702.1.0

Is it regression?

yes, same version, https://github.com/diasurgical/devilutionX/actions/runs/5517420608/jobs/10060014683

Expected behavior

sucess

Actual behavior

failure

Repro steps

Run the workflow, or simply run this:

# Work around the somewhat broken packages in the GitHub Actions Ubuntu 20.04 image.
# https://github.com/actions/runner-images/issues/4620#issuecomment-981333260
sudo apt-get -y install --allow-downgrades libpcre2-8-0=10.34-7
# Install arm64 cross-build packages
Packaging/nix/debian-cross-aarch64-prep.sh

(https://github.com/diasurgical/devilutionX/blob/master/Packaging/nix/debian-cross-aarch64-prep.sh)

@ilia-shipitsin
Copy link
Contributor

Hello, @glebm

I see "apt-get install ..." in workflow (but no "apt-get update")
https://github.com/diasurgical/devilutionX/actions/runs/5525336672/workflow#L32-L37

"apt-get install ..." operates with local package cache, which should be updated first, for example: https://blog.packagecloud.io/you-need-apt-get-update-and-apt-get-upgrade/

@AJenbo
Copy link

AJenbo commented Jul 12, 2023

Apt update didn't help when I tried it earlier

@glebm
Copy link
Author

glebm commented Jul 13, 2023

@ilia-shipitsin Hi Ilia, that's not the step that fails. We do invoke sudo apt-get update in a subsequent step:

https://github.com/diasurgical/devilutionX/blob/de081b7080ada9814966682f8357828a9aedf31d/Packaging/nix/debian-cross-aarch64-prep.sh#L21

@glebm
Copy link
Author

glebm commented Jul 13, 2023

The issue got fixed in the new image version (20230710.1.0) https://github.com/diasurgical/devilutionX/actions/runs/5537840856/jobs/10107118804

@glebm glebm closed this as completed Jul 13, 2023
@ilia-shipitsin ilia-shipitsin self-assigned this Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants