[Bug 2007000] Re: libpillowfight: autopkgtest failure on amd64 when built with LTO enabled
Graham Inggs
2007000 at bugs.launchpad.net
Sat Feb 11 17:02:11 UTC 2023
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 <steve.langasek at ubuntu.com> Wed, 17 Nov 2021
21:44:34 +0000
[1] https://launchpad.net/ubuntu/+source/libpillowfight/0.3.0-4ubuntu1
** Also affects: lto-disabled-list (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lto-disabled-list in Ubuntu.
https://bugs.launchpad.net/bugs/2007000
Title:
libpillowfight: autopkgtest failure on amd64 when built with LTO
enabled
Status in libpillowfight package in Ubuntu:
New
Status in lto-disabled-list package in Ubuntu:
New
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://autopkgtest.ubuntu.com/packages/libpillowfight/jammy/amd64
=================================== FAILURES ===================================
_____________________________ TestCanny.test_canny _____________________________
self = <tests.tests_canny.TestCanny testMethod=test_canny>
def test_canny(self):
with tempfile.NamedTemporaryFile(suffix='.jpg') as tmpfile:
in_img = PIL.Image.open("tests/data/crappy_background.jpg")
out_img = pillowfight.canny(in_img)
in_img.close()
# beware of JPG compression
self.assertEqual(out_img.mode, "RGB")
out_img.save(tmpfile.name)
out_img.close()
out_img = PIL.Image.open(tmpfile.name)
expected_img = PIL.Image.open(
"tests/data/crappy_background_canny.jpg"
)
> self.assertEqual(out_img.tobytes(), expected_img.tobytes())
E AssertionError: b'\x0[92392 chars]00\x07\x07\x07\xb4\xb4\xb4\x00\x00\x00\t\t\t\x[13088988 chars]\x00' != b'\x0[92392 chars]00\x00\x00\x00\xbc\xbc\xbc\x00\x00\x00\x00\x00[13089030 chars]\x00'
tests/tests_canny.py:25: AssertionError
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpillowfight/+bug/2007000/+subscriptions
More information about the foundations-bugs
mailing list