[From nobody Fri Sep 18 11:23:07 2026
Received: (at submit) by bugs.debian.org; 6 Sep 2026 12:50:02 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FOURLA,FROMDEVELOPER,LONGWORD,SPF_HELO_NONE,SPF_PASS,
 T_PDS_OTHER_BAD_TLD,USER_IN_DKIM_WELCOMELIST autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 126; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sramacher@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:45118)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sramacher@debian.org&gt;)
 id 1x3CJu-00389J-0q for submit@bugs.debian.org;
 Sun, 06 Sep 2026 12:50:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=XdzdJidJVsN/zJDi2IdYNgiHTL2sWWLvMgzYJEtinM0=; b=q3UR8GEwUT79QiYrxrp/S3QRfc
 632ccLJctUrQeTUdled+N8T7FrQNWehwaCUakWMk81DpJIWKFqE9/sX5zX+io7+fZNZ848ei2Tpu6
 O52IcCrjWeKH9o8SZ5joOit8KZBFEvpOBAcDatgYSTyt58F7sIIWIZOhzT9HagXHVJs7wXKKT0qdh
 4hXrb61IVZbAV13GAzldDaXDmAWa/mWlp+IbUQu/5qooiITF37pCH5CtL+YKX6huq156cvtOjRkdm
 3yjGTB8JD7XtSTeOWLyd4wKqd2XDRlWi5qN6k/fyZHBObrJsrGDDzN+LwbvQq3W95BqPoCVxw+b9u
 TaTWJLYQ==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sramacher@debian.org&gt;)
 id 1x3CJs-000kR0-0z for submit@bugs.debian.org;
 Sun, 06 Sep 2026 12:50:01 +0000
Received: by jupiter.ramacher.at (Postfix, from userid 1000)
 id 0D70C1004BD49; Sun, 06 Sep 2026 14:50:00 +0200 (CEST)
Date: Sun, 6 Sep 2026 14:50:00 +0200
From: Sebastian Ramacher &lt;sramacher@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: python-fitsio: FTBFS on s390x: FAILED
 fitsio/tests/test_image_compression.py::test_image_compression_gzip_subnormal_cast_to_zero
Message-ID: &lt;ap1heNU3jFH584z_@ramacher.at&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
Delivered-To: submit@bugs.debian.org

Source: python-fitsio
Version: 1.4.2+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-s390@lists.debian.org, sramacher@debian.org
User: debian-s390@lists.debian.org
Usertags: s390x

Dear maintainer

python-fitsio FTBFS on s390x:

fitsio/tests/test_warnings.py .                                          [100%]

=================================== FAILURES ===================================
______________ test_image_compression_gzip_subnormal_cast_to_zero ______________

    def test_image_compression_gzip_subnormal_cast_to_zero():
        # test code from astrofrog in https://github.com/esheldon/fitsio/issues/513
        data = np.zeros(
            (5, 1), dtype='&gt;f4'
        )  # a single 5x1 tile, big-endian float32
        data[:, 0] = [134.97459, 248.02034, 183.40105, 57.59670, 216.31425]
    
        with tempfile.TemporaryDirectory() as tmpdir:
            fn = os.path.join(tmpdir, &quot;mini.fit&quot;)
            with FITS(fn, &quot;rw&quot;) as f:
                f.write(
                    data, compress=&quot;GZIP_1&quot;, tile_dims=(5, 1), qlevel=5, qmethod=-1
                )
    
            back = read(fn)
            if cfitsio_is_bundled():
                assert not back.ravel()[0] == 0, back.ravel()
            else:
&gt;               assert back.ravel()[0] == 0, back.ravel()
E               AssertionError: array([134.9746 , 248.02034, 183.40105,  57.5967 , 216.31425],
E                       dtype=float32)
E               assert np.float32(134.9746) == 0

fitsio/tests/test_image_compression.py:930: AssertionError
=============================== warnings summary ===============================
fitsio/tests/test_image_compression.py:621
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_image_compression.py:621: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

fitsio/tests/test_image_compression.py:637
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_image_compression.py:637: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytest.mark.slow,

fitsio/tests/test_segfault.py:54
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_segfault.py:54: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED fitsio/tests/test_image_compression.py::test_image_compression_gzip_subnormal_cast_to_zero
= 1 failed, 1882 passed, 906 skipped, 110 xfailed, 5 xpassed, 3 warnings in 18.29s =
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build; python3.14 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13

See
https://buildd.debian.org/status/fetch.php?pkg=python-fitsio&amp;arch=s390x&amp;ver=1.4.2%2Bds-1&amp;stamp=1788610336&amp;raw=0
for details.

Cheers
-- 
Sebastian Ramacher
]