Source: tnetstring3
Version: 0.3.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
>  debian/rules build
> dh build --with python3 --buildsystem=pybuild
> dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
> (level 9 in use)
> I: pybuild base:240: python3.10 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 
> 9 in use)
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tnetstring
> copying tnetstring/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/tnetstring
> running build_ext
> building '_tnetstring' extension
> creating build
> creating build/temp.linux-x86_64-cpython-310
> creating build/temp.linux-x86_64-cpython-310/tnetstring
> 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 -I/usr/include/python3.10 -c 
> tnetstring/_tnetstring.c -o 
> build/temp.linux-x86_64-cpython-310/tnetstring/_tnetstring.o
> In file included from tnetstring/tns_core.c:9,
>                  from tnetstring/_tnetstring.c:16:
> tnetstring/tns_core.c: In function ‘tns_parse’:
> tnetstring/tns_core.c:56:50: warning: comparison of integer expressions of 
> different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ 
> [-Wsign-compare]
>    56 |   check(tns_strtosz(data, len, &vallen, &valstr) != -1,
>       |                                                  ^~
> tnetstring/dbg.h:12:31: note: in definition of macro ‘check’
>    12 | #define check(A, M, ...) if(!(A)) { if(PyErr_Occurred() == NULL) { 
> PyErr_Format(PyExc_ValueError, M, ##__VA_ARGS__); }; goto error; }
>       |                               ^
> tnetstring/tns_core.c: In function ‘tns_outbuf_puts’:
> tnetstring/tns_core.c:444:36: warning: comparison of integer expressions of 
> different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} 
> [-Wsign-compare]
>   444 |   if(outbuf->head - outbuf->buffer < len) {
>       |                                    ^
> tnetstring/_tnetstring.c: In function ‘_tnetstring_load’:
> tnetstring/_tnetstring.c:153:51: warning: comparison of integer expressions 
> of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka 
> ‘long unsigned int’} [-Wsign-compare]
>   153 |   if(!PyBytes_Check(res) || PyBytes_GET_SIZE(res) != datalen + 1) {
>       |                                                   ^~
> x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 
> -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2 
> build/temp.linux-x86_64-cpython-310/tnetstring/_tnetstring.o 
> -L/usr/lib/x86_64-linux-gnu -o 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/_tnetstring.cpython-310-x86_64-linux-gnu.so
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 
> in use)
> I: pybuild base:240: python3.10 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing tnetstring3.egg-info/PKG-INFO
> writing dependency_links to tnetstring3.egg-info/dependency_links.txt
> writing top-level names to tnetstring3.egg-info/top_level.txt
> reading manifest file 'tnetstring3.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE.txt'
> writing manifest file 'tnetstring3.egg-info/SOURCES.txt'
> running build_ext
> copying 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build/_tnetstring.cpython-310-x86_64-linux-gnu.so
>  -> 
> test_roundtrip_big_integer (tests.test_format.Test_Format) ... Segmentation 
> fault
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=139: 
> python3.10 setup.py test 
> dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/tnetstring3_0.3.1-3_unstable.log

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