I can also reproduce the issue using the single-line CMakeLists.txt. I
couldn't test using mmdebstrap because of an unrelated error during setup of
libhdf5-openmpi.
Huh, can you share the error with me?
Sure:
Setting up libhdf5-openmpi-dev (1.10.10+repack-3.1ubuntu4) ...
update-alternatives: using /usr/bin/h5pcc.openmpi to provide /usr/bin/h5pcc
(h5pcc) in auto mode
*** buffer overflow detected ***: terminated
/var/lib/dpkg/info/libhdf5-openmpi-dev.postinst: line 14: 218640 Aborted
(core dumped) update-alternatives --install
/usr/lib/x86_64-linux-gnu/pkgconfig/hdf5.pc hdf5.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-openmpi.pc 30
dpkg: error processing package libhdf5-openmpi-dev (--configure):
installed libhdf5-openmpi-dev package post-installation script subprocess
returned error exit status 134
Would you have time to do a video call to look into this?
Unfortunately not before mid-September.
By the way, I can also not reproduce the issue on my private computer.
But the Launchpad reporter said that they could reproduce the issue in a
container, so maybe it would be interesting to ask them for it.