[Debian-med-packaging] Bug#1065974: ghmm: FTBFS on arm{el,hf}: mcmc.c:144:3: error: implicit declaration of function ‘init_priors’ [-Werror=implicit-function-declaration]
Sebastian Ramacher
sramacher at debian.org
Sun Mar 10 21:39:45 GMT 2024
Source: ghmm
Version: 0.9~rc3-5.1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=ghmm&arch=armhf&ver=0.9%7Erc3-5.1&stamp=1709147715&raw=0
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/arm-linux-gnueabihf -I/usr/include/libxml2 -Wl,-z,relro -Wl,-z,now -o libxml-test libxml-test.o ../ghmm/.libs/libghmm.a -lm -lm -lm -lm -lpthread -llapacke -lxml2
mcmc.c: In function ‘main’:
mcmc.c:144:3: error: implicit declaration of function ‘init_priors’ [-Werror=implicit-function-declaration]
144 | init_priors(mo, &pA, &pB, &pPi);
| ^~~~~~~~~~~
mcmc.c:146:15: error: implicit declaration of function ‘ghmm_dmodel_cfbgibbs’; did you mean ‘ghmm_dmodel_logp’? [-Werror=implicit-function-declaration]
146 | int * Q = ghmm_dmodel_cfbgibbs(mo, my_output,
| ^~~~~~~~~~~~~~~~~~~~
| ghmm_dmodel_logp
mcmc.c:146:15: warning: initialization of ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
mcmc.c:148:108: warning: passing argument 4 of ‘ghmm_dmodel_viterbi_logp’ makes pointer from integer without a cast [-Wint-conversion]
148 | printf("viterbi prob mcmc%f \n", ghmm_dmodel_viterbi_logp(mo, my_output->seq[0], my_output->seq_len[0], Q[0]));
| ~^~~
| |
| int
In file included from mcmc.c:13:
../ghmm/viterbi.h:75:76: note: expected ‘int *’ but argument is of type ‘int’
75 | double ghmm_dmodel_viterbi_logp (ghmm_dmodel * mo, int *o, int len, int *state_seq);
| ~~~~~^~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/arm-linux-gnueabihf -I/usr/include/libxml2 -Wl,-z,relro -Wl,-z,now -o chmm chmm.o ../ghmm/.libs/libghmm.a -lm -lm -lm -lm -lpthread -llapacke -lxml2
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/arm-linux-gnueabihf -I/usr/include/libxml2 -Wl,-z,relro -Wl,-z,now -o chmm_test chmm_test.o ../ghmm/.libs/libghmm.a -lm -lm -lm -lm -lpthread -llapacke -lxml2
cc1: some warnings being treated as errors
make[5]: *** [Makefile:823: mcmc.o] Error 1
Cheers
--
Sebastian Ramacher
More information about the Debian-med-packaging
mailing list