Absolute build path stored in headers, see h5py. Might be caused by libhdf5-dev low-level itself.
Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).