Package: gretl
Version: 1.9.90-1
Severity: minor
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+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.

[...]
libtool: link: gcc -shared  -fPIC -DPIC  .libs/quantreg.o .libs/rqfnb.o 
.libs/rqbr.o   -Wl,-rpath 
-Wl,/srv/jenkins-slave/workspace/sid-goto-cc-gretl/gretl-1.9.90/lib/.libs 
../lib/.libs/libgretl-1.0.so -L/usr/lib/x86_64-linux-gnu -lm -ldl -lz -lxml2 
-lglib-2.0 -lgmp -lfftw3 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -llapack 
-lblas -lgfortran  -Wl,-z -Wl,relro   -fopenmp -pthread -Wl,-soname 
-Wl,quantreg.so -o .libs/quantreg.so

error: conflicting function declarations "dpotrs_"
old definition in module rqfnb file ../plugin/rq/rqfnb.c line 36
signed int (char *, signed int *, signed int *, double *, signed int *, double 
*, signed int *, signed int *, signed int)
new definition in module gretl_matrix file ../lib/src/clapack_double.h line 982
signed int (char *, signed int *, signed int *, double *, signed int *, double 
*, signed int *, signed int *)
Makefile:314: recipe for target 'quantreg.la' failed
make[2]: *** [quantreg.la] Error 64
make[2]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-gretl/gretl-1.9.90/plugin'
Makefile:59: recipe for target 'plugin' failed

Doing a quick search on codesearch.d.n it seems that the 8-argument version of
clapack_double.h is the correct one. Thus the excess argument should be removed
both from the declaration and the call sites in rqfnb.c.

Best,
Michael

Attachment: pgpecytt6k4Qi.pgp
Description: PGP signature

Reply via email to