For this I prefer to use the Calibre version that is in the distro repository, that is 2.55.0.
But if that's a problem, I can build from current source
Interesting detail I missed in the first post is that in the container I use to build Calibre doesn't raise that error, but in the target environment it fails.