Created attachment 404734 [details] dev-python:pillow-2.8.1:20150607-063427.log TestFileIco.test_save_to_bytes ... ERROR ====================================================================== ERROR: TestFileIco.test_save_to_bytes ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/Tests/test_file_ico.py", line 27, in test_save_to_bytes reloaded = Image.open(output) File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/Image.py", line 2266, in open im = factory(fp, filename) File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/ImageFile.py", line 97, in __init__ self._open() File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/IcoImagePlugin.py", line 265, in _open self.load() File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/IcoImagePlugin.py", line 268, in load im = self.ico.getimage(self.size) File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/IcoImagePlugin.py", line 151, in getimage return self.frame(i) File "/var/tmp/portage/dev-python/pillow-2.8.1/work/Pillow-2.8.1-python3_3/build/lib/PIL/IcoImagePlugin.py", line 161, in frame self.buf.seek(header['offset']) OverflowError: Python int too large to convert to C ssize_t ---------------------------------------------------------------------- Ran 83 tests in 77.610s FAILED (errors=1) * ERROR: dev-python/pillow-2.8.1::gentoo failed (test phase): * Testing failed with python3.3 *
+ 15 Jun 2015; Justin Lecher <jlec@gentoo.org> + +files/pillow-2.8.1-ico-backport.patch, pillow-2.8.1.ebuild, + pillow-2.8.2.ebuild: + backport patch for endianess of ico files, hopefully fixing bug #551422 & bug + #551424 + Please test.