Recent

Author Topic: Lazarus Bugfix Release 4.2  (Read 25309 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 206
    • http://www.lazarus.freepascal.org
Lazarus Bugfix Release 4.2
« on: July 22, 2025, 05:17:30 pm »
The Lazarus team is glad to announce Lazarus 4.2.

This is a bugfix release and was built with FPC 3.2.2.

Here is the list of changes for Lazarus and Free Pascal:
https://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes
https://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Here is the list of fixes for Lazarus 4.x:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/

The release is available for download on SourceForge:
https://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 4.2" directory.

Checksums for the SourceForge files:
https://www.lazarus-ide.org/index.php?page=checksums#4_2

Minimum requirements:

Windows:
  2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only)

FreeBSD/Linux:
  gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit.

Mac OS X:
  Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only).

The gitlab page:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_2

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
https://download.lazarus-ide.org/
ftp://ftp.freepascal.org/pub/lazarus/releases/

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11926
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Bugfix Release 4.2
« Reply #1 on: July 22, 2025, 05:27:36 pm »
For anyone interested in helping testing the FPC 3.2.4-RC1, there are additional snapshots available.
64 bits: https://sourceforge.net/projects/lazarus-snapshots/files/Window%2064/2025-07%20Lazarus%204.2%20with%20FPC%203.2.4-RC1%20(56baf314b5eb)/
32 bits: https://sourceforge.net/projects/lazarus-snapshots/files/Window%2032/2025-07%20Lazarus%204.2%20with%20FPC%203.2.4-RC1%20(56baf314b5eb)/
(you only need the big file / the files with *-cross-* in the name are only needed if you want to cross compile between Windows 64/32bit)

Those are snapshot builds of the Lazarus 4.2 tag, combined with an FPC 3.2.4RC1 build. Those are snapshots, not releases.
(The installers and binaries are code signed)

They can be installed as secondary installation, to avoid interference with any installed released version.
« Last Edit: July 22, 2025, 05:30:59 pm by Martin_fr »

chinaliu

  • New member
  • *
  • Posts: 7
Re: Lazarus Bugfix Release 4.2
« Reply #2 on: July 22, 2025, 08:32:04 pm »
thanks

Espectr0

  • Full Member
  • ***
  • Posts: 234
Re: Lazarus Bugfix Release 4.2
« Reply #3 on: July 22, 2025, 11:43:46 pm »
Thanks!

Tomu

  • New Member
  • *
  • Posts: 14
Re: Lazarus Bugfix Release 4.2
« Reply #4 on: July 22, 2025, 11:45:09 pm »
After installing 4.2 all looks great, but when I try to install a package or rebuild I get errors.
Make seems to be failing - See attached screenshot.
 Just compiling/building a regular project is fine. However, tying to install a packages fails when Lazarus rebuilds itself.

PierceNg

  • Sr. Member
  • ****
  • Posts: 412
    • SamadhiWeb
Re: Lazarus Bugfix Release 4.2
« Reply #5 on: July 23, 2025, 02:44:08 am »
After installing 4.2 all looks great, but when I try to install a package or rebuild I get errors.
Make seems to be failing - See attached screenshot.
 Just compiling/building a regular project is fine. However, tying to install a packages fails when Lazarus rebuilds itself.

Are you installing mORMot? Those missing files in your screenshot are from mORMot's separately downloaded static files bundle. The directory listing should look like this:

Code: Text  [Select][+][-]
  1. % ls -l static/x86_64-linux
  2. total 3088
  3. -rw-r--r-- 1 pierce pierce   21792 May  1 13:24 crc32c64.o
  4. -rw-r--r-- 1 pierce pierce   77250 May  1 13:11 libdeflatepas.a
  5. -rw-r--r-- 1 pierce pierce  225444 May  1 13:11 liblizard.a
  6. -rw-r--r-- 1 pierce pierce 1123992 May  1 13:10 quickjs.o
  7. -rw-r--r-- 1 pierce pierce   16048 May  1 13:29 sha512-x64sse4.o
  8. -rw-r--r-- 1 pierce pierce 1684912 May  1 13:49 sqlite3.o

I've now just built Lazarus 4.2 with qt5 from source on Lubuntu 24.04. Started the IDE and opened mormot2tests.lpi: When the project is opened, IDE reported  package mormot2 not found. Using menu Package > Open Package File, navigate to mormot2.lpk and select it. In the resultant dialog box, click Use > Add to Project. Then build the project. The project built successfully and all tests passed.

I've not tried installing mORMot into the IDE. In general I do 'add LPK to project', instead of installing into the IDE when using 3rd party packages, especially since I mostly don't do Lazarus/Delphi-style desktop RAD.

dpap

  • Jr. Member
  • **
  • Posts: 55
Re: Lazarus Bugfix Release 4.2
« Reply #6 on: July 23, 2025, 08:25:55 am »
I have installed Lazarus 4.0. Can I install version 4.2 over 4.0 keeping all previous configuration or I must install it as a new installation?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11926
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Bugfix Release 4.2
« Reply #7 on: July 23, 2025, 09:03:56 am »
Configuration is in the user home directory. So it should be kept.

If you have packages installed, then you must rebuild the IDE once, after installing the new version (Menu tools > build lazarus ide).

I don't know Linux / Mac.
On Windows you should be fine by just installing over the old version.
In some cases you may get an error when rebuilding, but it should be ok, if you select "clean all" from "configure build lazarus"

Tomu

  • New Member
  • *
  • Posts: 14
Re: Lazarus Bugfix Release 4.2
« Reply #8 on: July 23, 2025, 12:45:47 pm »
Thank you PierceNg!
That was it. Life is good.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1331
  • Professional amateur ;-P
Re: Lazarus Bugfix Release 4.2
« Reply #9 on: July 23, 2025, 01:07:13 pm »
Hey Lazarus Team,

I've installed 4.2 via fpcupdeluxe and it went great.
Started it up, added the obligatory docked shenanigans, and it still all good!!

Will report back, if I encounter any issues when adding my usual OPM packages.

Again, thanks for another release!! Keep the good work !!

Cheers,
Gus

PINO72

  • New Member
  • *
  • Posts: 10
Re: Lazarus Bugfix Release 4.2
« Reply #10 on: July 24, 2025, 01:01:54 pm »
Thanks!

jamie

  • Hero Member
  • *****
  • Posts: 7418
Re: Lazarus Bugfix Release 4.2
« Reply #11 on: July 25, 2025, 01:37:55 am »
Looks good, I installed both the 32 and 64 versions on winders!

Hasn't blown up my PC yet! Rock & Roll

Jamie
The only true wisdom is knowing you know nothing

rca

  • Full Member
  • ***
  • Posts: 118
Re: Lazarus Bugfix Release 4.2
« Reply #12 on: July 25, 2025, 02:00:40 am »
Thanks to the entire Lazarus team.

I just updated and compiled some projects on Windows and everything is fine.

440bx

  • Hero Member
  • *****
  • Posts: 5905
Re: Lazarus Bugfix Release 4.2
« Reply #13 on: July 25, 2025, 02:24:12 am »
It is really encouraging to see how active Lazarus development is and, how it keeps on getting better and better. 

Lazarus team: great job!
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.

RayoGlauco

  • Full Member
  • ***
  • Posts: 221
  • Beers: 1567
Re: Lazarus Bugfix Release 4.2
« Reply #14 on: July 25, 2025, 11:36:39 am »
Thanks to the entire Lazarus team. Great (and big) job!
To err is human, but to really mess things up, you need a computer.

 

TinyPortal © 2005-2018