#1151256 pygac: FTBFS: E comparison failed

Package:
src:pygac
Source:
src:pygac
Submitter:
Santiago Vila
Date:
2026-10-21 05:35:03 UTC
Severity:
normal
Tags:
#1151256#5
Date:
2026-10-19 09:25:17 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pygac, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
        reader.read(pod_file_with_tbm_header)
        lons, lats = reader._compute_lonlats(time_offset=np.timedelta64(500, "ms"))
pygac/tests/test_reader.py:882: AssertionError
------------------------------ Captured log call -------------------------------
WARNING  pygac.reader:reader.py:1445 Computation of geolocation: 0:00:00.001132
=============================== warnings summary ===============================
pygac/tests/test_calibrate_klm.py::TestGenericCalibration::test_calibration_ir
pygac/tests/test_noaa_calibration_coefficients.py::TestCalibrationCoefficientsHandling::test_default_coeffs
pygac/tests/test_noaa_calibration_coefficients.py::TestCalibrationCoefficientsHandling::test_vis_deprecation_warning
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:244: RuntimeWarning: Using CoeffStatus.PROVISIONAL calibration coefficients
    warnings.warn(warning, RuntimeWarning)

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:383: DeprecationWarning: Using the 'corr' argument is depricated in favor of making the units of the function result clear. Please make any unit conversion outside this function.
    warnings.warn(

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/calibration/noaa.py:583: RuntimeWarning: divide by zero encountered in divide
    Nlin = nS + (nBB - nS)*(cS - cE)/(cS - cBB)

pygac/tests/test_klm.py::TestLACKLM::test_calibrate_channels
pygac/tests/test_klm.py::TestLACKLM::test_calibrate_inactive_3b
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /usr/lib/python3/dist-packages/numpy/polynomial/polynomial.py:755: RuntimeWarning: invalid value encountered in multiply
    c0 = c[-1] + x * 0

pygac/tests/test_pod.py::TestPOD_truncate::test__truncate_padding_record_longfile
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/pygac/tests/test_pod.py:333: RuntimeWarning: Unexpected record length for POD file (incomplete physical record?)
    buffer = reader._truncate_padding_record(bytes(65535*3220))

pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels
pygac/tests/test_reader.py::TestGacReader::test_get_calibrated_channels_with_wrong_prts
pygac/tests/test_reader.py::test_passing_calibration_to_reader
  /usr/lib/python3/dist-packages/geotiepoints/geointerpolator.py:65: RuntimeWarning: invalid value encountered in arcsin
    lats = np.sign(z__) * (90 - np.rad2deg(np.arcsin(np.sqrt(x__ ** 2 + y__ ** 2) / radius)))

pygac/tests/test_reader.py::test_read_to_dataset_is_a_dataset_including_channels_and_telemetry
pygac/tests/test_reader.py::test_read_to_dataset_without_interpolation
pygac/tests/test_reader.py::test_read_to_dataset_with_interpolation
pygac/tests/test_reader.py::test_computing_lonlats
pygac/tests/test_reader.py::test_recomputing_lonlats_with_time_offset
  /usr/lib/python3/dist-packages/pyorbital/geoloc.py:303: DeprecationWarning: pyorbital is using the legacy nadir convention. It is the default so that products generated with earlier versions remain reproducible, but validation against reference geolocation shows it is less accurate; pass nadir_convention='geocentric' for the corrected computation. The default will change in a future release.
    nadir_convention = _resolve_convention(