benjamimgois / goverlay

GOverlay is an opensource project that aims to create a Graphical UI to help manage Linux overlays.
GNU General Public License v3.0
633 stars 40 forks source link

An error occurred during the build #107

Closed lixiaolong2007 closed 6 months ago

lixiaolong2007 commented 7 months ago

List relevant hardware/software information Linux Distribution: debian 12 Lazarus version: 2.2.6 libqt6pas6/libqt6pas6-dev version: 6.2.7 Cpu: i5-8265u Gpu: MX150

To Reproduce 1、git clone https://github.com/benjamimgois/goverlay.git 2、cd goverlay 3、make

vega9500@vega9500:~/goverlay$ make
lazbuild -B goverlay.lpi --bm=Release 
Hint: (lazarus) Last compile was incomplete for LCL 2.2.6
  State file="/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux/qt6/LCL.compiled"
Hint: (lazarus) normal output directory of package LCL 2.2.6 is not writable: "/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux/qt6/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/home/vega9500/.lazarus/lib/units/x86_64-linux/qt6
Hint: (lazarus) Compiler params changed for LCL 2.2.6
  Old="-MObjFPC -Scghi -Cg -O1 -g -gl -Fi/usr/lib/lazarus/2.2.6/lcl/interfaces/qt6 -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/qt6 -Fu/usr/lib/lazarus/2.2.6/packager/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/components/lazutils/lib/x86_64-linux -Fu/home/vega9500/.lazarus/lib/freetypelaz/lib/x86_64-linux -Fu/home/vega9500/.lazarus/lib/LCLBase/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/ -FU/home/vega9500/.lazarus/lib/units/x86_64-linux/qt6 lcl.pas"
  Now="-MObjFPC -Scghi -Cg -O1 -g -gl -Fi/usr/lib/lazarus/2.2.6/lcl/interfaces/qt6 -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/qt6 -Fu/usr/lib/lazarus/2.2.6/packager/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/components/lazutils/lib/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/components/freetype/lib/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/lcl/units/x86_64-linux -Fu/usr/lib/lazarus/2.2.6/lcl/interfaces/ -FU/home/vega9500/.lazarus/lib/units/x86_64-linux/qt6 lcl.pas"
  State file="/home/vega9500/.lazarus/lib/units/x86_64-linux/qt6/LCL.compiled"
Hint: (lazarus) Missing state file of LazOpenGLContext 0.0.1: /usr/lib/lazarus/2.2.6/components/opengl/lib/x86_64-linux/qt6/LazOpenGLContext.compiled
Hint: (lazarus) normal output directory of package LazOpenGLContext 0.0.1 is not writable: "/usr/lib/lazarus/2.2.6/components/opengl/lib/x86_64-linux/qt6/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/home/vega9500/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt6
Hint: (lazarus) Missing state file of LazOpenGLContext 0.0.1: /home/vega9500/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt6/LazOpenGLContext.compiled
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling lcl.pas
/usr/lib/lazarus/2.2.6/lcl/interfaces/lcl.pas(11,3) Fatal: (10022) Can't find unit AllLCLIntfUnits used by LCL
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Error: (lazarus) Compile package LCL 2.2.6: stopped with exit code 1
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
Error: (lazbuild) Project dependencies of /home/vega9500/goverlay/goverlay.lpi
make: *** [Makefile:9:goverlay] 错误 2
benjamimgois commented 7 months ago

Please, try again with the latest stable Lazarus 3.2 and FPC 3.2.2

lixiaolong2007 commented 7 months ago

Please, try again with the latest stable Lazarus 3.2 and FPC 3.2.2

thank you

benjamimgois commented 7 months ago

did it work ?

lixiaolong2007 commented 7 months ago

Yep, The version on Debian12 is outdated