It looks like this is a side effect of debian/patches/0001-Install-swtpm-localca-to-the-correct-path.patch, which is an Ubuntu-specific patch. I think samples/swtpm-create-user-config-files.in also needs to be patched to use LIBEXECDIR instead of DATAROOTDIR.
It looks like this is a side effect of debian/ patches/ 0001-Install- swtpm-localca- to-the- correct- path.patch, which is an Ubuntu-specific patch. I think samples/ swtpm-create- user-config- files.in also needs to be patched to use LIBEXECDIR instead of DATAROOTDIR.