Your message dated Tue, 03 Jan 2017 10:58:14 +0100
with message-id <[email protected]>
and subject line Re: Bug#849966: libhdf5-dev: unknown type name ‘hid_t’
has caused the Debian Bug report #849966,
regarding libhdf5-dev: unknown type name ‘hid_t’
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
849966: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849966
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libhdf5-dev
Version: 1.10.0-patch1+docs-3
Severity: normal
Dear Maintainer,
I maintain an haskell binding for hdf5, and before hdf5 1.10.0
I could write
#include <bindings.h>
#include <H5FDcore.h>
But now with 1.10.0
I get this error message
In file included from Direct.hsc:2:0:
/usr/include/hdf5/serial/H5FDcore.h:30:8: error: unknown type name ‘hid_t’
H5_DLL hid_t H5FD_core_init(void);
^~~~~
/usr/include/hdf5/serial/H5FDcore.h:31:32: error: unknown type name ‘hid_t’
H5_DLL herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment,
^~~~~
/usr/include/hdf5/serial/H5FDcore.h:33:32: error: unknown type name ‘hid_t’
H5_DLL herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment/*out*/,
looking at the H5FDcore.h file.
I saw that a #include H5Ipublic.h disapeared between 1.8.16 -> 1.10.0
https://sources.debian.net/src/hdf5/1.8.16%2Bdocs-8/src/H5FDcore.h/
https://sources.debian.net/src/hdf5/1.10.0-patch1%2Bdocs-3/src/H5FDcore.h/
is is normal ?
Cheers
Frederic
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 4.8.0-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libhdf5-dev depends on:
ii hdf5-helpers 1.10.0-patch1+docs-3
ii libaec-dev 0.3.2-1
ii libhdf5-100 1.10.0-patch1+docs-3
ii libhdf5-cpp-100 1.10.0-patch1+docs-3
ii libjpeg-dev 1:1.5.1-2
ii libjpeg62-turbo-dev [libjpeg-dev] 1:1.5.1-2
ii zlib1g-dev 1:1.2.8.dfsg-4
libhdf5-dev recommends no packages.
Versions of packages libhdf5-dev suggests:
pn libhdf5-doc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
On 2017-01-02 19:34, picca wrote:
Package: libhdf5-dev
Version: 1.10.0-patch1+docs-3
Severity: normal
Dear Maintainer,
I maintain an haskell binding for hdf5, and before hdf5 1.10.0
I could write
#include <bindings.h>
#include <H5FDcore.h>
But now with 1.10.0
I get this error message
In file included from Direct.hsc:2:0:
/usr/include/hdf5/serial/H5FDcore.h:30:8: error: unknown type name
‘hid_t’
H5_DLL hid_t H5FD_core_init(void);
^~~~~
/usr/include/hdf5/serial/H5FDcore.h:31:32: error: unknown type name
‘hid_t’
H5_DLL herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment,
^~~~~
/usr/include/hdf5/serial/H5FDcore.h:33:32: error: unknown type name
‘hid_t’
H5_DLL herr_t H5Pget_fapl_core(hid_t fapl_id, size_t
*increment/*out*/,
looking at the H5FDcore.h file.
I saw that a #include H5Ipublic.h disapeared between 1.8.16 -> 1.10.0
https://sources.debian.net/src/hdf5/1.8.16%2Bdocs-8/src/H5FDcore.h/
https://sources.debian.net/src/hdf5/1.10.0-patch1%2Bdocs-3/src/H5FDcore.h/
is is normal ?
I can hardly say whether this is normal or not, but looking at other
headers in the HDF5 src directory I'd say this is rather consistent:
only 3 of those not in hdf5.h H5*{public,private}.h include a
H5*public.h header:
$ grep 'public\.h' src/*.h | grep -Ev '(public|private|/hdf5)\.h:'
src/H5FDstdio.h:#include "H5Ipublic.h"
src/H5Fpkg.h:#include "H5Bpublic.h" /* B-tree header, for
H5B_NUM_BTREE_ID */
src/H5Tpkg.h:#include "H5Spublic.h" /* Dataspace functions
*/
The removal of '#include H5Ipublic.h' from src/H5FDcore.h in the HDF5
development branch is almost 6 years old, and the related commit [1]
says: "Clean up code a bit".
[1]
https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5/commits/8a5e400fda99c06a930e7acdcbe6afad7f1f57dc
If you don't want to include "hdf5.h", you need to include at least
H5public.h in your code.
Closing this bug.
Thanks,
_g.
--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel