I tried to build lazarus with fpcupdeluxe. I got the same errors.
I can not confirm but maybe because I am using Windows as my main OS, sitting in front of that OS and used different fpcupdeluxe settings.
At main screen [X] GitLab checked, FPC / Lazarus Version = [stable]
Inside Setup+ screen [X] Auto switch Repo URL (this ensure that really the latest stable is picked at installation)
Back to main screen check if you having install path correct set or adjust it, press on [Install/Update FPC + Lazarus] whenever it should begin.
Used 64bit FPCUPdeluxe V2.2.0n for x86_64-win64-win32
and installed Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-win64-win32/win64 with above options successful.
(my system was clean, ie: i did manual deleted files and folders)