Article View: linux.debian.bugs.rc
Article #952Bug#1151256: pygac: FTBFS: E comparison failed
From: Santiago Vila
Date: Mon, 19 Oct 2026 09:30
Date: Mon, 19 Oct 2026 09:30
101 lines
7819 bytes
7819 bytes
Package: src:pygac
Version: 1.8.0-1
Severity: serious
Tags: ftbfs forky sid
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"))
> assert lons[0, 0] == pytest.approx(-4.714710005688344)
E assert np.float64(-4.714660118334762) == -4.714710005688344 ± 4.7e-06
E
E comparison failed
E Obtained: -4.714660118334762
E Expected: -4.714710005688344 ± 4.7e-06
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(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED pygac/tests/test_reader.py::test_computing_lonlats - assert np.float64...
FAILED pygac/tests/test_reader.py::test_recomputing_lonlats_with_time_offset
=========== 2 failed, 97 passed, 4 deselected, 27 warnings in 1.33s ============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -m "not georeferencer" --pyargs pygac
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NPRQR-6vCD-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151256: pygac: FTBFS: E comparison failed Date: Mon, 19 Oct 2026 11:30:01 +0200 Message-ID: <NPRQR-6vCD-11@gated-at.bofh.it> X-Original-To: Debian BTS <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Mon Oct 19 09:27:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.459 Reply-To: Santiago Vila <sanvila@debian.org>, 1151256@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, pkg-grass-devel@lists.alioth.debian.org X-Debian-Pr-Message: report 1151256 X-Debian-Pr-Package: src:pygac X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: pygac X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834991 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 101 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 19 Oct 2026 09:25:17 +0000 X-Original-Message-ID: <E1xIjcL-00A4UK-30@paradis.debian.org>