build: upgrade qemu-user-static package
4.2 is three years old by now. The linux/alpha emulator in that version doesn't support the epoll_create1() system call.
This commit is contained in:
parent
d59b2905f9
commit
48c90d3781
8
.github/workflows/CI-unix.yml
vendored
8
.github/workflows/CI-unix.yml
vendored
@ -104,13 +104,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install QEMU
|
- name: Install QEMU
|
||||||
# this ensure install latest qemu on ubuntu, apt get version is old
|
# this ensure install latest qemu on ubuntu, apt get version is old
|
||||||
env:
|
|
||||||
QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu"
|
|
||||||
QEMU_VER: "qemu-user-static_4\\.2-.*_amd64.deb$"
|
|
||||||
run: |
|
run: |
|
||||||
DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`
|
wget http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_7.0+dfsg-7ubuntu1_amd64.deb
|
||||||
wget $QEMU_SRC/$DEB
|
sudo dpkg -i qemu-user-static_7.0+dfsg-7ubuntu1_amd64.deb
|
||||||
sudo dpkg -i $DEB
|
|
||||||
- name: Install ${{ matrix.config.toolchain }}
|
- name: Install ${{ matrix.config.toolchain }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
|||||||
@ -1393,6 +1393,13 @@ TEST_IMPL(fs_fstat) {
|
|||||||
struct stat t;
|
struct stat t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__s390__) && defined(__QEMU__)
|
||||||
|
/* qemu-user-s390x has this weird bug where statx() reports nanoseconds
|
||||||
|
* but plain fstat() does not.
|
||||||
|
*/
|
||||||
|
RETURN_SKIP("Test does not currently work in QEMU");
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Setup. */
|
/* Setup. */
|
||||||
unlink("test_file");
|
unlink("test_file");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user