Author Topic: Lazarus Release Candidate 1 of 5.0  (Read 14491 times)

slicke

  • New Member
  • *
  • Posts: 28
Re: Lazarus Release Candidate 1 of 5.0
« Reply #15 on: October 16, 2026, 11:22:50 pm »
Great work! macOS 27 bug fixed too! :D

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4760
  • I like bugs.
Re: Lazarus Release Candidate 1 of 5.0
« Reply #16 on: October 17, 2026, 03:44:40 pm »
I assume git is pre-installed?
I don't know but you can easily install it if needed using e.g. Synaptic.

Quote
Meanwhile why not make the DEB available on the official website?  All I had to do in 4.8 was click on the link.
Mattias had some problems generating it. Now only a small minority of people use a 32-bit OS. It may not be worth the hassle.

Quote
Cross-compiling is a pain.  I can't seem to find fpupdeluxe for my ancient distro.  A simple DEB would be really handy.
Is there a FOSS DEB-maker somewhere?
Why do you need cross-compilation? It may be above your skill level if you don't get even the native version compiled.
In my experience .dep packages are not very handy with 3rd party SW. The whole package system gets corrupt at some point.
The .dep package system works well with the distro's own repo packages.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4760
  • I like bugs.
Re: Lazarus Release Candidate 1 of 5.0
« Reply #17 on: October 17, 2026, 03:46:48 pm »
Quote
So, it fails at the build stage in `lazbuild` (see image).
Try "make lazbuild" first.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

matthius

  • Full Member
  • ***
  • Posts: 191
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: Lazarus Release Candidate 1 of 5.0 on GTK 2
« Reply #18 on: October 17, 2026, 03:49:47 pm »
Lazarus 5 RC1 is more stable on GTK2 MATE.
I have installed deb packages and started FPC UP DELUXE Lazarus 4.99 updated with FPC 3.2.2 and my components.

When i start Lazarus without opening project, then opening my lazarus projects, it works if there is no message dialog.

But MATE panel and linked panels crash when i restart Lazarus with my Lazarus projects. It has not changed since GTK 3 library linking. But with RC1 it does not crash after first crash.

Do you have this bug minesadorada ?
« Last Edit: October 25, 2026, 03:45:36 pm by matthius »
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
http://liberlog.fr

Aquineas

  • Newbie
  • Posts: 5
Re: Lazarus Release Candidate 1 of 5.0
« Reply #19 on: October 17, 2026, 04:01:34 pm »
Thank you so much for your prompt and helpful response. The actual message I get is a popup saying "Cannot download package list. Error message: "Could not initialize OpenSSL library"

The radio group button was "Show confirmation dialog before download" (which I never saw), but I switched it to "Automatically download files from "https://packages.lazarus-ide.org/" and restarted the app.

I still received the same error.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #20 on: October 17, 2026, 04:23:22 pm »
Thank you so much for your prompt and helpful response. The actual message I get is a popup saying "Cannot download package list. Error message: "Could not initialize OpenSSL library"

The radio group button was "Show confirmation dialog before download" (which I never saw), but I switched it to "Automatically download files from "https://packages.lazarus-ide.org/" and restarted the app.

I still received the same error.

Try to disable Windows defender for your lazarus installation dir.

And for the "primary config path" too (not sure OPM may load the dll to that): https://wiki.lazarus.freepascal.org/Install_Secondary_Windows#IDE_Settings

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #21 on: October 17, 2026, 05:48:09 pm »
Thank you so much for your prompt and helpful response. The actual message I get is a popup saying "Cannot download package list. Error message: "Could not initialize OpenSSL library"

The radio group button was "Show confirmation dialog before download" (which I never saw), but I switched it to "Automatically download files from "https://packages.lazarus-ide.org/" and restarted the app.

I still received the same error.

I asked around. I am not the expert on the topic. I got the following answer.

Quote
This must be caused by the recent switch to https due to https://gitlab.com/freepascal.org/lazarus/lazarus/-/work_items/42599. Maybe the user has an incompatible openssl? I just copied the dlls from our site into my Laz/main installation folder (next to lazarus.exe), and did not get see an error. So, maybe the user should try the dlls from https://gitlab.com/freepascal.org/lazarus/binaries/-/tree/main/i386-win32/openssl?ref_type=heads (for 32 bit) and https://gitlab.com/freepascal.org/lazarus/binaries/-/tree/main/x86_64-win64/openssl?ref_type=heads for 64 bit.

Are you running 32 or 64 bit Lazarus?

Try copying the linked dll into your lazarus directory.

Aquineas

  • Newbie
  • Posts: 5
Re: Lazarus Release Candidate 1 of 5.0
« Reply #22 on: October 17, 2026, 05:50:24 pm »
Again, thank you for your help. I've added the recommended exclusions in Windows Defender for the directories for my Lazarus install, the other suggested directory, as well as all three of the directories in the folders tab of the OPM. No joy. 

I looked in a few places trying to obtain to find logs that might provide more insight into the exact error:
<username>\AppData\Local\lazarus
<username>\Local Settings\Application Data\lazarus
environmentoptions.xml

I couldn't find any log files (or references to log files) in those directories, but if you have a suggestion for where I should look, I'm happy to provide any diagnostics data or log data as necessary.

Note the OPM was working in my 4.8 install (which I uninstalled), as I am observing an updates*.xml and a packagelist*.json file from 30-9-2026, which is the last time I ran the OPM before uninstalling 4.8.

I've also looked for openssl.exe and libssl*.dll files on my system, and there are a handful of the former and more of the latter, but none of them are in the direct path.

Aquineas

  • Newbie
  • Posts: 5
Re: Lazarus Release Candidate 1 of 5.0
« Reply #23 on: October 17, 2026, 05:59:21 pm »
I am running the 64 bit version btw. I manually downloaded the two openssl dlls (which are the 1.1 versions, specifically libcrypto-1_1-x64.dll and libssl-1_1-x64.dll) and placed them into the main lazarus installation directory and the OPM worked. Thank you all for your assistance.

(Update)
Since the 1.1 version of openssl is fairly old and has some appreciable vulnerabilities (https://openssl-library.org/news/vulnerabilities-1.1.1/index.html), I experimented with copying over different versions of libcrypto and libssl. The latest (OpenSSL 4.0.3) did not work at all. Libssl 3 (x64 of course) did work (specifically 3.5.7, which I copied over from my git install).
« Last Edit: October 17, 2026, 06:22:07 pm by Aquineas »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #24 on: October 17, 2026, 05:59:59 pm »
To obtain logs the IDE needs to be started with --debug-log=c:\path\file.txt

You can add such a parameter either by
- editing the shortcut (E.g. on the desktop)
- adding to the lazarus.cfg file

I am assuming you did install this as a "secondary install"? If so, then in your lazarus directory is a lazarus.cfg file already (if not create an empty file by that name).
If the file exists, then it will have a line "--primary-config-path=...". KEEP THIS !
Add another line
--debug-log=c:\path\lazlog.txt

Then that file will have any debug output by the IDE. I don't know if OPM will log a lot (but if anything is in it, I can forward it to the maintainer).


mattias

  • Administrator
  • Full Member
  • *
  • Posts: 226
    • http://www.lazarus.freepascal.org
Re: Lazarus Release Candidate 1 of 5.0
« Reply #25 on: October 17, 2026, 06:04:35 pm »
Old 32-bit version of Linux Mint (Cinnamon I think) it uses gtk2.  I installed Laz V4.8 just fine from the DEB.

Linux Mint no longer releases a 32bit version. Same as Debian and Ubuntu. So the recommendation is to git clone and build Lazarus yourself or use fpcupdelux.

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 226
    • http://www.lazarus.freepascal.org
Re: Lazarus Release Candidate 1 of 5.0
« Reply #26 on: October 17, 2026, 06:12:39 pm »
Arch Linux
Kernel Version: 6.18.57-1-lts (64-bit)
FPC 3.2.4 x86_64-linux-gtk2
[/quote]

Is fpc in your path? Does fpc run in the terminal? How did you install the compiler?

Try passing the compiler

Code: Bash  [Select][+][-]
  1. ./lazarus --pcp=~/.lazarus5 --compiler=/path/to/your/ppcx64



Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12820
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 5.0
« Reply #27 on: October 17, 2026, 08:12:13 pm »
I couldn't find any log files (or references to log files) in those directories,

I found one of my VM can reproduce the issues => logs do not contain any info. But being able to reproduce should be enough to get it fixed.
I will have to check with the maintainer.

Thanks for the report.

hedgehog

  • Full Member
  • ***
  • Posts: 141
Re: Lazarus Release Candidate 1 of 5.0
« Reply #28 on: October 17, 2026, 08:23:04 pm »
Windows 11. During the installation, I received several messages from Windows Defender about suspicious files.
I can confirm that the package manager is unable to retrieve the list of packages due to an SSL error.

CM630

  • Hero Member
  • *****
  • Posts: 1842
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Lazarus Release Candidate 1 of 5.0
« Reply #29 on: October 17, 2026, 08:28:44 pm »
Windows 11. During the installation, I received several messages from Windows Defender about suspicious files.
I can confirm that the package manager is unable to retrieve the list of packages due to an SSL error.

Windows 11. During the installation, I received several messages from Windows Defender about suspicious files.
Same on Win 10; no such messages on Win 7.

I can confirm that the package manager is unable to retrieve the list of packages due to an SSL error.
Win 7: SSL error shown
Win 10: "Connect to packages.lazarus-ide.org:443 failed", nothing mentioned about (u)SSL.
Лазар 4,8 32 bit (sometimes 64 bit); FPC3,2,2

 

TinyPortal © 2005-2018