Created attachment 433886 [details, diff]
thin-provisioning-tools-0.5.3-gcc6.patch
A patch to compile thin-provisioning-tools-0.5.3 with gcc-6*. boost::optional doesn't seem to implicitly cast to bool so this patch just applies some explicitly casts.

please test/check thin-provisioning-tools-0.6.1 as that's the latest in the tree. if that still fails, upstream is github, so it should be trivial for you to fork & get your patch merged there (i got a few PRs accepted in the last few days).