[Pkg-octave-devel] Octave 4.2 for stretch
Mike Miller
mtmiller at debian.org
Thu Jun 30 23:47:48 UTC 2016
On Fri, Jul 01, 2016 at 01:26:15 +0200, Rafael Laboissière wrote:
> We could release a 4.1.0+ hg snapshot version immediately to experimental. I
> tried to compile Octave inside an experimental chroot with sources checked
> out from the default branch. It fails with this error message:
>
> libinterp/octave-value/ov-cell.cc: In member function 'virtual bool octave_cell::load_hdf5(octave_hdf5_id, const char*)':
> libinterp/octave-value/ov-cell.cc:1156:57: error: invalid conversion from 'octave_hdf5_err (*)(octave_hdf5_id, const char*, void*) {aka int (*)(int, const char*, void*)}' to 'H5G_iterate_t {aka int (*)(long int, const char*, void*)}' [-fpermissive]
> hdf5_read_next_data, &dsub);
> ^
> In file included from /usr/include/hdf5/serial/hdf5.h:31:0,
> from libinterp/corefcn/oct-hdf5.h:31,
> from libinterp/octave-value/ov-cell.cc:45:
> /usr/include/hdf5/serial/H5Gpublic.h:165:15: note: initializing argument 4 of 'herr_t H5Giterate(hid_t, const char*, int*, H5G_iterate_t, void*)'
> H5_DLL herr_t H5Giterate(hid_t loc_id, const char *name, int *idx,
> ^~~~~~~~~~
>
> The libhdf5-dev package has version 1.10.0-patch1+docs-1~exp in experimental
> while, in unstable, it has version 1.8.16+docs-8. Something changed between
> these versions that make Octave FTBFS.
>
> Do you know if there is any fix for it ?
Yes, the HDF5 API changed in version 1.10.0. There is a patch [1]
waiting to be reviewed and applied. I'll try to get to that very soon.
[1]: https://savannah.gnu.org/bugs/?47858
--
mike
More information about the Pkg-octave-devel
mailing list