[Pkg-pascal-devel] problems with compiling astap

Thorsten Alteholz debian at alteholz.de
Sat Mar 5 09:01:35 GMT 2022


Hi,

there is a problem compiling a new upstream version of astap using 
lazbuild from the new version 2.2.0 of lcl-utils. 
Can you please have a look at [1]. It contains some errors that I don't 
know how to resolve:


lazbuild -B --pcp=/etc/lazarus  astap_linux.lpi
SetPrimaryConfigPath NewValue="/etc/lazarus" -> "/etc/lazarus"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP" "-Px86_64" "-Tlinux"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas" "-Px86_64" "-Tlinux"
Hint: (lazarus) Missing state file of freetypelaz 1.0: /usr/lib/lazarus/2.2.0/components/freetype/lib/x86_64-linux/freetypelaz.compiled
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"
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/"
TParsedCompilerOptions.SetOutputDirectoryOverride 
New=/etc/lazarus/lib/freetypelaz/lib/x86_64-linux
Hint: (lazarus) Missing state file of freetypelaz 1.0: /etc/lazarus/lib/freetypelaz/lib/x86_64-linux/freetypelaz.compiled
Error: (lazarus) unable to create package output directory "/etc/lazarus/lib/freetypelaz/lib/x86_64-linux" of package "freetypelaz 1.0"
Error: (lazarus) [TLazPackageGraph.PreparePackageOutputDirectory] failed to create writable directory: /etc/lazarus/lib/freetypelaz/lib/x86_64-linux
Error: (lazarus) [TLazPackageGraph.CompilePackage] 
PreparePackageOutputDirectory failed: freetypelaz 1.0
Error: (lazbuild) Project dependencies of /<<PKGBUILDDIR>>/astap_linux.lpi


Do you have any idea what went wrong?


Best regards
Thorsten


[1] https://buildd.debian.org/status/fetch.php?pkg=astap&arch=amd64&ver=2022.03.01-2&stamp=1646445819&raw=0




More information about the Pkg-pascal-devel mailing list