[Pkg-octave-devel] Bug#517642: octave3.0: FTBFS: Invalid conversions of function pointers

Daniel Schepler schepler at math.berkeley.edu
Sun Mar 1 06:09:33 UTC 2009


Package: octave3.0
Version: 1:3.0.1-7
Severity: serious

When I tried to rebuild octave3.0 against the new suitesparse libraries, I got
this in my pbuilder build log (on amd64):

...
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-
style-cast -O2 -g CSparse.cc -o pic/CSparse.o
CSparse.cc: In member function 'ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const 
Matrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:5769: error: invalid conversion from 'void (*)(int, char*, int, char*)' to 'void (*)(int, const 
char*, int, const char*)'
CSparse.cc: In member function 'SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, 
const SparseMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6012: error: invalid conversion from 'void (*)(int, char*, int, char*)' to 'void (*)(int, const 
char*, int, const char*)'
CSparse.cc: In member function 'ComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, const 
ComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6303: error: invalid conversion from 'void (*)(int, char*, int, char*)' to 'void (*)(int, const 
char*, int, const char*)'
CSparse.cc: In member function 'SparseComplexMatrix SparseComplexMatrix::fsolve(MatrixType&, 
const SparseComplexMatrix&, octave_idx_type&, double&, void (*)(double), bool) const':
CSparse.cc:6525: error: invalid conversion from 'void (*)(int, char*, int, char*)' to 'void (*)(int, const 
char*, int, const char*)'
make[3]: *** [pic/CSparse.o] Error 1
make[3]: Leaving directory `/tmp/buildd/octave3.0-3.0.1/liboctave'
make[2]: *** [liboctave] Error 2
make[2]: Leaving directory `/tmp/buildd/octave3.0-3.0.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/octave3.0-3.0.1'
make: *** [make-arch-stamp] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
-- 
Daniel Schepler






More information about the Pkg-octave-devel mailing list