Swipl 8.2.1/8.3.4 - Linux compiling fails

I don’t build from source for Linux but do use a Linux version from time to time.

Unless you need to build from source are you aware that there is a PPA available?
Install SWI-Prolog development version on Ubuntu using PPA