GNU bug report logs -
#68560
[PATCH 0/5] Disable failing leptonica tests.
Previous Next
Reported by: Herman Rimm <herman <at> rimm.ee>
Date: Thu, 18 Jan 2024 07:08:02 UTC
Severity: normal
Tags: patch
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 68560 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/image.scm (leptonica): Update to 1.84.1.
[inputs]: Replace with libjpeg-turbo-3 and openjpeg-2024.
[arguments]: Add phase to disable ioformats_reg and pngio_reg tests.
Change-Id: I31e104532c87fbe3a5648ef8c0f3c8961877b15b
---
gnu/packages/image.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 9b120760ae..6ba2c2464f 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -752,7 +752,7 @@ (define-public libtiff
(define-public leptonica
(package
(name "leptonica")
- (version "1.83.1")
+ (version "1.84.1")
(source
(origin
(method git-fetch)
@@ -761,7 +761,7 @@ (define-public leptonica
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1j7qf9flb48q0aymf0yx9rypy3bs6hfjcln08zmy8qn2qcjzrmvi"))))
+ (base32 "0b4ikf1p2ll4310n4dg5lg0b79wys71fb6nj22i7pz17wjdma0j8"))))
(build-system gnu-build-system)
(native-inputs
(list gnuplot ;needed for test suite
@@ -771,16 +771,21 @@ (define-public leptonica
pkg-config))
(inputs
(list giflib
- libjpeg-turbo
+ libjpeg-turbo-3
libpng
libtiff
libwebp
- openjpeg
+ openjpeg-2024
zlib))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ (substitute* "prog/Makefile.am"
+ (("ioformats_reg") ""); Fails for unclear reason.
+ (("pngio_reg") "")))) ; Fails non-deterministically.
(add-after 'unpack 'patch-reg-wrapper
(lambda _
(substitute* "prog/reg_wrapper.sh"
--
2.41.0
This bug report was last modified 1 year and 85 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.