<html><head></head><body><div>Hi Thosten,</div><div><br></div><div>On Sat, 2022-03-05 at 09:01 +0000, Thorsten Alteholz wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hi,<br></div><div><br></div><div>there is a problem compiling a new upstream version of astap using <br></div><div>lazbuild from the new version 2.2.0 of lcl-utils. <br></div><div>Can you please have a look at [1]. It contains some errors that I don't <br></div><div>know how to resolve:<br></div><div><br></div><div><br></div><div>lazbuild -B --pcp=/etc/lazarus  astap_linux.lpi<br></div><div>SetPrimaryConfigPath NewValue="/etc/lazarus" -> "/etc/lazarus"<br></div><div>Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"<br></div><div>Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"<br></div><div>Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP" "-Px86_64" "-Tlinux"<br></div><div>Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas" "-Px86_64" "-Tlinux"<br></div><div>Hint: (lazarus) Missing state file of freetypelaz 1.0: /usr/lib/lazarus/2.2.0/components/freetype/lib/x86_64-linux/freetypelaz.compiled<br></div><div>Error: (lazarus) unable to create package output directory "/usr/lib/lazarus/2.2.0/components/freetype/lib/x86_64-linux" of package "freetypelaz 1.0"<br></div><div>Hint: (lazarus) normal output directory of package freetypelaz 1.0 is not writable: "/usr/lib/lazarus/2.2.0/components/freetype/lib/x86_64-linux/"<br></div><div>TParsedCompilerOptions.SetOutputDirectoryOverride <br></div><div>New=/etc/lazarus/lib/freetypelaz/lib/x86_64-linux<br></div><div>Hint: (lazarus) Missing state file of freetypelaz 1.0: /etc/lazarus/lib/freetypelaz/lib/x86_64-linux/freetypelaz.compiled<br></div><div>Error: (lazarus) unable to create package output directory "/etc/lazarus/lib/freetypelaz/lib/x86_64-linux" of package "freetypelaz 1.0"<br></div><div>Error: (lazarus) [TLazPackageGraph.PreparePackageOutputDirectory] failed to create writable directory: /etc/lazarus/lib/freetypelaz/lib/x86_64-linux<br></div><div>Error: (lazarus) [TLazPackageGraph.CompilePackage] <br></div><div>PreparePackageOutputDirectory failed: freetypelaz 1.0<br></div><div>Error: (lazbuild) Project dependencies of /<<PKGBUILDDIR>>/astap_linux.lpi<br></div><div><br></div><div><br></div><div>Do you have any idea what went wrong?</div></blockquote><div>Can you tell why do you set primary configuration files loction to /et/lazarus?</div><div>I wouldn't encourage that, because lazarus uses pcp to install lpl files (package link files) and /etc/lazarus is not writable for obvious reasons.<br class="Apple-interchange-newline">-- <br></div><pre style="caret-color: rgb(46, 52, 54); color: rgb(46, 52, 54); font-variant-caps: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">Cheers,
Abou Al Montacir</pre></body></html>