libuv1 FTBFS on s390x on Ubuntu buildds

Bug #2046442 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libuv1 (Ubuntu)
Fix Released
High
Simon Chopin

Bug Description

https://launchpadlibrarian.net/702489757/buildlog_ubuntu-noble-s390x.libuv1_1.46.0-2_BUILDING.txt.gz

A couple of tests are failing on the s390x builds. I couldn't reproduce this on a noble container running on a Jammy system, my next step is to try and do the same on a Focal system, to see if might be kernel-related.

Failing tests:

not ok 147 - idle_starvation
# exit code 134
# Output from process `idle_starvation`:
# timer_cb 1
# Assertion failed in ./test/test-idle.c on line 93: idle_cb_called > 0

not ok 366 - timer_from_check
# exit code 134
# Output from process `timer_from_check`:
# Assertion failed in ./test/test-timer-from-check.c on line 45: 1 == prepare_cb_called

Tags: ftbfs s390x
Simon Chopin (schopin)
description: updated
Frank Heimes (fheimes)
tags: added: s390x
Revision history for this message
Simon Chopin (schopin) wrote :

As suspected, this is kernel related.

The following patch from upstream fixes the issue by disablue io_uring on older kernels:
https://github.com/libuv/libuv/commit/50b53cbd0db8d4e7be06939a0976ff520e791d31

I've just uploaded a version with it, and forwarded the issue to Debian.

Changed in libuv1 (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libuv1 - 1.46.0-2ubuntu1

---------------
libuv1 (1.46.0-2ubuntu1) noble; urgency=medium

  * Fix FTBFS on s390x on older kernels (LP: #2046442)

 -- Simon Chopin <email address hidden> Fri, 15 Dec 2023 12:44:15 +0100

Changed in libuv1 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.