[Debian-astro-maintainers] Bug#1029428: pyephem: FTBFS in bookworm (undeclared build-dependency on tzdata)

Santiago Vila sanvila at debian.org
Sun Jan 22 16:00:59 GMT 2023


Package: src:pyephem
Version: 4.1.3-1
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary-arch
dh binary-arch --with python3 --buildsystem=pybuild
    dh_update_autotools_config -a -O--buildsystem=pybuild
    dh_autoreconf -a -O--buildsystem=pybuild
    dh_auto_configure -a -O--buildsystem=pybuild
I: pybuild base:240: python3.10 setup.py config
/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
   from distutils.core import setup, Extension
running config
    dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:240: /usr/bin/python3 setup.py build
/<<PKGBUILDDIR>>/setup.py:3: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
   from distutils.core import setup, Extension
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem
copying ephem/stars.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem
copying ephem/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem
copying ephem/cities.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_usno.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_launchpad_236872.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_github_issues.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_angles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_stars.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_launchpad_244811.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_cities.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_bodies.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_constants.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_satellite.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_dates.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_usno_equinoxes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_rst.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_rise_set.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_locales.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_observers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
copying ephem/tests/test_jpl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/rise-set.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/tutorial.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/CHANGELOG.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/index.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/date.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/examples.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/toc.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/radec.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/quick.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/newton.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/catalogs.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/angle.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
copying ephem/doc/coordinates.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/doc
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/phobos.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/oberon.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/mars.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/neptune.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/jupiter.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/europa.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/saturn.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/hyperion.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
copying ephem/tests/jpl/uranus.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/jpl
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/apptopo_sun.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/astrom_antares.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/moon_phases.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/riset_moon.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/astrom_mercury.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/riset_sun.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/appgeo_deneb.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/apptopo_deneb.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/risettran_rigel.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/appgeo_sun.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/appgeo_moon.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/astrom_neptune.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/appgeo_jupiter.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/apptopo_moon.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
copying ephem/tests/usno/risettran_moon.txt -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/usno
running build_ext
building 'ephem._libastro' extension
creating build
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/extensions
creating build/temp.linux-x86_64-3.10/extensions/data
creating build/temp.linux-x86_64-3.10/libastro
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/_libastro.c -o build/temp.linux-x86_64-3.10/extensions/_libastro.o -ffloat-store
extensions/_libastro.c: In function ‘scansexa’:
extensions/_libastro.c:183:11: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
   183 |           Py_ssize_t item_length = PyUnicode_GET_SIZE(item);
       |           ^~~~~~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
                  from /usr/include/python3.10/Python.h:83,
                  from extensions/_libastro.c:4:
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
   446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/_libastro.c:183:11: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
   183 |           Py_ssize_t item_length = PyUnicode_GET_SIZE(item);
       |           ^~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
   580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
       |                                             ^~~~~~~~~~~~~~~~~~~
extensions/_libastro.c:183:11: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
   183 |           Py_ssize_t item_length = PyUnicode_GET_SIZE(item);
       |           ^~~~~~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
   446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
extensions/_libastro.c: At top level:
extensions/_libastro.c:375:6: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion]
   375 |      Angle_print,               /* tp_print */
       |      ^~~~~~~~~~~
extensions/_libastro.c:375:6: note: (near initialization for ‘AngleType.tp_vectorcall_offset’)
extensions/_libastro.c:672:6: warning: initialization of ‘long int’ from ‘int (*)(PyObject *, FILE *, int)’ {aka ‘int (*)(struct _object *, FILE *, int)’} makes integer from pointer without a cast [-Wint-conversion]
   672 |      Date_print,                /* tp_print */
       |      ^~~~~~~~~~
extensions/_libastro.c:672:6: note: (near initialization for ‘DateType.tp_vectorcall_offset’)
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/jupiter.1020.c -o build/temp.linux-x86_64-3.10/extensions/data/jupiter.1020.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/jupiter.2040.c -o build/temp.linux-x86_64-3.10/extensions/data/jupiter.2040.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/jupiter.9910.c -o build/temp.linux-x86_64-3.10/extensions/data/jupiter.9910.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/mars.1020.c -o build/temp.linux-x86_64-3.10/extensions/data/mars.1020.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/mars.2040.c -o build/temp.linux-x86_64-3.10/extensions/data/mars.2040.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/mars.9910.c -o build/temp.linux-x86_64-3.10/extensions/data/mars.9910.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/saturne.1020.c -o build/temp.linux-x86_64-3.10/extensions/data/saturne.1020.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/saturne.2040.c -o build/temp.linux-x86_64-3.10/extensions/data/saturne.2040.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/saturne.9910.c -o build/temp.linux-x86_64-3.10/extensions/data/saturne.9910.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/uranus.1020.c -o build/temp.linux-x86_64-3.10/extensions/data/uranus.1020.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/uranus.2040.c -o build/temp.linux-x86_64-3.10/extensions/data/uranus.2040.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/data/uranus.9910.c -o build/temp.linux-x86_64-3.10/extensions/data/uranus.9910.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/dtoa.c -o build/temp.linux-x86_64-3.10/extensions/dtoa.o -ffloat-store
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: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: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;
       |                           ^~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/aa_hadec.c -o build/temp.linux-x86_64-3.10/libastro/aa_hadec.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/aberration.c -o build/temp.linux-x86_64-3.10/libastro/aberration.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/actan.c -o build/temp.linux-x86_64-3.10/libastro/actan.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/airmass.c -o build/temp.linux-x86_64-3.10/libastro/airmass.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/anomaly.c -o build/temp.linux-x86_64-3.10/libastro/anomaly.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/ap_as.c -o build/temp.linux-x86_64-3.10/libastro/ap_as.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/atlas.c -o build/temp.linux-x86_64-3.10/libastro/atlas.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/auxil.c -o build/temp.linux-x86_64-3.10/libastro/auxil.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/bdl.c -o build/temp.linux-x86_64-3.10/libastro/bdl.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/chap95.c -o build/temp.linux-x86_64-3.10/libastro/chap95.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/chap95_data.c -o build/temp.linux-x86_64-3.10/libastro/chap95_data.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/circum.c -o build/temp.linux-x86_64-3.10/libastro/circum.o -ffloat-store
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 */
       |                ^
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/comet.c -o build/temp.linux-x86_64-3.10/libastro/comet.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/constel.c -o build/temp.linux-x86_64-3.10/libastro/constel.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/dbfmt.c -o build/temp.linux-x86_64-3.10/libastro/dbfmt.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/deep.c -o build/temp.linux-x86_64-3.10/libastro/deep.o -ffloat-store
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,
       |                                                          ^~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/deltat.c -o build/temp.linux-x86_64-3.10/libastro/deltat.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/earthsat.c -o build/temp.linux-x86_64-3.10/libastro/earthsat.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/eq_ecl.c -o build/temp.linux-x86_64-3.10/libastro/eq_ecl.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/eq_gal.c -o build/temp.linux-x86_64-3.10/libastro/eq_gal.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/formats.c -o build/temp.linux-x86_64-3.10/libastro/formats.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/helio.c -o build/temp.linux-x86_64-3.10/libastro/helio.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/jupmoon.c -o build/temp.linux-x86_64-3.10/libastro/jupmoon.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/libration.c -o build/temp.linux-x86_64-3.10/libastro/libration.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/magdecl.c -o build/temp.linux-x86_64-3.10/libastro/magdecl.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/marsmoon.c -o build/temp.linux-x86_64-3.10/libastro/marsmoon.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/misc.c -o build/temp.linux-x86_64-3.10/libastro/misc.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/mjd.c -o build/temp.linux-x86_64-3.10/libastro/mjd.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/moon.c -o build/temp.linux-x86_64-3.10/libastro/moon.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/mooncolong.c -o build/temp.linux-x86_64-3.10/libastro/mooncolong.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/moonnf.c -o build/temp.linux-x86_64-3.10/libastro/moonnf.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/nutation.c -o build/temp.linux-x86_64-3.10/libastro/nutation.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/obliq.c -o build/temp.linux-x86_64-3.10/libastro/obliq.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/parallactic.c -o build/temp.linux-x86_64-3.10/libastro/parallactic.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/parallax.c -o build/temp.linux-x86_64-3.10/libastro/parallax.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/plans.c -o build/temp.linux-x86_64-3.10/libastro/plans.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/plmoon.c -o build/temp.linux-x86_64-3.10/libastro/plmoon.o -ffloat-store
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:
       |         ^~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/plshadow.c -o build/temp.linux-x86_64-3.10/libastro/plshadow.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/precess.c -o build/temp.linux-x86_64-3.10/libastro/precess.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/reduce.c -o build/temp.linux-x86_64-3.10/libastro/reduce.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/refract.c -o build/temp.linux-x86_64-3.10/libastro/refract.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/rings.c -o build/temp.linux-x86_64-3.10/libastro/rings.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/riset.c -o build/temp.linux-x86_64-3.10/libastro/riset.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/riset_cir.c -o build/temp.linux-x86_64-3.10/libastro/riset_cir.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/satmoon.c -o build/temp.linux-x86_64-3.10/libastro/satmoon.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/sdp4.c -o build/temp.linux-x86_64-3.10/libastro/sdp4.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/sgp4.c -o build/temp.linux-x86_64-3.10/libastro/sgp4.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/sphcart.c -o build/temp.linux-x86_64-3.10/libastro/sphcart.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/sun.c -o build/temp.linux-x86_64-3.10/libastro/sun.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/thetag.c -o build/temp.linux-x86_64-3.10/libastro/thetag.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/twobody.c -o build/temp.linux-x86_64-3.10/libastro/twobody.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/umoon.c -o build/temp.linux-x86_64-3.10/libastro/umoon.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/utc_gst.c -o build/temp.linux-x86_64-3.10/libastro/utc_gst.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/vsop87.c -o build/temp.linux-x86_64-3.10/libastro/vsop87.o -ffloat-store
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c libastro/vsop87_data.c -o build/temp.linux-x86_64-3.10/libastro/vsop87_data.o -ffloat-store
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.10/extensions/_libastro.o build/temp.linux-x86_64-3.10/extensions/data/jupiter.1020.o build/temp.linux-x86_64-3.10/extensions/data/jupiter.2040.o build/temp.linux-x86_64-3.10/extensions/data/jupiter.9910.o build/temp.linux-x86_64-3.10/extensions/data/mars.1020.o build/temp.linux-x86_64-3.10/extensions/data/mars.2040.o build/temp.linux-x86_64-3.10/extensions/data/mars.9910.o build/temp.linux-x86_64-3.10/extensions/data/saturne.1020.o build/temp.linux-x86_64-3.10/extensions/data/saturne.2040.o build/temp.linux-x86_64-3.10/extensions/data/saturne.9910.o build/temp.linux-x86_64-3.10/extensions/data/uranus.1020.o build/temp.linux-x86_64-3.10/extensions/data/uranus.2040.o build/temp.linux-x86_64-3.10/extensions/data/uranus.9910.o build/temp.linux-x86_64-3.10/extensions/dtoa.o build/temp.linux-x86_64-3.10/libastro/aa_hadec.o build/temp.linux-x86_64-3.10/libastro/aberration.o build/temp.linux-x86_64-3.10/libastro/actan.o build/temp.linux-x86_64-3.10/libastro/airmass.o build/temp.linux-x86_64-3.10/libastro/anomaly.o build/temp.linux-x86_64-3.10/libastro/ap_as.o build/temp.linux-x86_64-3.10/libastro/atlas.o build/temp.linux-x86_64-3.10/libastro/auxil.o build/temp.linux-x86_64-3.10/libastro/bdl.o build/temp.linux-x86_64-3.10/libastro/chap95.o build/temp.linux-x86_64-3.10/libastro/chap95_data.o build/temp.linux-x86_64-3.10/libastro/circum.o build/temp.linux-x86_64-3.10/libastro/comet.o build/temp.linux-x86_64-3.10/libastro/constel.o build/temp.linux-x86_64-3.10/libastro/dbfmt.o build/temp.linux-x86_64-3.10/libastro/deep.o build/temp.linux-x86_64-3.10/libastro/deltat.o build/temp.linux-x86_64-3.10/libastro/earthsat.o build/temp.linux-x86_64-3.10/libastro/eq_ecl.o build/temp.linux-x86_64-3.10/libastro/eq_gal.o build/temp.linux-x86_64-3.10/libastro/formats.o build/temp.linux-x86_64-3.10/libastro/helio.o build/temp.linux-x86_64-3.10/libastro/jupmoon.o build/temp.linux-x86_64-3.10/libastro/libration.o build/temp.linux-x86_64-3.10/libastro/magdecl.o build/temp.linux-x86_64-3.10/libastro/marsmoon.o build/temp.linux-x86_64-3.10/libastro/misc.o build/temp.linux-x86_64-3.10/libastro/mjd.o build/temp.linux-x86_64-3.10/libastro/moon.o build/temp.linux-x86_64-3.10/libastro/mooncolong.o build/temp.linux-x86_64-3.10/libastro/moonnf.o build/temp.linux-x86_64-3.10/libastro/nutation.o build/temp.linux-x86_64-3.10/libastro/obliq.o build/temp.linux-x86_64-3.10/libastro/parallactic.o build/temp.linux-x86_64-3.10/libastro/parallax.o build/temp.linux-x86_64-3.10/libastro/plans.o build/temp.linux-x86_64-3.10/libastro/plmoon.o build/temp.linux-x86_64-3.10/libastro/plshadow.o build/temp.linux-x86_64-3.10/libastro/precess.o build/temp.linux-x86_64-3.10/libastro/reduce.o build/temp.linux-x86_64-3.10/libastro/refract.o build/temp.linux-x86_64-3.10/libastro/rings.o build/temp.linux-x86_64-3.10/libastro/riset.o build/temp.linux-x86_64-3.10/libastro/riset_cir.o build/temp.linux-x86_64-3.10/libastro/satmoon.o build/temp.linux-x86_64-3.10/libastro/sdp4.o build/temp.linux-x86_64-3.10/libastro/sgp4.o build/temp.linux-x86_64-3.10/libastro/sphcart.o build/temp.linux-x86_64-3.10/libastro/sun.o build/temp.linux-x86_64-3.10/libastro/thetag.o build/temp.linux-x86_64-3.10/libastro/twobody.o build/temp.linux-x86_64-3.10/libastro/umoon.o build/temp.linux-x86_64-3.10/libastro/utc_gst.o build/temp.linux-x86_64-3.10/libastro/vsop87.o build/temp.linux-x86_64-3.10/libastro/vsop87_data.o -lm -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/_libastro.cpython-310-x86_64-linux-gnu.so
    dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build; python3.10 -m unittest discover -v
test_Angle_constructor (ephem.tests.test_angles.AngleTests) ... ok
test_angle_addition (ephem.tests.test_angles.AngleTests) ... ok
test_angle_subtraction (ephem.tests.test_angles.AngleTests) ... ok
test_degrees_constructor (ephem.tests.test_angles.AngleTests) ... ok
test_degrees_constructor_refuses_alphabetics (ephem.tests.test_angles.AngleTests) ... ok
test_degrees_float_value (ephem.tests.test_angles.AngleTests) ... ok
test_degrees_string_value (ephem.tests.test_angles.AngleTests) ... ok
test_hours_constructor (ephem.tests.test_angles.AngleTests) ... ok
test_hours_float_value (ephem.tests.test_angles.AngleTests) ... ok
test_hours_string_value (ephem.tests.test_angles.AngleTests) ... ok
test_EarthSatellite (ephem.tests.test_bodies.BodyTests) ... ok
test_EllipticalBody (ephem.tests.test_bodies.BodyTests) ... ok
test_FixedBody (ephem.tests.test_bodies.BodyTests) ... ok
test_FixedBody_does_not_ignore_arguments (ephem.tests.test_bodies.BodyTests) ... ok
test_HyperbolicBody (ephem.tests.test_bodies.BodyTests) ... ok
test_Named (ephem.tests.test_bodies.BodyTests) ... ok
test_ParabolicBody (ephem.tests.test_bodies.BodyTests) ... ok
test_newlineTLE (ephem.tests.test_bodies.BodyTests)
Make sure TLE strings with newlines are accepted. ... ok
test_constellation (ephem.tests.test_bodies.FunctionTests) ... ok
test_jupiter (ephem.tests.test_bodies.PlanetTests) ... ok
test_saturn (ephem.tests.test_bodies.PlanetTests) ... ok
test_boston (ephem.tests.test_cities.CityTests) ... ok
test_unknown_city (ephem.tests.test_cities.CityTests) ... ok
test_constants (ephem.tests.test_constants.ConstantTests) ... ok
test_another_tuple_value (ephem.tests.test_dates.DateTests) ... ok
test_date_constructor (ephem.tests.test_dates.DateTests) ... ok
test_date_parser_error_message (ephem.tests.test_dates.DateTests) ... ok
test_date_string_value (ephem.tests.test_dates.DateTests) ... ok
test_date_triple_value (ephem.tests.test_dates.DateTests) ... ok
test_date_tuple_value (ephem.tests.test_dates.DateTests) ... ok
test_localtime_modern (ephem.tests.test_dates.DateTests) ... ok
test_timezone_aware_cet (ephem.tests.test_dates.DateTests) ... ok
test_timezone_aware_utc (ephem.tests.test_dates.DateTests) ... ok
test_tuple_that_rounded_to_negative_seconds (ephem.tests.test_dates.DateTests) ... ok
test_year_zero (ephem.tests.test_dates.DateTests) ... ok
test_github_14 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_193 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_196 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_24 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_25 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_28 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_31 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_41 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_58 (ephem.tests.test_github_issues.GitHubIssues) ... ok
test_github_64 (ephem.tests.test_github_issues.GitHubIssues) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_jpl.JPLTest) ... ok
runTest (ephem.tests.test_launchpad_236872.Launchpad236872Tests) ... ok
runTest (ephem.tests.test_launchpad_244811.Launchpad244811Tests) ... ok
test_date_creation (ephem.tests.test_locales.locales_suite) ... skipped ''
test_satellite_creation (ephem.tests.test_locales.locales_suite) ... skipped ''
test_lon_can_also_be_called_long (ephem.tests.test_observers.ObserverTests) ... ok
test_longitude_constructor_does_not_hang (ephem.tests.test_observers.ObserverTests) ... ok
test_observer_copy (ephem.tests.test_observers.ObserverTests) ... ok
test_pressure_at_11km (ephem.tests.test_observers.ObserverTests) ... ok
test_pressure_at_sea_level (ephem.tests.test_observers.ObserverTests) ... ok
test_cir_pos_ha (ephem.tests.test_rise_set.HourAngleTests) ... ok
test_earth_satellite_ha (ephem.tests.test_rise_set.HourAngleTests) ... ok
test_fixed_ha (ephem.tests.test_rise_set.HourAngleTests) ... ok
test_always_up (ephem.tests.test_rise_set.RiseSetTests) ... ok
test_moon (ephem.tests.test_rise_set.RiseSetTests) ... ok
test_never_up (ephem.tests.test_rise_set.RiseSetTests) ... ok
test_sun (ephem.tests.test_rise_set.RiseSetTests) ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/rise-set.rst
Doctest: rise-set.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/tutorial.rst
Doctest: tutorial.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/CHANGELOG.rst
Doctest: CHANGELOG.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/date.rst
Doctest: date.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/examples.rst
Doctest: examples.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/toc.rst
Doctest: toc.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/radec.rst
Doctest: radec.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/quick.rst
Doctest: quick.rst ... FAIL
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/newton.rst
Doctest: newton.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/catalogs.rst
Doctest: catalogs.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/angle.rst
Doctest: angle.rst ... ok
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/coordinates.rst
Doctest: coordinates.rst ... ok
test_TLE_checksum (ephem.tests.test_satellite.SatelliteTests) ... ok
test_attribute_values_and_roundtrips (ephem.tests.test_satellite.SatelliteTests) ... ok
test_more_than_one_year_after_TLE (ephem.tests.test_satellite.SatelliteTests) ... ok
test_more_than_one_year_before_TLE (ephem.tests.test_satellite.SatelliteTests) ... ok
test_next_pass (ephem.tests.test_satellite.SatelliteTests) ... ok
test_next_pass_consecutive (ephem.tests.test_satellite.SatelliteTests) ... ok
test_next_pass_notsinglepass (ephem.tests.test_satellite.SatelliteTests) ... ok
test_normal_methods (ephem.tests.test_satellite.SatelliteTests) ... ok
test_Arcturus (ephem.tests.test_stars.StarTests) ... ok
test_Fomalhaut (ephem.tests.test_stars.StarTests) ... ok
test_Fomalhaut_autocompute (ephem.tests.test_stars.StarTests) ... ok
test_Fomalhaut_compute (ephem.tests.test_stars.StarTests) ... ok
test_catalog_size (ephem.tests.test_stars.StarTests) ... ok
test_unknown_star (ephem.tests.test_stars.StarTests) ... ok
test_Acamar (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Achernar (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Acrux (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Adhara (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Aldebaran (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alioth (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alkaid (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alnair (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alnilam (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alphard (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alphecca (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Alpheratz (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Altair (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Ankaa (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Antares (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Arcturus (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Atria (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Avior (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Bellatrix (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Betelgeuse (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Canopus (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Capella (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Deneb (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Denebola (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Diphda (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Dubhe (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Elnath (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Eltanin (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Enif (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Fomalhaut (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Gacrux (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Gienah (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Hadar (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Hamal (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Kaus_Australis (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Kochab (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Markab (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Menkar (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Menkent (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Miaplacidus (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Mirfak (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Nunki (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Peacock (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Pollux (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Procyon (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Rasalhague (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Regulus (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Rigel (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Rigil_Kentaurus_2002 (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Rigil_Kentaurus_2017 (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Sabik (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Schedar (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Shaula (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Sirius (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Spica (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Suhail (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Vega (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_Zubenelgenubi (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_number_tables_cross_reference (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_number_tables_len (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_number_tables_range (ephem.tests.test_stars.Test57NavigationStars) ... ok
test_usno (ephem.tests.test_usno.Test_appgeo_deneb) ... ok
test_usno (ephem.tests.test_usno.Test_appgeo_jupiter) ... ok
test_usno (ephem.tests.test_usno.Test_appgeo_moon) ... ok
test_usno (ephem.tests.test_usno.Test_appgeo_sun) ... ok
test_usno (ephem.tests.test_usno.Test_apptopo_deneb) ... ok
test_usno (ephem.tests.test_usno.Test_apptopo_moon) ... ok
test_usno (ephem.tests.test_usno.Test_apptopo_sun) ... ok
test_usno (ephem.tests.test_usno.Test_astrom_antares) ... ok
test_usno (ephem.tests.test_usno.Test_astrom_mercury) ... ok
test_usno (ephem.tests.test_usno.Test_astrom_neptune) ... ok
test_usno (ephem.tests.test_usno.Test_moon_phases) ... ok
test_usno (ephem.tests.test_usno.Test_riset_moon) ... ok
test_usno (ephem.tests.test_usno.Test_riset_sun) ... ok
test_usno (ephem.tests.test_usno.Test_risettran_moon) ... ok
test_usno (ephem.tests.test_usno.Test_risettran_rigel) ... ok
test_equinoxes (ephem.tests.test_usno_equinoxes.UsnoEquinoxesTests) ... ok

======================================================================
FAIL: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/quick.rst
Doctest: quick.rst
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python3.10/doctest.py", line 2221, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for quick.rst
   File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/quick.rst", line 0

----------------------------------------------------------------------
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build/ephem/tests/../doc/quick.rst", line 878, in quick.rst
Failed example:
     zone = ZoneInfo('US/Eastern')
Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
         return importlib.resources.open_binary(package_name, resource_name)
       File "/usr/lib/python3.10/importlib/resources.py", line 43, in open_binary
         package = _common.get_package(package)
       File "/usr/lib/python3.10/importlib/_common.py", line 66, in get_package
         resolved = resolve(package)
       File "/usr/lib/python3.10/importlib/_common.py", line 57, in resolve
         return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
       File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
         return _bootstrap._gcd_import(name[level:], package, level)
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 1004, 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.10/doctest.py", line 1350, 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.10/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.10_ephem/build/ephem/tests/../doc/quick.rst", line 879, in quick.rst
Failed example:
     local = ephem.to_timezone(d, zone)
Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python3.10/doctest.py", line 1350, 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.10_ephem/build/ephem/tests/../doc/quick.rst", line 880, 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.10_ephem/build/ephem/tests/../doc/quick.rst", line 882, 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.10_ephem/build/ephem/tests/../doc/quick.rst", line 900, in quick.rst
Failed example:
     zone = ZoneInfo('US/Eastern')
Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python3.10/zoneinfo/_common.py", line 12, in load_tzdata
         return importlib.resources.open_binary(package_name, resource_name)
       File "/usr/lib/python3.10/importlib/resources.py", line 43, in open_binary
         package = _common.get_package(package)
       File "/usr/lib/python3.10/importlib/_common.py", line 66, in get_package
         resolved = resolve(package)
       File "/usr/lib/python3.10/importlib/_common.py", line 57, in resolve
         return cand if isinstance(cand, types.ModuleType) else importlib.import_module(cand)
       File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
         return _bootstrap._gcd_import(name[level:], package, level)
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
       File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
       File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
       File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
       File "<frozen importlib._bootstrap>", line 1004, 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.10/doctest.py", line 1350, 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.10/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.10_ephem/build/ephem/tests/../doc/quick.rst", line 901, 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.10/doctest.py", line 1350, 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.10_ephem/build/ephem/tests/../doc/quick.rst", line 903, in quick.rst
Failed example:
     print(d)
Expected:
     2021/11/26 15:17:00
Got:
     1997/3/9 00:13:00


----------------------------------------------------------------------
Ran 173 tests in 1.202s

FAILED (failures=1, skipped=2)
E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ephem/build; python3.10 -m unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13
make: *** [debian/rules:7: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

Note: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Debian-astro-maintainers mailing list