Can't rebuild IDE after adding packages lazarus / 1-Linux ---------------------------------------------------------------------- fmolina · 2021-01-02 13:14 Hi, I installed lazarus 2.0.10 on Mageia linux 7: Quoteuname -a Linux localhost 5.7.19-desktop-3.mga7 #1 SMP Sun Oct 18 15:46:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux The installation (as su) went smoothly (upgrading and old v1.6.2 one), and I have: QuoteLazarus 2.0.10 r63521 FPC 3.2.0 x86_64-linux-gtk2Next, I added a bunch of packages with the online package manager, some of them did not compile and I discarded them. I tried to rebuild the IDE. At first, It complained of duplicate names between one package installed and an old version I had in my downloads folder; erased this last. Now, it refuses to link with some messages unclear for me; here is the contents of the messages window after oen of several attempts: QuoteWarning: other unit files search path (aka unit path) of "KControlsLaz 1.7.3" contains "/home/fer/.lazarus/onlinepackagemanager/packages/kcontrols/source", which belongs to package "KControlsBase" Warning: other unit files search path (aka unit path) of "KControlsBase 1.7.3" contains "/home/fer/.lazarus/onlinepackagemanager/packages/kcontrols/source", which belongs to package "KControlsLaz" Note: Unidad duplicada "splash" en "etpackage 1.0.0.1", source="/home/ fer/.lazarus/onlinepackagemanager/packages/epiktimer/splash.pas" Note: Unidad duplicada "splash" en "#IDE", ppu="/usr/lib64/lazarus/units/x86_64-linux/gtk2/splash.ppu", source="/usr/lib64/lazarus/ide/splash.pp" Note: Unidad duplicada "" en "richmemopackage 1.0", ppu="/home/fer/.la zarus/onlinepackagemanager/packages/richmemo/lib/x86_64- linux/rtfeditpropdialog.ppu", source="/home/fer/.lazarus/onlinepackage manager/packages/richmemo/lib/x86_64-linux/rtfeditpropdialog.lfm" Note: Unidad duplicada "rtfeditpropdialog" en "richmemo_design 0.0", p pu="/home/fer/.lazarus/onlinepackagemanager/packages/richmemo/lib/x86_ 64-linux/rtfeditpropdialog.ppu", source="/home/fer/.lazarus/onlinepack agemanager/packages/richmemo/ide/rtfeditpropdialog.pas" Note: Unidad duplicada "main" en "etpackage 1.0.0.1", source="/home/fe r/.lazarus/onlinepackagemanager/packages/epiktimer/main.pas" Note: Unidad duplicada "main" en "#IDE", ppu="/usr/lib64/lazarus/units/x86_64-linux/gtk2/main.ppu", source="/usr/lib64/lazarus/ide/main.pp" Warning: Duplicate file "rtfeditpropdialog.lfm" in "richmemopackage 1.0", path="/home/fer/.lazarus/onlinepackagemanager/packages/richmemo/ lib/x86_64-linux/rtfeditpropdialog.lfm" Warning: Duplicate file "rtfeditpropdialog.lfm" in "richmemo_design 0.0", path="/home/fer/.lazarus/onlinepackagemanager/packages/richmemo/ ide/rtfeditpropdialog.lfm" Warning: Duplicate file "splash.lfm" in "#IDE", path="/usr/lib64/lazarus/units/x86_64-linux/gtk2/splash.lfm" Warning: Duplicate file "splash.lfm" in "etpackage 1.0.0.1", path="/ho me/fer/.lazarus/onlinepackagemanager/packages/epiktimer/splash.lfm" Construir IDE: Código de salida 2, Errores: 1, Sugerencias: 2 lazarus.pp(153,7) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined lazarus.pp(161,3) Note: Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined [Makefile:4144: lazarus] Error 1 [Makefile:4574: idepkg] Error 2 make: *** [Makefile:3605: idepkg] Error 2 lazarus.pp(165,1) Error: Error while linking There are several warnings about duplicate units, should I resolve these? Or what to do? Thanks ---------------------------------------------------------------------- JD · 2021-01-02 13:18 I remember I had some problems rebuilding the IDE on Linux because of the RichMemo package. Removing it and trying to rebuild the IDE may work for you. JD ---------------------------------------------------------------------- Martin_fr · 2021-01-02 14:28 "epiktimer" conflicts with the IDE. Do you want to use it with your own project? - Then do NOT install it in the IDE. - Only add it to your project (menu "project" > "project inspector" => tool-button "add" "dependency")