Source: python-udatetime
Version: 0.0.17-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240420 ftbfs-trixie ftbfs-t64-armhf

Hi,

During a rebuild of all packages in sid, your package failed to build
on armhf.


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:311: python3.12 setup.py config 
> running config
> I: pybuild base:311: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:311: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/udatetime
> copying udatetime/_pure.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/udatetime
> copying udatetime/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/udatetime
> running egg_info
> creating udatetime.egg-info
> writing udatetime.egg-info/PKG-INFO
> writing dependency_links to udatetime.egg-info/dependency_links.txt
> writing top-level names to udatetime.egg-info/top_level.txt
> writing manifest file 'udatetime.egg-info/SOURCES.txt'
> reading manifest file 'udatetime.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'udatetime.egg-info/SOURCES.txt'
> running build_ext
> building 'udatetime.rfc3339' extension
> creating build
> creating build/temp.linux-armv7l-cpython-312
> creating build/temp.linux-armv7l-cpython-312/src
> arm-linux-gnueabihf-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 
> -Wall -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
> -D_PYTHON3=1 -I/usr/include/python3.12 -c ./src/rfc3339.c -o 
> build/temp.linux-armv7l-cpython-312/./src/rfc3339.o -Ofast -std=c99
> ./src/rfc3339.c: In function ‘_gettime’:
> ./src/rfc3339.c:104:5: warning: ‘ftime’ is deprecated: Use gettimeofday or 
> clock_gettime instead [-Wdeprecated-declarations]
>   104 |     ftime(&t);
>       |     ^~~~~
> In file included from ./src/rfc3339.c:16:
> /usr/include/arm-linux-gnueabihf/sys/timeb.h:29:12: note: declared here
>    29 | extern int ftime (struct timeb *__timebuf)
>       |            ^~~~~
> ./src/rfc3339.c: At top level:
> ./src/rfc3339.c:511:21: warning: ‘CAPI’ initialized and declared ‘extern’
>   511 | extern RFC3999_CAPI CAPI = {
>       |                     ^~~~
> ./src/rfc3339.c: In function ‘FixedOffset_tzname’:
> ./src/rfc3339.c:585:12: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size 6 [-Wformat-overflow=]
>   585 |         "%c%02d:%02d",
>       |            ^~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-35791394, 
> 35791394]
>   585 |         "%c%02d:%02d",
>       |         ^~~~~~~~~~~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-8, 59]
> In file included from /usr/include/stdio.h:906,
>                  from /usr/include/python3.12/Python.h:24,
>                  from ./src/rfc3339.c:4:
> In function ‘sprintf’,
>     inlined from ‘FixedOffset_tzname’ at ./src/rfc3339.c:583:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 7 and 14 bytes into a destination of 
> size 7
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘FixedOffset_repr’:
> ./src/rfc3339.c:585:12: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size 6 [-Wformat-overflow=]
>   585 |         "%c%02d:%02d",
>       |            ^~~~
> In function ‘FixedOffset_tzname’,
>     inlined from ‘FixedOffset_repr’ at ./src/rfc3339.c:603:12:
> ./src/rfc3339.c:585:9: note: directive argument in the range [-35791394, 
> 35791394]
>   585 |         "%c%02d:%02d",
>       |         ^~~~~~~~~~~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘FixedOffset_tzname’ at ./src/rfc3339.c:583:5,
>     inlined from ‘FixedOffset_repr’ at ./src/rfc3339.c:603:12:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 7 and 14 bytes into a destination of 
> size 7
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘localnow_to_string’:
> ./src/rfc3339.c:480:46: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size between 0 and 6 [-Wformat-overflow=]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |                                              ^~~~
> In function ‘_format_date_time’,
>     inlined from ‘localnow_to_string’ at ./src/rfc3339.c:912:5:
> ./src/rfc3339.c:480:9: note: directive argument in the range [-35791394, 
> 35791394]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c:480:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘_format_date_time’ at ./src/rfc3339.c:478:5,
>     inlined from ‘localnow_to_string’ at ./src/rfc3339.c:912:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 33 and 97 bytes into a destination 
> of size 33
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘to_rfc3339_string’:
> ./src/rfc3339.c:480:40: warning: ‘%06d’ directive writing between 6 and 8 
> bytes into a region of size between 7 and 13 [-Wformat-overflow=]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |                                        ^~~~
> In function ‘_format_date_time’,
>     inlined from ‘to_rfc3339_string’ at ./src/rfc3339.c:825:5:
> ./src/rfc3339.c:480:9: note: directive argument in the range [0, 16777215]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c:480:9: note: directive argument in the range [-35791394, 
> 35791394]
> ./src/rfc3339.c:480:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘_format_date_time’ at ./src/rfc3339.c:478:5,
>     inlined from ‘to_rfc3339_string’ at ./src/rfc3339.c:825:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 33 and 48 bytes into a destination 
> of size 33
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
> -g -fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-armv7l-cpython-312/./src/rfc3339.o 
> -L/usr/lib/arm-linux-gnueabihf -lm -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/udatetime/rfc3339.cpython-312-arm-linux-gnueabihf.so
> running build_scripts
> creating build/scripts-3.12
> copying scripts/bench_udatetime.py -> build/scripts-3.12
> changing mode of build/scripts-3.12/bench_udatetime.py from 644 to 755
> I: pybuild base:311: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/udatetime
> copying udatetime/_pure.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/udatetime
> copying udatetime/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/udatetime
> running egg_info
> writing udatetime.egg-info/PKG-INFO
> writing dependency_links to udatetime.egg-info/dependency_links.txt
> writing top-level names to udatetime.egg-info/top_level.txt
> reading manifest file 'udatetime.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'udatetime.egg-info/SOURCES.txt'
> running build_ext
> building 'udatetime.rfc3339' extension
> creating build/temp.linux-armv7l-cpython-311
> creating build/temp.linux-armv7l-cpython-311/src
> arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g 
> -Werror=implicit-function-declaration -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -g -O2 
> -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D_PYTHON3=1 
> -I/usr/include/python3.11 -c ./src/rfc3339.c -o 
> build/temp.linux-armv7l-cpython-311/./src/rfc3339.o -Ofast -std=c99
> ./src/rfc3339.c: In function ‘_gettime’:
> ./src/rfc3339.c:104:5: warning: ‘ftime’ is deprecated: Use gettimeofday or 
> clock_gettime instead [-Wdeprecated-declarations]
>   104 |     ftime(&t);
>       |     ^~~~~
> In file included from ./src/rfc3339.c:16:
> /usr/include/arm-linux-gnueabihf/sys/timeb.h:29:12: note: declared here
>    29 | extern int ftime (struct timeb *__timebuf)
>       |            ^~~~~
> ./src/rfc3339.c: At top level:
> ./src/rfc3339.c:511:21: warning: ‘CAPI’ initialized and declared ‘extern’
>   511 | extern RFC3999_CAPI CAPI = {
>       |                     ^~~~
> ./src/rfc3339.c: In function ‘FixedOffset_tzname’:
> ./src/rfc3339.c:585:12: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size 6 [-Wformat-overflow=]
>   585 |         "%c%02d:%02d",
>       |            ^~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-35791394, 
> 35791394]
>   585 |         "%c%02d:%02d",
>       |         ^~~~~~~~~~~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-8, 59]
> In file included from /usr/include/stdio.h:906,
>                  from /usr/include/python3.11/Python.h:24,
>                  from ./src/rfc3339.c:4:
> In function ‘sprintf’,
>     inlined from ‘FixedOffset_tzname’ at ./src/rfc3339.c:583:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 7 and 14 bytes into a destination of 
> size 7
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘FixedOffset_repr’:
> ./src/rfc3339.c:585:12: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size 6 [-Wformat-overflow=]
>   585 |         "%c%02d:%02d",
>       |            ^~~~
> In function ‘FixedOffset_tzname’,
>     inlined from ‘FixedOffset_repr’ at ./src/rfc3339.c:603:12:
> ./src/rfc3339.c:585:9: note: directive argument in the range [-35791394, 
> 35791394]
>   585 |         "%c%02d:%02d",
>       |         ^~~~~~~~~~~~~
> ./src/rfc3339.c:585:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘FixedOffset_tzname’ at ./src/rfc3339.c:583:5,
>     inlined from ‘FixedOffset_repr’ at ./src/rfc3339.c:603:12:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 7 and 14 bytes into a destination of 
> size 7
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘localnow_to_string’:
> ./src/rfc3339.c:480:46: warning: ‘%02d’ directive writing between 2 and 9 
> bytes into a region of size between 0 and 6 [-Wformat-overflow=]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |                                              ^~~~
> In function ‘_format_date_time’,
>     inlined from ‘localnow_to_string’ at ./src/rfc3339.c:912:5:
> ./src/rfc3339.c:480:9: note: directive argument in the range [-35791394, 
> 35791394]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c:480:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘_format_date_time’ at ./src/rfc3339.c:478:5,
>     inlined from ‘localnow_to_string’ at ./src/rfc3339.c:912:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 33 and 97 bytes into a destination 
> of size 33
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c: In function ‘to_rfc3339_string’:
> ./src/rfc3339.c:480:40: warning: ‘%06d’ directive writing between 6 and 8 
> bytes into a region of size between 7 and 13 [-Wformat-overflow=]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |                                        ^~~~
> In function ‘_format_date_time’,
>     inlined from ‘to_rfc3339_string’ at ./src/rfc3339.c:825:5:
> ./src/rfc3339.c:480:9: note: directive argument in the range [0, 16777215]
>   480 |         "%04d-%02d-%02dT%02d:%02d:%02d.%06d%c%02d:%02d",
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./src/rfc3339.c:480:9: note: directive argument in the range [-35791394, 
> 35791394]
> ./src/rfc3339.c:480:9: note: directive argument in the range [-8, 59]
> In function ‘sprintf’,
>     inlined from ‘_format_date_time’ at ./src/rfc3339.c:478:5,
>     inlined from ‘to_rfc3339_string’ at ./src/rfc3339.c:825:5:
> /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30:10: note: 
> ‘__builtin___sprintf_chk’ output between 33 and 48 bytes into a destination 
> of size 33
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> arm-linux-gnueabihf-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
> -Wl,-z,now -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 
> build/temp.linux-armv7l-cpython-311/./src/rfc3339.o 
> -L/usr/lib/arm-linux-gnueabihf -lm -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/udatetime/rfc3339.cpython-311-arm-linux-gnueabihf.so
> running build_scripts
> creating build/scripts-3.11
> copying scripts/bench_udatetime.py -> build/scripts-3.11
> changing mode of build/scripts-3.11/bench_udatetime.py from 644 to 755
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build; python3.12 -m 
> unittest discover -v test
> test_broken_from_string (test_udatetime.Test.test_broken_from_string) ... ok
> test_from_and_to_string (test_udatetime.Test.test_from_and_to_string) ... ok
> test_fromtimestamp (test_udatetime.Test.test_fromtimestamp) ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py:78:
>  DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>   offset = datetime.fromtimestamp(t) - datetime.utcfromtimestamp(t)
> ok
> test_now (test_udatetime.Test.test_now) ... ERROR
> test_ok_from_string (test_udatetime.Test.test_ok_from_string) ... ok
> test_precision (test_udatetime.Test.test_precision) ... ok
> test_raise_on_not_TZFixedOffset 
> (test_udatetime.Test.test_raise_on_not_TZFixedOffset) ... ok
> test_tzone (test_udatetime.Test.test_tzone) ... ok
> test_utcfromtimestamp (test_udatetime.Test.test_utcfromtimestamp) ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py:122:
>  DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>   dt = datetime.utcfromtimestamp(t)
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py:138:
>  DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and 
> scheduled for removal in a future version. Use timezone-aware objects to 
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, 
> datetime.UTC).
>   dt = datetime.utcfromtimestamp(t)
> ok
> test_utcnow (test_udatetime.Test.test_utcnow) ... 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py:11:
>  DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled 
> for removal in a future version. Use timezone-aware objects to represent 
> datetimes in UTC: datetime.datetime.now(datetime.UTC).
>   dt_now = datetime.utcnow()
> ERROR
> test_variable_fraction (test_udatetime.Test.test_variable_fraction) ... ok
> 
> ======================================================================
> ERROR: test_now (test_udatetime.Test.test_now)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py",
>  line 28, in test_now
>     now = udatetime.now()
>           ^^^^^^^^^^^^^^^
> ValueError: year 95526 is out of range
> 
> ======================================================================
> ERROR: test_utcnow (test_udatetime.Test.test_utcnow)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build/test/test_udatetime.py",
>  line 12, in test_utcnow
>     now = udatetime.utcnow()
>           ^^^^^^^^^^^^^^^^^^
> ValueError: year 95662 is out of range
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.003s
> 
> FAILED (errors=2)
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_udatetime/build; python3.12 -m 
> unittest discover -v test
> I: pybuild base:311: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build; python3.11 -m 
> unittest discover -v test
> test_broken_from_string (test_udatetime.Test.test_broken_from_string) ... ok
> test_from_and_to_string (test_udatetime.Test.test_from_and_to_string) ... ok
> test_fromtimestamp (test_udatetime.Test.test_fromtimestamp) ... ok
> test_now (test_udatetime.Test.test_now) ... ERROR
> test_ok_from_string (test_udatetime.Test.test_ok_from_string) ... ok
> test_precision (test_udatetime.Test.test_precision) ... ok
> test_raise_on_not_TZFixedOffset 
> (test_udatetime.Test.test_raise_on_not_TZFixedOffset) ... ok
> test_tzone (test_udatetime.Test.test_tzone) ... ok
> test_utcfromtimestamp (test_udatetime.Test.test_utcfromtimestamp) ... ok
> test_utcnow (test_udatetime.Test.test_utcnow) ... ERROR
> test_variable_fraction (test_udatetime.Test.test_variable_fraction) ... ok
> 
> ======================================================================
> ERROR: test_now (test_udatetime.Test.test_now)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/test/test_udatetime.py",
>  line 28, in test_now
>     now = udatetime.now()
>           ^^^^^^^^^^^^^^^
> ValueError: year 104645 is out of range
> 
> ======================================================================
> ERROR: test_utcnow (test_udatetime.Test.test_utcnow)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build/test/test_udatetime.py",
>  line 12, in test_utcnow
>     now = udatetime.utcnow()
>           ^^^^^^^^^^^^^^^^^^
> ValueError: year 104781 is out of range
> 
> ----------------------------------------------------------------------
> Ran 11 tests in 0.004s
> 
> FAILED (errors=2)
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_udatetime/build; python3.11 -m 
> unittest discover -v test
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/04/20/python-udatetime_0.0.17-1_unstable-armhf.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240420;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240420&fusertaguser=lu...@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.

Reply via email to