According to upstream, this might fix the issue

diff -Nru vips-8.10.1/debian/changelog vips-8.10.1/debian/changelog
--- vips-8.10.1/debian/changelog        2020-10-03 18:41:08.000000000 +0200
+++ vips-8.10.1/debian/changelog        2020-10-07 13:20:49.000000000 +0200
@@ -1,3 +1,12 @@
+vips (8.10.1-2ubuntu1) groovy; urgency=medium
+
+  * debian/patches/143c815a0a85cb187bc6f690dab0555fd617063e.patch:
+    - cherry-pick an upstream fix for autopkgtests on arm64 and ppc64el
+      ( See Debian bug: #969538 and
+        https://github.com/libvips/libvips/issues/1846 )
+
+ -- Gianfranco Costamagna <locutusofb...@debian.org>  Wed, 07 Oct 2020 
13:20:49 +0200
+
 vips (8.10.1-2) unstable; urgency=medium
 
   * Backport upstream fix for docs building with gobject-introspection 1.66+
diff -Nru 
vips-8.10.1/debian/patches/143c815a0a85cb187bc6f690dab0555fd617063e.patch 
vips-8.10.1/debian/patches/143c815a0a85cb187bc6f690dab0555fd617063e.patch
--- vips-8.10.1/debian/patches/143c815a0a85cb187bc6f690dab0555fd617063e.patch   
1970-01-01 01:00:00.000000000 +0100
+++ vips-8.10.1/debian/patches/143c815a0a85cb187bc6f690dab0555fd617063e.patch   
2020-10-07 13:20:49.000000000 +0200
@@ -0,0 +1,37 @@
+Origin: 
https://github.com/kleisauke/libvips/commit/143c815a0a85cb187bc6f690dab0555fd617063e
+Bug: https://github.com/libvips/libvips/issues/1846
+From 143c815a0a85cb187bc6f690dab0555fd617063e Mon Sep 17 00:00:00 2001
+From: kleisauke <git...@kleisauke.nl>
+Date: Wed, 7 Oct 2020 15:20:18 +0200
+Subject: [PATCH] Try a patch for libvips/libvips#1846
+
+---
+ libvips/morphology/morph.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/libvips/morphology/morph.c b/libvips/morphology/morph.c
+index 7f7ffc485..07a6fc517 100644
+--- a/libvips/morphology/morph.c
++++ b/libvips/morphology/morph.c
+@@ -449,8 +449,8 @@ vips_dilate_gen( VipsRegion *or,
+               seq->ss = 0;
+               seq->cs = 0;
+               for( y = 0; y < M->Ysize; y++ )
+-                      for( x = 0; x < M->Xsize; x++ )
+-                              switch( t[x] ) {
++                      for( x = 0; x < M->Xsize; x++, t++ )
++                              switch( *t ) {
+                               case 255:
+                                       soff[seq->ss++] =
+                                               VIPS_REGION_ADDR( ir, 
+@@ -560,8 +560,8 @@ vips_erode_gen( VipsRegion *or,
+               seq->ss = 0;
+               seq->cs = 0;
+               for( y = 0; y < M->Ysize; y++ )
+-                      for( x = 0; x < M->Xsize; x++ )
+-                              switch( t[x] ) {
++                      for( x = 0; x < M->Xsize; x++, t++ )
++                              switch( *t ) {
+                               case 255:
+                                       soff[seq->ss++] =
+                                               VIPS_REGION_ADDR( ir, 
diff -Nru vips-8.10.1/debian/patches/series vips-8.10.1/debian/patches/series
--- vips-8.10.1/debian/patches/series   2020-10-03 18:41:08.000000000 +0200
+++ vips-8.10.1/debian/patches/series   2020-10-07 13:20:49.000000000 +0200
@@ -1,2 +1,3 @@
 reproducible-build.patch
 fix_build_with_goi_1.66+.patch
+143c815a0a85cb187bc6f690dab0555fd617063e.patch


G.

Reply via email to