[Debian-med-packaging] Bug#812767: r-bioc-genefilter: conflicting declarations of function gf_distance

Michael Tautschnig mt at debian.org
Tue Jan 26 11:59:33 UTC 2016


Package: r-bioc-genefilter
Version: 1.52.0-1
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error. Please note that we
use our research compiler tool-chain (using tools from the cbmc package), which
permits extended reporting on type inconsistencies at link time.

g++ -shared -L/usr/lib/R/lib -Wl,-z,relro -o genefilter.so half_range_mode.o init.o nd.o pAUC.o rowPAUCs.o rowttests.o ttest.o -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR

file nd.c line 270: error: conflicting parameter counts of function declarations `gf_distance'
old definition in module `init' file genefilter.h line 5
void (double *, double *, signed int *, signed int *, double *, signed int *, signed int *)
new definition in module `nd' file nd.c line 270
void (double *x, signed int *nr, signed int *nc, signed int *g, double *d, signed int *iRow, signed int *nInterest, signed int *nResults, signed int *method, double *wval)

/usr/share/R/share/make/shlib.mk:6: recipe for target 'genefilter.so' failed
make[1]: *** [genefilter.so] Error 1
make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-r-bioc-genefilter/r-bioc-genefilter-1.52.0/src'

It seems the declaration in genefilter.h and the definition in nd.c are highly
inconsistent as not only the number, but also the individual types do not match
up. This will cause misaligned stack accesses.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160126/5be25420/attachment.sig>


More information about the Debian-med-packaging mailing list