[Debian-astro-maintainers] Bug#1052784: pyephem: FTBFS: AssertionError: Failed doctest test for quick.rst
Lucas Nussbaum
lucas at debian.org
Tue Sep 26 13:44:14 BST 2023
Source: pyephem
Version: 4.1.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:291: python3.11 setup.py config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:291: /usr/bin/python3 setup.py build
> extensions/_libastro.c: In function ‘scansexa’:
> extensions/_libastro.c:183:11: warning: ‘PyUnicode_GET_SIZE’ is deprecated [-Wdeprecated-declarations]
> 183 | Py_ssize_t item_length = PyUnicode_GET_SIZE(item);
> | ^~~~~~~~~~
> In file included from /usr/include/python3.11/unicodeobject.h:1042,
> from /usr/include/python3.11/Python.h:51,
> from extensions/_libastro.c:4:
> /usr/include/python3.11/cpython/unicodeobject.h:652:26: note: declared here
> 652 | static inline Py_ssize_t PyUnicode_GET_SIZE(PyObject *op)
> | ^~~~~~~~~~~~~~~~~~
> extensions/_libastro.c: At top level:
> extensions/_libastro.c:624:12: warning: ‘Date_print’ defined but not used [-Wunused-function]
> 624 | static int Date_print(PyObject *self, FILE *fp, int flags)
> | ^~~~~~~~~~
> extensions/_libastro.c:308:12: warning: ‘Angle_print’ defined but not used [-Wunused-function]
> 308 | static int Angle_print(PyObject *self, FILE *fp, int flags)
> | ^~~~~~~~~~~
> extensions/dtoa.c: In function ‘Balloc’:
> extensions/dtoa.c:577:64: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘long unsigned int’ [-Wsign-compare]
> 577 | if (k <= Kmax && pmem_next - private_mem + len <= PRIVATE_mem) {
> | ^~
> extensions/dtoa.c: In function ‘rv_alloc’:
> extensions/dtoa.c:3570:66: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare]
> 3570 | sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i;
> | ^~
> extensions/dtoa.c: At top level:
> extensions/dtoa.c:3655:1: warning: ‘dtoa’ defined but not used [-Wunused-function]
> 3655 | dtoa
> | ^~~~
> extensions/dtoa.c: In function ‘ascii_strtod’:
> extensions/dtoa.c:317:24: warning: ‘rv’ may be used uninitialized [-Wmaybe-uninitialized]
> 317 | #define word0(x) (x)->L[1]
> | ~~~~~~^~~
> extensions/dtoa.c:2869:25: note: in expansion of macro ‘word0’
> 2869 | word0(&rv) -= P*Exp_msk1;
> | ^~~~~
> extensions/dtoa.c:2495:23: note: ‘rv’ declared here
> 2495 | U aadj2, adj, rv, rv0;
> | ^~
> extensions/dtoa.c:317:24: warning: ‘rv’ may be used uninitialized [-Wmaybe-uninitialized]
> 317 | #define word0(x) (x)->L[1]
> | ~~~~~~^~~
> extensions/dtoa.c:2897:58: note: in expansion of macro ‘word0’
> 2897 | if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
> | ^~~~~
> extensions/dtoa.c:2495:23: note: ‘rv’ declared here
> 2495 | U aadj2, adj, rv, rv0;
> | ^~
> extensions/dtoa.c:3384:36: warning: ‘rv0.L[1]’ may be used uninitialized [-Wmaybe-uninitialized]
> 3384 | if (word0(&rv0) == Big0 && word1(&rv0) == Big1)
> | ^
> extensions/dtoa.c:2495:27: note: ‘rv0.L[1]’ was declared here
> 2495 | U aadj2, adj, rv, rv0;
> | ^~~
> libastro/circum.c: In function ‘obj_hyperbolic’:
> libastro/circum.c:427:16: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
> 427 | double a; /* mean distance */
> | ^
> libastro/deep.c: In function ‘dpinit’:
> libastro/deep.c:165:58: warning: variable ‘ZMO’ set but not used [-Wunused-but-set-variable]
> 165 | ZCOSG, ZCOSGL, ZCOSH, ZCOSHL, ZCOSI, ZCOSIL, ZE, ZMO, ZN, ZSING,
> | ^~~
> libastro/magdecl.c: In function ‘E0000’:
> libastro/magdecl.c:150:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 150 | fgets(c_str, 80, wmmdat);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> libastro/magdecl.c:153:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 153 | fgets(c_str, 80, wmmdat);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> libastro/plmoon.c: In function ‘plmoon_cir’:
> libastro/plmoon.c:126:9: warning: case value ‘11’ not in enumerated type ‘PLCode’ [-Wswitch]
> 126 | case DEIMOS:
> | ^~~~
> libastro/plmoon.c:141:9: warning: case value ‘12’ not in enumerated type ‘PLCode’ [-Wswitch]
> 141 | case IO:
> | ^~~~
> libastro/plmoon.c:142:9: warning: case value ‘13’ not in enumerated type ‘PLCode’ [-Wswitch]
> 142 | case EUROPA:
> | ^~~~
> libastro/plmoon.c:143:9: warning: case value ‘14’ not in enumerated type ‘PLCode’ [-Wswitch]
> 143 | case GANYMEDE:
> | ^~~~
> libastro/plmoon.c:144:9: warning: case value ‘15’ not in enumerated type ‘PLCode’ [-Wswitch]
> 144 | case CALLISTO:
> | ^~~~
> libastro/plmoon.c:161:9: warning: case value ‘16’ not in enumerated type ‘PLCode’ [-Wswitch]
> 161 | case MIMAS:
> | ^~~~
> libastro/plmoon.c:162:9: warning: case value ‘17’ not in enumerated type ‘PLCode’ [-Wswitch]
> 162 | case ENCELADUS:
> | ^~~~
> libastro/plmoon.c:163:9: warning: case value ‘18’ not in enumerated type ‘PLCode’ [-Wswitch]
> 163 | case TETHYS:
> | ^~~~
> libastro/plmoon.c:164:9: warning: case value ‘19’ not in enumerated type ‘PLCode’ [-Wswitch]
> 164 | case DIONE:
> | ^~~~
> libastro/plmoon.c:165:9: warning: case value ‘20’ not in enumerated type ‘PLCode’ [-Wswitch]
> 165 | case RHEA:
> | ^~~~
> libastro/plmoon.c:166:9: warning: case value ‘21’ not in enumerated type ‘PLCode’ [-Wswitch]
> 166 | case TITAN:
> | ^~~~
> libastro/plmoon.c:167:9: warning: case value ‘22’ not in enumerated type ‘PLCode’ [-Wswitch]
> 167 | case HYPERION:
> | ^~~~
> libastro/plmoon.c:168:9: warning: case value ‘23’ not in enumerated type ‘PLCode’ [-Wswitch]
> 168 | case IAPETUS:
> | ^~~~
> libastro/plmoon.c:185:9: warning: case value ‘24’ not in enumerated type ‘PLCode’ [-Wswitch]
> 185 | case ARIEL:
> | ^~~~
> libastro/plmoon.c:186:9: warning: case value ‘25’ not in enumerated type ‘PLCode’ [-Wswitch]
> 186 | case UMBRIEL:
> | ^~~~
> libastro/plmoon.c:187:9: warning: case value ‘26’ not in enumerated type ‘PLCode’ [-Wswitch]
> 187 | case TITANIA:
> | ^~~~
> libastro/plmoon.c:188:9: warning: case value ‘27’ not in enumerated type ‘PLCode’ [-Wswitch]
> 188 | case OBERON:
> | ^~~~
> libastro/plmoon.c:189:9: warning: case value ‘28’ not in enumerated type ‘PLCode’ [-Wswitch]
> 189 | case MIRANDA:
> | ^~~~
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build; python3.11 -m unittest discover -v
> test_Angle_constructor (ephem.tests.test_angles.AngleTests.test_Angle_constructor) ... ok
> test_angle_addition (ephem.tests.test_angles.AngleTests.test_angle_addition) ... ok
> test_angle_subtraction (ephem.tests.test_angles.AngleTests.test_angle_subtraction) ... ok
> test_degrees_constructor (ephem.tests.test_angles.AngleTests.test_degrees_constructor) ... ok
> test_degrees_constructor_refuses_alphabetics (ephem.tests.test_angles.AngleTests.test_degrees_constructor_refuses_alphabetics) ... ok
> test_degrees_float_value (ephem.tests.test_angles.AngleTests.test_degrees_float_value) ... ok
> test_degrees_string_value (ephem.tests.test_angles.AngleTests.test_degrees_string_value) ... ok
> test_hours_constructor (ephem.tests.test_angles.AngleTests.test_hours_constructor) ... ok
> test_hours_float_value (ephem.tests.test_angles.AngleTests.test_hours_float_value) ... ok
> test_hours_string_value (ephem.tests.test_angles.AngleTests.test_hours_string_value) ... ok
> test_EarthSatellite (ephem.tests.test_bodies.BodyBuilderTests.test_EarthSatellite) ... ok
> test_EllipticalBody (ephem.tests.test_bodies.BodyBuilderTests.test_EllipticalBody) ... ok
> test_FixedBody (ephem.tests.test_bodies.BodyBuilderTests.test_FixedBody) ... ok
> test_FixedBody_does_not_ignore_arguments (ephem.tests.test_bodies.BodyBuilderTests.test_FixedBody_does_not_ignore_arguments) ... ok
> test_HyperbolicBody (ephem.tests.test_bodies.BodyBuilderTests.test_HyperbolicBody) ... ok
> test_Named (ephem.tests.test_bodies.BodyBuilderTests.test_Named) ... ok
> test_ParabolicBody (ephem.tests.test_bodies.BodyBuilderTests.test_ParabolicBody) ... ok
> test_newlineTLE (ephem.tests.test_bodies.BodyBuilderTests.test_newlineTLE)
> Make sure TLE strings with newlines are accepted. ... ok
> test_nearly_parabolic_EllipticalBody_and_far_from_Sun (ephem.tests.test_bodies.BodyFailureTests.test_nearly_parabolic_EllipticalBody_and_far_from_Sun) ... ok
> test_constellation (ephem.tests.test_bodies.FunctionTests.test_constellation) ... ok
> test_jupiter (ephem.tests.test_bodies.PlanetTests.test_jupiter) ... ok
> test_saturn (ephem.tests.test_bodies.PlanetTests.test_saturn) ... ok
> test_boston (ephem.tests.test_cities.CityTests.test_boston) ... ok
> test_unknown_city (ephem.tests.test_cities.CityTests.test_unknown_city) ... ok
> test_constants (ephem.tests.test_constants.ConstantTests.test_constants) ... ok
> test_another_tuple_value (ephem.tests.test_dates.DateTests.test_another_tuple_value) ... ok
> test_date_constructor (ephem.tests.test_dates.DateTests.test_date_constructor) ... ok
> test_date_parser_error_message (ephem.tests.test_dates.DateTests.test_date_parser_error_message) ... ok
> test_date_string_value (ephem.tests.test_dates.DateTests.test_date_string_value) ... ok
> test_date_triple_value (ephem.tests.test_dates.DateTests.test_date_triple_value) ... ok
> test_date_tuple_value (ephem.tests.test_dates.DateTests.test_date_tuple_value) ... ok
> test_localtime_modern (ephem.tests.test_dates.DateTests.test_localtime_modern) ... ok
> test_timezone_aware_cet (ephem.tests.test_dates.DateTests.test_timezone_aware_cet) ... ok
> test_timezone_aware_utc (ephem.tests.test_dates.DateTests.test_timezone_aware_utc) ... ok
> test_tuple_that_rounded_to_negative_seconds (ephem.tests.test_dates.DateTests.test_tuple_that_rounded_to_negative_seconds) ... ok
> test_year_zero (ephem.tests.test_dates.DateTests.test_year_zero) ... ok
> test_github_14 (ephem.tests.test_github_issues.GitHubIssues.test_github_14) ... ok
> test_github_193 (ephem.tests.test_github_issues.GitHubIssues.test_github_193) ... ok
> test_github_196 (ephem.tests.test_github_issues.GitHubIssues.test_github_196) ... ok
> test_github_24 (ephem.tests.test_github_issues.GitHubIssues.test_github_24) ... ok
> test_github_25 (ephem.tests.test_github_issues.GitHubIssues.test_github_25) ... ok
> test_github_28 (ephem.tests.test_github_issues.GitHubIssues.test_github_28) ... ok
> test_github_31 (ephem.tests.test_github_issues.GitHubIssues.test_github_31) ... ok
> test_github_41 (ephem.tests.test_github_issues.GitHubIssues.test_github_41) ... ok
> test_github_58 (ephem.tests.test_github_issues.GitHubIssues.test_github_58) ... ok
> test_github_64 (ephem.tests.test_github_issues.GitHubIssues.test_github_64) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_jpl.JPLTest.runTest) ... ok
> runTest (ephem.tests.test_launchpad_236872.Launchpad236872Tests.runTest) ... ok
> runTest (ephem.tests.test_launchpad_244811.Launchpad244811Tests.runTest) ... ok
> test_date_creation (ephem.tests.test_locales.locales_suite.test_date_creation) ... skipped ''
> test_satellite_creation (ephem.tests.test_locales.locales_suite.test_satellite_creation) ... skipped ''
> test_lon_can_also_be_called_long (ephem.tests.test_observers.ObserverTests.test_lon_can_also_be_called_long) ... ok
> test_longitude_constructor_does_not_hang (ephem.tests.test_observers.ObserverTests.test_longitude_constructor_does_not_hang) ... ok
> test_observer_copy (ephem.tests.test_observers.ObserverTests.test_observer_copy) ... ok
> test_pressure_at_11km (ephem.tests.test_observers.ObserverTests.test_pressure_at_11km) ... ok
> test_pressure_at_sea_level (ephem.tests.test_observers.ObserverTests.test_pressure_at_sea_level) ... ok
> test_cir_pos_ha (ephem.tests.test_rise_set.HourAngleTests.test_cir_pos_ha) ... ok
> test_earth_satellite_ha (ephem.tests.test_rise_set.HourAngleTests.test_earth_satellite_ha) ... ok
> test_fixed_ha (ephem.tests.test_rise_set.HourAngleTests.test_fixed_ha) ... ok
> test_always_up (ephem.tests.test_rise_set.RiseSetTests.test_always_up) ... ok
> test_moon (ephem.tests.test_rise_set.RiseSetTests.test_moon) ... ok
> test_never_up (ephem.tests.test_rise_set.RiseSetTests.test_never_up) ... ok
> test_raises_error_for_NaN (ephem.tests.test_rise_set.RiseSetTests.test_raises_error_for_NaN) ... ok
> test_sun (ephem.tests.test_rise_set.RiseSetTests.test_sun) ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/rise-set.rst
> Doctest: rise-set.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/newton.rst
> Doctest: newton.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/examples.rst
> Doctest: examples.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/tutorial.rst
> Doctest: tutorial.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/coordinates.rst
> Doctest: coordinates.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/radec.rst
> Doctest: radec.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/toc.rst
> Doctest: toc.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst
> Doctest: quick.rst ... FAIL
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/catalogs.rst
> Doctest: catalogs.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/CHANGELOG.rst
> Doctest: CHANGELOG.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/angle.rst
> Doctest: angle.rst ... ok
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/date.rst
> Doctest: date.rst ... ok
> test_TLE_checksum (ephem.tests.test_satellite.SatelliteTests.test_TLE_checksum) ... ok
> test_attribute_values_and_roundtrips (ephem.tests.test_satellite.SatelliteTests.test_attribute_values_and_roundtrips) ... ok
> test_more_than_one_year_after_TLE (ephem.tests.test_satellite.SatelliteTests.test_more_than_one_year_after_TLE) ... ok
> test_more_than_one_year_before_TLE (ephem.tests.test_satellite.SatelliteTests.test_more_than_one_year_before_TLE) ... ok
> test_next_pass (ephem.tests.test_satellite.SatelliteTests.test_next_pass) ... ok
> test_next_pass_consecutive (ephem.tests.test_satellite.SatelliteTests.test_next_pass_consecutive) ... ok
> test_next_pass_notsinglepass (ephem.tests.test_satellite.SatelliteTests.test_next_pass_notsinglepass) ... ok
> test_normal_methods (ephem.tests.test_satellite.SatelliteTests.test_normal_methods) ... ok
> test_Arcturus (ephem.tests.test_stars.StarTests.test_Arcturus) ... ok
> test_Fomalhaut (ephem.tests.test_stars.StarTests.test_Fomalhaut) ... ok
> test_Fomalhaut_autocompute (ephem.tests.test_stars.StarTests.test_Fomalhaut_autocompute) ... ok
> test_Fomalhaut_compute (ephem.tests.test_stars.StarTests.test_Fomalhaut_compute) ... ok
> test_catalog_size (ephem.tests.test_stars.StarTests.test_catalog_size) ... ok
> test_unknown_star (ephem.tests.test_stars.StarTests.test_unknown_star) ... ok
> test_Acamar (ephem.tests.test_stars.Test57NavigationStars.test_Acamar) ... ok
> test_Achernar (ephem.tests.test_stars.Test57NavigationStars.test_Achernar) ... ok
> test_Acrux (ephem.tests.test_stars.Test57NavigationStars.test_Acrux) ... ok
> test_Adhara (ephem.tests.test_stars.Test57NavigationStars.test_Adhara) ... ok
> test_Aldebaran (ephem.tests.test_stars.Test57NavigationStars.test_Aldebaran) ... ok
> test_Alioth (ephem.tests.test_stars.Test57NavigationStars.test_Alioth) ... ok
> test_Alkaid (ephem.tests.test_stars.Test57NavigationStars.test_Alkaid) ... ok
> test_Alnair (ephem.tests.test_stars.Test57NavigationStars.test_Alnair) ... ok
> test_Alnilam (ephem.tests.test_stars.Test57NavigationStars.test_Alnilam) ... ok
> test_Alphard (ephem.tests.test_stars.Test57NavigationStars.test_Alphard) ... ok
> test_Alphecca (ephem.tests.test_stars.Test57NavigationStars.test_Alphecca) ... ok
> test_Alpheratz (ephem.tests.test_stars.Test57NavigationStars.test_Alpheratz) ... ok
> test_Altair (ephem.tests.test_stars.Test57NavigationStars.test_Altair) ... ok
> test_Ankaa (ephem.tests.test_stars.Test57NavigationStars.test_Ankaa) ... ok
> test_Antares (ephem.tests.test_stars.Test57NavigationStars.test_Antares) ... ok
> test_Arcturus (ephem.tests.test_stars.Test57NavigationStars.test_Arcturus) ... ok
> test_Atria (ephem.tests.test_stars.Test57NavigationStars.test_Atria) ... ok
> test_Avior (ephem.tests.test_stars.Test57NavigationStars.test_Avior) ... ok
> test_Bellatrix (ephem.tests.test_stars.Test57NavigationStars.test_Bellatrix) ... ok
> test_Betelgeuse (ephem.tests.test_stars.Test57NavigationStars.test_Betelgeuse) ... ok
> test_Canopus (ephem.tests.test_stars.Test57NavigationStars.test_Canopus) ... ok
> test_Capella (ephem.tests.test_stars.Test57NavigationStars.test_Capella) ... ok
> test_Deneb (ephem.tests.test_stars.Test57NavigationStars.test_Deneb) ... ok
> test_Denebola (ephem.tests.test_stars.Test57NavigationStars.test_Denebola) ... ok
> test_Diphda (ephem.tests.test_stars.Test57NavigationStars.test_Diphda) ... ok
> test_Dubhe (ephem.tests.test_stars.Test57NavigationStars.test_Dubhe) ... ok
> test_Elnath (ephem.tests.test_stars.Test57NavigationStars.test_Elnath) ... ok
> test_Eltanin (ephem.tests.test_stars.Test57NavigationStars.test_Eltanin) ... ok
> test_Enif (ephem.tests.test_stars.Test57NavigationStars.test_Enif) ... ok
> test_Fomalhaut (ephem.tests.test_stars.Test57NavigationStars.test_Fomalhaut) ... ok
> test_Gacrux (ephem.tests.test_stars.Test57NavigationStars.test_Gacrux) ... ok
> test_Gienah (ephem.tests.test_stars.Test57NavigationStars.test_Gienah) ... ok
> test_Hadar (ephem.tests.test_stars.Test57NavigationStars.test_Hadar) ... ok
> test_Hamal (ephem.tests.test_stars.Test57NavigationStars.test_Hamal) ... ok
> test_Kaus_Australis (ephem.tests.test_stars.Test57NavigationStars.test_Kaus_Australis) ... ok
> test_Kochab (ephem.tests.test_stars.Test57NavigationStars.test_Kochab) ... ok
> test_Markab (ephem.tests.test_stars.Test57NavigationStars.test_Markab) ... ok
> test_Menkar (ephem.tests.test_stars.Test57NavigationStars.test_Menkar) ... ok
> test_Menkent (ephem.tests.test_stars.Test57NavigationStars.test_Menkent) ... ok
> test_Miaplacidus (ephem.tests.test_stars.Test57NavigationStars.test_Miaplacidus) ... ok
> test_Mirfak (ephem.tests.test_stars.Test57NavigationStars.test_Mirfak) ... ok
> test_Nunki (ephem.tests.test_stars.Test57NavigationStars.test_Nunki) ... ok
> test_Peacock (ephem.tests.test_stars.Test57NavigationStars.test_Peacock) ... ok
> test_Pollux (ephem.tests.test_stars.Test57NavigationStars.test_Pollux) ... ok
> test_Procyon (ephem.tests.test_stars.Test57NavigationStars.test_Procyon) ... ok
> test_Rasalhague (ephem.tests.test_stars.Test57NavigationStars.test_Rasalhague) ... ok
> test_Regulus (ephem.tests.test_stars.Test57NavigationStars.test_Regulus) ... ok
> test_Rigel (ephem.tests.test_stars.Test57NavigationStars.test_Rigel) ... ok
> test_Rigil_Kentaurus_2002 (ephem.tests.test_stars.Test57NavigationStars.test_Rigil_Kentaurus_2002) ... ok
> test_Rigil_Kentaurus_2017 (ephem.tests.test_stars.Test57NavigationStars.test_Rigil_Kentaurus_2017) ... ok
> test_Sabik (ephem.tests.test_stars.Test57NavigationStars.test_Sabik) ... ok
> test_Schedar (ephem.tests.test_stars.Test57NavigationStars.test_Schedar) ... ok
> test_Shaula (ephem.tests.test_stars.Test57NavigationStars.test_Shaula) ... ok
> test_Sirius (ephem.tests.test_stars.Test57NavigationStars.test_Sirius) ... ok
> test_Spica (ephem.tests.test_stars.Test57NavigationStars.test_Spica) ... ok
> test_Suhail (ephem.tests.test_stars.Test57NavigationStars.test_Suhail) ... ok
> test_Vega (ephem.tests.test_stars.Test57NavigationStars.test_Vega) ... ok
> test_Zubenelgenubi (ephem.tests.test_stars.Test57NavigationStars.test_Zubenelgenubi) ... ok
> test_number_tables_cross_reference (ephem.tests.test_stars.Test57NavigationStars.test_number_tables_cross_reference) ... ok
> test_number_tables_len (ephem.tests.test_stars.Test57NavigationStars.test_number_tables_len) ... ok
> test_number_tables_range (ephem.tests.test_stars.Test57NavigationStars.test_number_tables_range) ... ok
> test_usno (ephem.tests.test_usno.Test_appgeo_deneb.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_appgeo_jupiter.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_appgeo_moon.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_appgeo_sun.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_apptopo_deneb.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_apptopo_moon.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_apptopo_sun.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_astrom_antares.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_astrom_mercury.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_astrom_neptune.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_moon_phases.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_riset_moon.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_riset_sun.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_risettran_moon.test_usno) ... ok
> test_usno (ephem.tests.test_usno.Test_risettran_rigel.test_usno) ... ok
> test_equinoxes (ephem.tests.test_usno_equinoxes.UsnoEquinoxesTests.test_equinoxes) ... ok
>
> ======================================================================
> FAIL: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst
> Doctest: quick.rst
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python3.11/doctest.py", line 2222, in runTest
> raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for quick.rst
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 0
>
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 882, in quick.rst
> Failed example:
> zone = ZoneInfo('US/Eastern')
> Exception raised:
> Traceback (most recent call last):
> File "/usr/lib/python3.11/zoneinfo/_common.py", line 12, in load_tzdata
> return resources.files(package_name).joinpath(resource_name).open("rb")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 22, in files
> return from_package(get_package(package))
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 53, in get_package
> resolved = resolve(package)
> ^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 44, in resolve
> return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
> ModuleNotFoundError: No module named 'tzdata'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/lib/python3.11/doctest.py", line 1351, in __run
> exec(compile(example.source, filename, "single",
> File "<doctest quick.rst[132]>", line 1, in <module>
> zone = ZoneInfo('US/Eastern')
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/zoneinfo/_common.py", line 24, in load_tzdata
> raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
> zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key US/Eastern'
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 883, in quick.rst
> Failed example:
> local = ephem.to_timezone(d, zone)
> Exception raised:
> Traceback (most recent call last):
> File "/usr/lib/python3.11/doctest.py", line 1351, in __run
> exec(compile(example.source, filename, "single",
> File "<doctest quick.rst[133]>", line 1, in <module>
> local = ephem.to_timezone(d, zone)
> ^^^^
> NameError: name 'zone' is not defined
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 884, in quick.rst
> Failed example:
> local
> Expected:
> datetime.datetime(1997, 3, 9, 0, 13, tzinfo=zoneinfo.ZoneInfo(key='US/Eastern'))
> Got:
> datetime.datetime(1997, 3, 9, 0, 13)
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 886, in quick.rst
> Failed example:
> print(local)
> Expected:
> 1997-03-09 00:13:00-05:00
> Got:
> 1997-03-09 00:13:00
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 904, in quick.rst
> Failed example:
> zone = ZoneInfo('US/Eastern')
> Exception raised:
> Traceback (most recent call last):
> File "/usr/lib/python3.11/zoneinfo/_common.py", line 12, in load_tzdata
> return resources.files(package_name).joinpath(resource_name).open("rb")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 22, in files
> return from_package(get_package(package))
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 53, in get_package
> resolved = resolve(package)
> ^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/resources/_common.py", line 44, in resolve
> return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1140, in _find_and_load_unlocked
> ModuleNotFoundError: No module named 'tzdata'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/lib/python3.11/doctest.py", line 1351, in __run
> exec(compile(example.source, filename, "single",
> File "<doctest quick.rst[138]>", line 1, in <module>
> zone = ZoneInfo('US/Eastern')
> ^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.11/zoneinfo/_common.py", line 24, in load_tzdata
> raise ZoneInfoNotFoundError(f"No time zone found with key {key}")
> zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key US/Eastern'
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 905, in quick.rst
> Failed example:
> local = datetime(2021, 11, 26, 10, 17, tzinfo=zone)
> Exception raised:
> Traceback (most recent call last):
> File "/usr/lib/python3.11/doctest.py", line 1351, in __run
> exec(compile(example.source, filename, "single",
> File "<doctest quick.rst[139]>", line 1, in <module>
> local = datetime(2021, 11, 26, 10, 17, tzinfo=zone)
> ^^^^
> NameError: name 'zone' is not defined
> ----------------------------------------------------------------------
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build/ephem/tests/../doc/quick.rst", line 907, in quick.rst
> Failed example:
> print(d)
> Expected:
> 2021/11/26 15:17:00
> Got:
> 1997/3/9 00:13:00
>
>
> ----------------------------------------------------------------------
> Ran 175 tests in 0.908s
>
> FAILED (failures=1, skipped=2)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ephem/build; python3.11 -m unittest discover -v
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/pyephem_4.1.4-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-astro-maintainers
mailing list