Hello Giovanni,

Red Hat ships restricted tools, which cause tests to fail. The unrar command provided by Fedora is unrar-free 0.3.3 with an output format that differs from other implementations. See the end of this message for an example. Tests also fail if the package libheif-tools is installed without libheif-freeworld from rpmfusion.org. The libheif-freeworld package is in the "RPM Fusion free" repository.

Notes could be added to the UPGRADE file that point out that Red Hat's unrar package is not suitable and that heif-dec requires libheif-freeworld on operating systems from Red Hat.

t/handler_archive.t:

        Not found: rar_html_member =  1.0 ARC_HTML  at t/handler_archive.t line 127.         Not found: rar_js_member =  1.0 ARC_JS  at t/handler_archive.t line 127.
Output can be examined in: log/handler_archive.AcegT6/d.handler_archive/12
# Looks like you failed 2 tests of 16.
t/handler_archive.t ...............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/16 subtests

t/handler_image_heic.t:

        Not found: heic_ocr_in_body =  1.0 HANDLER_HEIC  at t/handler_image_heic.t line 58. Output can be examined in: log/handler_image_heic.SWsDfk/d.handler_image_heic/0         Not found: octet_heic_ocr_in_body =  1.0 HANDLER_HEIC  at t/handler_image_heic.t line 70. Output can be examined in: log/handler_image_heic.SWsDfk/d.handler_image_heic/3
# Looks like you failed 2 tests of 6.
t/handler_image_heic.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests

Test Summary Report
-------------------
t/handler_archive.t             (Wstat: 512 (exited 2) Tests: 16 Failed: 2)
  Failed tests:  15-16
  Non-zero exit status: 2
t/handler_image_heic.t          (Wstat: 512 (exited 2) Tests: 6 Failed: 2)
  Failed tests:  2, 5


I get another error message if Net::LibIDN2 is not available:

#   Failed test 'http_url IDN-folds the host to its xn-- form'
#   at t/uri_class.t line 194.
#          got: undef
#     expected: 'https://xn--bcher-kva.example/x'
# Looks like you failed 1 test of 112.
t/uri_class.t .....................

Test Summary Report
-------------------
t/uri_class.t                   (Wstat: 256 (exited 1) Tests: 112 Failed: 1)
  Failed test:  97


Output from Fedora's unrar:

$ /usr/bin/unrar l payload.rar

unrar-free 0.3.3  Copyright (C) 2004  Ben Asselstine, Jeroen Dekkers


RAR archive /home/myuser/payload.rar

Pathname/Comment
                  Size   Date   Time     Attr
----------------------------------------------
 inner.js
                    28 26-06-26 07:33   .....A
 inner.html
                    73 26-06-26 07:33   .....A
----------------------------------------------
    2              101


Output from an unrar implementation that works:

$ /usr/local/bin/unrar l payload.rar

UNRAR 6.21 freeware      Copyright (c) 1993-2023 Alexander Roshal

Archive: payload.rar
Details: RAR 5

 Attributes      Size     Date    Time   Name
----------- ---------  ---------- -----  ----
 -rw-r--r--        28  2026-06-26 07:33  inner.js
 -rw-r--r--        73  2026-06-26 07:33  inner.html
----------- ---------  ---------- -----  ----
                  101                    2

Reply via email to