[Debian-med-packaging] Bug#1092058: ghmm ftbfs with Python 3.13 as the default

Matthias Klose doko at debian.org
Sat Jan 4 08:21:53 GMT 2025


Package: src:ghmm
Version: 0.9~rc3-10
Severity: serious
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.13

ghmm ftbfs with Python 3.13 as the default

[...]
make[5]: Leaving directory '/<<PKGBUILDDIR>>/ghmmwrapper'
/usr/bin/python3 setup.py build
file ghmmwrapper.py (for module ghmmwrapper) not found
file ghmmwrapper.py (for module ghmmwrapper) not found
ghmmwrapper_wrap.c: In function ‘PythonCallBack’:
ghmmwrapper_wrap.c:3573:9: error: implicit declaration of function 
‘PyEval_CallObject’; did you mean ‘PyObject_CallObject’? 
[-Wimplicit-function-declaration]
  3573 |         PyEval_CallObject(func, arglist);
       |         ^~~~~~~~~~~~~~~~~
       |         PyObject_CallObject
ghmmwrapper_wrap.c: In function ‘delete_ghmm_alphabet’:
ghmmwrapper_wrap.c:3778:23: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
  3778 |             for(i=0; i<self->size; ++i)
       |                       ^
ghmmwrapper_wrap.c: In function ‘ghmm_cmodel_getStateName’:
ghmmwrapper_wrap.c:4031:16: warning: the comparison will always evaluate 
as ‘true’ for the pointer operand in ‘self->s + (sizetype)(index * 96)’ 
must not be NULL [-Waddress]
  4031 |             if((self->s + index) && index < self->N) return 
(self->s + index)->desc;
       |                ^
ghmmwrapper_wrap.c:4031:43: warning: comparison of integer expressions 
of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ 
[-Wsign-compare]
  4031 |             if((self->s + index) && index < self->N) return 
(self->s + index)->desc;
       |                                           ^
ghmmwrapper_wrap.c: In function ‘ghmm_dbackground_setName’:
ghmmwrapper_wrap.c:4064:20: warning: comparison of integer expressions 
of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ 
[-Wsign-compare]
  4064 |           if(index < self->n){
       |                    ^
ghmmwrapper_wrap.c: In function ‘ghmm_dmodel_getStateName’:
ghmmwrapper_wrap.c:4112:16: warning: the comparison will always evaluate 
as ‘true’ for the pointer operand in ‘self->s + (sizetype)(index * 80)’ 
must not be NULL [-Waddress]
  4112 |             if((self->s + index) && index < self->N) return 
(self->s + index)->desc;
       |                ^
ghmmwrapper_wrap.c:4112:43: warning: comparison of integer expressions 
of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ 
[-Wsign-compare]
  4112 |             if((self->s + index) && index < self->N) return 
(self->s + index)->desc;
       |                                           ^
ghmmwrapper_wrap.c: In function ‘int_matrix_alloc’:
ghmmwrapper_wrap.c:4223:28: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
  4223 |                 for (i=0; i<rows; ++i) mat[i] = malloc(cols * 
sizeof(int));
       |                            ^
ghmmwrapper_wrap.c: In function ‘int_matrix_free’:
ghmmwrapper_wrap.c:4230:28: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
  4230 |                 for (i=0; i<rows; ++i) free(mat[i]);
       |                            ^
ghmmwrapper_wrap.c: In function ‘double_matrix_alloc’:
ghmmwrapper_wrap.c:4243:28: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
  4243 |                 for (i=0; i<rows; ++i) mat[i] = malloc(cols * 
sizeof(double));
       |                            ^
ghmmwrapper_wrap.c: In function ‘double_matrix_free’:
ghmmwrapper_wrap.c:4250:28: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
  4250 |                 for (i=0; i<rows; ++i) free(mat[i]);
       |                            ^
ghmmwrapper_wrap.c: In function ‘_wrap_list2int_array’:
ghmmwrapper_wrap.c:26182:21: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
26182 |       for (i = 0; i < arg2; i++) {
       |                     ^
ghmmwrapper_wrap.c: In function ‘_wrap_int_array2list’:
ghmmwrapper_wrap.c:26242:18: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
26242 |       for (i=0; i<*arg3; i++) {
       |                  ^
ghmmwrapper_wrap.c: In function ‘_wrap_list2double_array’:
ghmmwrapper_wrap.c:26276:21: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
26276 |       for (i = 0; i < arg2; i++) {
       |                     ^
ghmmwrapper_wrap.c: In function ‘_wrap_double_array2list’:
ghmmwrapper_wrap.c:26343:18: warning: comparison of integer expressions 
of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} 
[-Wsign-compare]
26343 |       for (i=0; i<*arg3; i++) {
       |                  ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make[4]: *** [Makefile:727: all] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/ghmmwrapper'
make[3]: *** [Makefile:536: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:446: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2



More information about the Debian-med-packaging mailing list