.github/workflows: update QEMU packages to 10.2.1 (#440)
The old version (10.0.7) was removed from the Debian repository, causing CI to fail with wget exit code 8.
- commit
- 386f7c8fb549c1550e3976597befa25a248e77ed
- author
- Hajime Hoshi · · 2026-03-18 13:09 UTC
- committer
- GitHub · · 2026-03-18 13:09 UTC
- parent
- 1d88bcc
- signature
- GPG Unverified
B5690EEEBB952194The key is unknown
1 file · +8 -4
M .github/workflows/test.yml +8 -4
| @@ -2,6 +2,9 @@ name: Test | |||
| 2 | 2 | ||
| 3 | 3 | on: [push, pull_request] | |
| 4 | 4 | ||
| 5 | + | env: | |
| 6 | + | QEMU_VERSION: "10.2.1+ds-1" | |
| 7 | + | ||
| 5 | 8 | jobs: | |
| 6 | 9 | test: | |
| 7 | 10 | strategy: | |
| @@ -136,9 +139,10 @@ jobs: | |||
| 136 | 139 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | |
| 137 | 140 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | |
| 138 | 141 | # causing TestSetuidEtc to deadlock. | |
| 139 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_10.0.7+ds-0+deb13u1+b1_arm64.deb -O /tmp/qemu-user.deb | |
| 140 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_10.0.7+ds-0+deb13u1+b1_arm64.deb -O /tmp/qemu-user-binfmt.deb | |
| 142 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_arm64.deb -O /tmp/qemu-user.deb | |
| 143 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_${QEMU_VERSION}_arm64.deb -O /tmp/qemu-user-binfmt.deb | |
| 141 | 144 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | |
| 145 | + | sudo apt-get -f install -y | |
| 142 | 146 | ||
| 143 | 147 | # Create symlink for the dynamic linker that QEMU expects | |
| 144 | 148 | sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 | |
| @@ -194,8 +198,8 @@ jobs: | |||
| 194 | 198 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | |
| 195 | 199 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | |
| 196 | 200 | # causing TestSetuidEtc to deadlock. | |
| 197 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_10.0.7+ds-0+deb13u1+b1_amd64.deb -O /tmp/qemu-user.deb | |
| 198 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_10.0.7+ds-0+deb13u1+b1_amd64.deb -O /tmp/qemu-user-binfmt.deb | |
| 201 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_amd64.deb -O /tmp/qemu-user.deb | |
| 202 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_${QEMU_VERSION}_amd64.deb -O /tmp/qemu-user-binfmt.deb | |
| 199 | 203 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | |
| 200 | 204 | sudo apt-get -f install -y | |
| 201 | 205 | ||
| @@ -2,6 +2,9 @@ name: Test | |||||
| 2 | 2 | ||||
| 3 | on: [push, pull_request] | 3 | on: [push, pull_request] | ||
| 4 | 4 | ||||
| 5 | + | env: | |||
| 6 | + | QEMU_VERSION: "10.2.1+ds-1" | |||
| 7 | + | ||||
| 5 | jobs: | 8 | jobs: | ||
| 6 | test: | 9 | test: | ||
| 7 | strategy: | 10 | strategy: | ||
| @@ -136,9 +139,10 @@ jobs: | |||||
| 136 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | 139 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | ||
| 137 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | 140 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | ||
| 138 | # causing TestSetuidEtc to deadlock. | 141 | # causing TestSetuidEtc to deadlock. | ||
| 139 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_10.0.7+ds-0+deb13u1+b1_arm64.deb -O /tmp/qemu-user.deb | 142 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_arm64.deb -O /tmp/qemu-user.deb |
| 140 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_10.0.7+ds-0+deb13u1+b1_arm64.deb -O /tmp/qemu-user-binfmt.deb | 143 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_${QEMU_VERSION}_arm64.deb -O /tmp/qemu-user-binfmt.deb |
| 141 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | 144 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | ||
| 145 | + | sudo apt-get -f install -y | |||
| 142 | 146 | ||||
| 143 | # Create symlink for the dynamic linker that QEMU expects | 147 | # Create symlink for the dynamic linker that QEMU expects | ||
| 144 | sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 | 148 | sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3 | ||
| @@ -194,8 +198,8 @@ jobs: | |||||
| 194 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | 198 | # Install QEMU 10.x from Debian trixie. Ubuntu 24.04 ships QEMU 8.2 | ||
| 195 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | 199 | # which has a bug where inter-thread signal delivery (tgkill) hangs, | ||
| 196 | # causing TestSetuidEtc to deadlock. | 200 | # causing TestSetuidEtc to deadlock. | ||
| 197 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_10.0.7+ds-0+deb13u1+b1_amd64.deb -O /tmp/qemu-user.deb | 201 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user_${QEMU_VERSION}_amd64.deb -O /tmp/qemu-user.deb |
| 198 | - | wget -q http://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_10.0.7+ds-0+deb13u1+b1_amd64.deb -O /tmp/qemu-user-binfmt.deb | 202 | + | wget -q https://ftp.debian.org/debian/pool/main/q/qemu/qemu-user-binfmt_${QEMU_VERSION}_amd64.deb -O /tmp/qemu-user-binfmt.deb |
| 199 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | 203 | sudo dpkg --force-depends -i /tmp/qemu-user.deb /tmp/qemu-user-binfmt.deb | ||
| 200 | sudo apt-get -f install -y | 204 | sudo apt-get -f install -y | ||
| 201 | 205 | ||||