Unable to compile the lastest trunk branch in Linux
Closed this issue · 1 comments
brainwo commented
I got this error when I run lazbuild pasls.lpi
:
Hint: (lazarus) Missing state file of weblaz 1.0: /usr/lib/lazarus/components/fpweb/lib/x86_64-linux/weblaz.compiled
Error: (lazarus) unable to create package output directory "/usr/lib/lazarus/components/fpweb/lib/x86_64-linux" of package "weblaz 1.0"
Hint: (lazarus) normal output directory of package weblaz 1.0 is not writable: "/usr/lib/lazarus/components/fpweb/lib/x86_64-linux/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/home/brian/.lazarus/lib/weblaz/lib/x86_64-linux
Free Pascal Compiler version 3.2.2 [2022/08/31] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling pasls.lpr
(3104) Compiling general.pas
(3104) Compiling capabilities.pas
(3104) Compiling options.pas
/home/brian/git/pascal-language-server/options.pas(156,24) Error: (4001) Incompatible types: got "Empty Set" expected "TStringArray"
/home/brian/git/pascal-language-server/options.pas(169,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Error: (lazarus) Compile Project, Mode: Debug, Target: lib/x86_64-linux/pasls: stopped with exit code 1
Error: (lazbuild) failed compiling of project /home/brian/git/pascal-language-server/pasls.lpi
fpc -version
[0.002] Free Pascal Compiler version 3.2.2 [2022/08/31] for x86_64
[0.002] Copyright (c) 1993-2021 by Florian Klaempfl and others
[0.002] error: No source file name in command line
[0.002] error: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
lazbuild --version
2.2.4
genericptr commented
This is fixed now.