[Bug 2007000] Re: libpillowfight: autopkgtest failure on amd64 when built with LTO enabled

Launchpad Bug Tracker 2007000 at bugs.launchpad.net
Sat Feb 11 20:51:15 UTC 2023


This bug was fixed in the package lto-disabled-list - 38

---------------
lto-disabled-list (38) lunar; urgency=medium

  * Add libpillowfight on amd64 to avoid autopkgtest failure (LP: #2007000)
  * Add gensio to avoid FTBFS due to missing symbols (LP: #1991617)

 -- Graham Inggs <ginggs at ubuntu.com>  Sat, 11 Feb 2023 17:05:01 +0000

** Changed in: lto-disabled-list (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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