[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948704: marked as done (stretch-pu: package sorl-thumbnail/12.3+git20160928-2+deb9u1)



Your message dated Sat, 08 Feb 2020 14:23:35 +0000
with message-id <a894a0233c2d264936953d7a69507573c4a5742a.camel@adam-barratt.org.uk>
and subject line Closing bugs included in 9.12
has caused the Debian Bug report #948704,
regarding stretch-pu: package sorl-thumbnail/12.3+git20160928-2+deb9u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
948704: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948704
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

  * workaround a pgmagick exception (Closes: #902522)

https://tests.reproducible-builds.org/debian/rb-pkg/stretch/amd64/sorl-thumbnail.html

FTBFS and likely also runtime breakage, seems the problem was
backported to stretch with some graphicsmagick/imagemagick
security update.
diff -Nru sorl-thumbnail-12.3+git20160928/debian/changelog sorl-thumbnail-12.3+git20160928/debian/changelog
--- sorl-thumbnail-12.3+git20160928/debian/changelog	2017-04-27 01:10:48.000000000 +0300
+++ sorl-thumbnail-12.3+git20160928/debian/changelog	2020-01-12 13:05:20.000000000 +0200
@@ -1,3 +1,10 @@
+sorl-thumbnail (12.3+git20160928-2+deb9u1) stretch; urgency=medium
+
+  * Non-maintainer upload.
+  * workaround a pgmagick exception (Closes: #902522)
+
+ -- Adrian Bunk <bunk@debian.org>  Sun, 12 Jan 2020 13:05:20 +0200
+
 sorl-thumbnail (12.3+git20160928-2) unstable; urgency=medium
 
   * Disable support for Wand again, because tests crash on i386
diff -Nru sorl-thumbnail-12.3+git20160928/debian/patches/series sorl-thumbnail-12.3+git20160928/debian/patches/series
--- sorl-thumbnail-12.3+git20160928/debian/patches/series	2016-10-04 03:04:18.000000000 +0300
+++ sorl-thumbnail-12.3+git20160928/debian/patches/series	2020-01-12 13:05:20.000000000 +0200
@@ -1,3 +1,4 @@
+workaround-pgmagick-exception.patch
 orientation.patch
 disable_http_tests.patch
 icc_profile.patch
diff -Nru sorl-thumbnail-12.3+git20160928/debian/patches/workaround-pgmagick-exception.patch sorl-thumbnail-12.3+git20160928/debian/patches/workaround-pgmagick-exception.patch
--- sorl-thumbnail-12.3+git20160928/debian/patches/workaround-pgmagick-exception.patch	1970-01-01 02:00:00.000000000 +0200
+++ sorl-thumbnail-12.3+git20160928/debian/patches/workaround-pgmagick-exception.patch	2020-01-12 13:03:12.000000000 +0200
@@ -0,0 +1,22 @@
+Description: workaround an exception with newer pgmagick version
+Author: W. Martin Borgert <debacle@debian.org>
+Origin: vendor
+Bug: https://github.com/jazzband/sorl-thumbnail/issues/558
+Bug-Debian: https://bugs.debian.org/902522
+Last-Update: 2018-08-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/sorl/thumbnail/engines/pgmagick_engine.py
++++ b/sorl/thumbnail/engines/pgmagick_engine.py
+@@ -26,7 +26,10 @@
+     def is_valid_image(self, raw_data):
+         blob = Blob()
+         blob.update(raw_data)
+-        im = Image(blob)
++        try:
++            im = Image(blob)
++        except RuntimeError:
++            return False
+         return im.isValid()
+ 
+     def _cropbox(self, image, x, y, x2, y2):

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 9.12

Hi,

Each of the uploads referred to by these bugs was included in today's
oldstable point release.

Regards,

Adam

--- End Message ---

Reply to: