On Fedora you can install different versions. So now I have the following versions installed.

unison-2.13
unison-2.27
unison-2.40

First I create the profile in unison-2.13, which fails to sync.

Then I open the existing profile with unison-2.40 and it syncs.

A hack.

Ken.