Bug 51098

Summary: ImageMagick: lost fftw3 support
Product: Sisyphus Reporter: Yuri N. Sedunov <aris>
Component: ImageMagickAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: major    
Priority: P5 CC: at, cas, crux, ender, lav, ldv, mike, placeholder, qa_viy, rider, shaba, viy
Version: unstable   
Hardware: all   
OS: Linux   

Description Yuri N. Sedunov 2024-08-07 15:37:23 MSK
========================================================================================== FAILURES ==========================================================================================
_______________________________________________________________________________ test_forward_fourier_transform _______________________________________________________________________________

    @mark.fft
    def test_forward_fourier_transform():
        with Image(filename='rose:') as img:
            was = img.signature
            img.forward_fourier_transform()
>           assert was != img.signature
E           AssertionError: assert 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' != 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52'
E            +  where 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' = <wand.image.Image: fb6fc68 'PNM' (70x46)>.signature

tests/image_methods_test.py:897: AssertionError
_______________________________________________________________________________ test_inverse_fourier_transform _______________________________________________________________________________

fx_asset = PosixPath('/home/aris/RPM/BUILD/Wand-0.6.13/tests/assets')

    @mark.fft
    def test_inverse_fourier_transform(fx_asset):
        magnitude = str(fx_asset.joinpath('ccobject_magnitude.png'))
        phase = str(fx_asset.joinpath('ccobject_phase.png'))
        with Image(filename=magnitude) as a:
            was = a.signature
            with Image(filename=phase) as b:
                a.inverse_fourier_transform(b)
>           assert was != a.signature
E           AssertionError: assert '88ae31dd75e2ab2cdaab20ad16d9618b09a2e4cf2ad98e5257dbb3121f04d850' != '88ae31dd75e2ab2cdaab20ad16d9618b09a2e4cf2ad98e5257dbb3121f04d850'
E            +  where '88ae31dd75e2ab2cdaab20ad16d9618b09a2e4cf2ad98e5257dbb3121f04d850' = <wand.image.Image: 88ae31d 'PNG' (26x26)>.signature

tests/image_methods_test.py:1126: AssertionError
====================================================================================== warnings summary ======================================================================================
tests/image_methods_test.py::test_forward_fourier_transform
  /home/aris/RPM/BUILD/Wand-0.6.13/wand/image.py:1123: MissingDelegateWarning: delegate library support not built-in `ROSE' (FFTW) @ warning/fourier.c/ForwardFourierTransformImage/922
    self.raise_exception()

tests/image_methods_test.py::test_inverse_fourier_transform
  /home/aris/RPM/BUILD/Wand-0.6.13/wand/image.py:1123: MissingDelegateWarning: delegate library support not built-in `/home/aris/RPM/BUILD/Wand-0.6.13/tests/assets/ccobject_magnitude.png' (FFTW) @ warning/fourier.c/InverseFourierTransformImage/1525
    self.raise_exception()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ===================================================================================
FAILED tests/image_methods_test.py::test_forward_fourier_transform - AssertionError: assert 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52' != 'fb6fc68beb3b1001c5ebaa671c8ac8fddea06995027127765ff508f77723cc52'
FAILED tests/image_methods_test.py::test_inverse_fourier_transform - AssertionError: assert '88ae31dd75e2ab2cdaab20ad16d9618b09a2e4cf2ad98e5257dbb3121f04d850' != '88ae31dd75e2ab2cdaab20ad16d9618b09a2e4cf2ad98e5257dbb3121f04d850'
=================================================================== 2 failed, 566 passed, 3 skipped, 2 warnings in 53.29s ====================================================================
ошибка: Неверный код возврата из /home/aris/RPM/TMP/rpm-tmp.97590 (%check)
Comment 1 Repository Robot 2024-08-08 11:01:00 MSK
ImageMagick-7.1.1.36-alt1 -> sisyphus:

 Thu Aug 08 2024 Anton Farygin <rider@altlinux.ru> 7.1.1.36-alt1
 - 7.1.1.34 -> 7.1.1.36
 - enabled fftw support (closes: #51098)
 - enabled libzip support
 - enabled fluf support