libpillowfight: autopkgtest failure on amd64 when built with LTO enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpillowfight (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
lto-disabled-list (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The autopkgtests of libpillowfight fail on amd64 when built with LTO enabled, as can be seen with 0.3.0-4build2 in jammy [1]. I've copied what I hope is the relevant part of the log below.
[1] https:/
=======
_______
self = <tests.
def test_canny(self):
with tempfile.
in_img = PIL.Image.
out_img = pillowfight.
# beware of JPG compression
out_img = PIL.Image.
)
> self.assertEqua
E AssertionError: b'\x0[92392 chars]00\
tests/tests_
This was fixed in 0.3.0-4ubuntu1 [1]:
libpillowfight (0.3.0-4ubuntu1) jammy; urgency=medium
* Turn off use of LTO on amd64, which results in a misbuild.
-- Steve Langasek <email address hidden> Wed, 17 Nov 2021 21:44:34 +0000
[1] https:/ /launchpad. net/ubuntu/ +source/ libpillowfight/ 0.3.0-4ubuntu1