I have been using Lazarus Nightly Builds (getlazarus.org). When we were on 50363, I used the setup.sh to get my prior version which was at something like 49869 updated. In the past, this has always worked beautifully with no hiccups. It downloads FPC 2.6.4 to use to build FPC 3.1.1 to its latest build. The output indicates everything builds properly. Thereafter, it uses FPC 3.1.1 to build Lazarus. This is the error that come up:
(1002) Target OS: Linux for x86-64
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
So, I reinstall fpc and lazarus, this time capturing the output. It appears that some files were not built in fpc. I used FPC 3.1.1 to compile the ./fpc/rtl files using the existing Makefile. About half of the files are new with this compile, so something is amiss. I then download FPC 3.0.0RC2 and use it to recompile FPC 3.1.1 using a new Makefile generated from fpcmake and Makefile.fpc with a change showing the REQUIREDVERSION to be 3.0.0. Every;thing appears to compile properly.
When I then used FPC 3.1.1 to remake Lazarus, I again get the same error messages regarding fcllaz, so I then use FPC 3.0.0RC2 to compile. My error has now become: lazarus.pp(154,1) Error: (9013) Error while linking and lazarus.pp(154,1) Fatal: (10026). I also tried another version of lazarus.pp (it showed lazarus.pp.old) and got the same exceptions referring to 167,1. I checked the <begin - end> pairs, but they were fine. I tried adding another <end;> just in case, but that just brought up that extra end as an error.
As I have kept working on this I have moved along so that I am now using build 50402. I am including an output file. At lines 755-757 is the following:
~/fcllaz.pas(10,16) Hint: (5023) Unit "db" not used in fcllaz
~/fcllaz.pas(10,40) Hint: (5023) Unit "eventlog" not used in fcllaz
~/fcllaz.pas(10,50) Hint: (5023) Unit "XMLConf" not used in fcllaz
It appears to compile as does everything else until you get to line 8545. I have also tried just building the ide using its makefile. That resulted in the following error message:
/designer.pp(4312,1) Fatal: (1018) Compilation abEAccessViolation: Access violation
$000000002B578021
orted
make[1]: *** [lazarus] Error 217
Makefile:4004: recipe for target 'lazarus' failed
make[1]: Leaving directory '~/lazarus/ide'
make: *** [ide] Error 2
Makefile:4428: recipe for target 'ide' failed
/lazarus/packager/pkgmanager.pas(160,33An unhandled exception occurred at $0000000000000000:
) Hint: (5024) Parameter "Sender" not used
~/lazarus/packager/pkgmanager.pas(160,59) Hint: (5024) Parameter "Done" not used
~/lazarus/packager/pkgmanager.pas(1364,15) Fatal: (1018) CompilatiEAccessViolation: Access violation
$0000000000000000
on aborted
make[1]: *** [lazarus] Error 217
Makefile:4004: recipe for target 'lazarus' failed
make[1]: Leaving directory '~/lazarus/ide'
make: *** [ide] Error 2
Makefile:4428: recipe for target 'ide' failed