Source: ensmallen Followup-For: Bug #1054712 Should be noted that the problem is linked to debian patch 0002-use-system-catch.patch, which disables upstream's local copy of catch in order to use the system catch2 library.
So one workaround could be to disable 0002-use-system-catch.patch.