FTBFS on impish

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

Bug Description

Fails to build from source in a clean impish schroot (via sbuild), the tests fail.

See the attached logs.

Note that it builds fine on hirsute as well as Debian unstable and bullseye.

Tags: ftbfs lto
Revision history for this message
Simon Chopin (schopin) wrote :
Changed in libuv1 (Ubuntu):
assignee: nobody → Simon Chopin (schopin)
status: New → In Progress
Revision history for this message
Simon Chopin (schopin) wrote :

When recompiling manually without the LTO flags in CFLAGS, the test passes.

Revision history for this message
Simon Chopin (schopin) wrote :

Sent a patch to the Debian Salsa repository : https://salsa.debian.org/debian/libuv1/-/merge_requests/1

Simon Chopin (schopin)
tags: added: ftbfs
Matthias Klose (doko)
tags: added: lto
Revision history for this message
Simon Chopin (schopin) wrote :

Some more context :

* https://github.com/libuv/libuv#-fno-strict-aliasing
* https://github.com/libuv/libuv/issues/1230

It has been fixed upstream in the 1.41 by adding this same flag in their build systems:

https://github.com/libuv/libuv/commit/cbcd0cfc824c712f6068930507a34d6b80e33b29

Revision history for this message
Simon Chopin (schopin) wrote :

Since the problem has been fixed upstream, I'm not sure the Salsa MR will make it into Debian, as the maintainer might simply want to upload a new upstream version.

So I'll simply backport the upstream fix in Ubuntu. I think this will make it easier for a future contributor to identify that the fix can be safely drop in future syncs.

Revision history for this message
Simon Chopin (schopin) wrote :
Revision history for this message
Simon Chopin (schopin) wrote :
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.40.0-2ubuntu1

---------------
libuv1 (1.40.0-2ubuntu1) impish; urgency=medium

  * debian/patches/lp1939707-build-turn-on-fno-strict-aliasing.patch:
    cherry-picked from upstream to fix LTO-related FTBFS. LP: #1939707

 -- Simon Chopin <email address hidden> Mon, 06 Sep 2021 10:16:30 +0200

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

Bug attachments

Remote bug watches

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