* * *

Author Topic: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)  (Read 29693 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 112
    • http://www.lazarus.freepascal.org
Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« on: October 13, 2017, 08:23:37 pm »
The Lazarus team is glad to announce the fifth release candidate of Lazarus 1.8.

The Windows release was built with FPC 3.0.4 final svn version, the Linux release was built with FPC 3.0.4RC1, and the Mac OS release was built with FPC 3.0.2.

The previous release Lazarus 1.6.4 was built with FPC 3.0.2.
https://bugs.freepascal.org/view.php?id=31629

Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_fixes_branch

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

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

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

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_8_0RC5

Minimum requirements:

Windows:       
  2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.

FreeBSD/Linux:
  gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
  10.5 to 10.12; Carbon (32bit), Cocoa (64bit, not stable), qt and qt5 (32 or 64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC5

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
ftp://ftp.freepascal.org/pub/lazarus/releases/
and later at (after some time for synchronization)
http://mirrors.iwi.me/lazarus/

== Why should everybody (including you) test the release candidate? ==

In the past weeks the Lazarus team has stabilized the 1.8 fixes branch.
The resulting 1.8RC5 is now stable enough to be used by any one for test purposes.

However many of the fixes and new features that where committed since the release of 1.6 required changes to the code of existing features too. While we have tested those ourself, there may still be problems that only occur with very specific configurations or one project in a million.

Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 1.8.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features.

== How to test ==

Download and install the 1.8 RC5.
- On Windows you can install as a 2ndary install, that will not affect your current install:
  http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use --primary-config-path

In either case you should make backups. (including your primary config)

Open your project in the current Lazarus (1.6.x), and use "Publish Project" from the project menu. This creates a clean copy of your project.

You can then open that copy in the RC5. Please test:
- If you can edit forms in the designer
   - rename components / change properties in Object inspector / Add new events
   - Add components to form / Move components on form
   - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work


Mattias

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #1 on: October 13, 2017, 08:43:59 pm »
Hi
Installed RC5 into New folder, and set as secondary installation.  ( OS Windows 10 64, installing Win 32 Lazarus )
When Started could not locate fpc sources.
After setting this, then thought I would try OPM.
Located OPM in Components folder of New Installation, but package does not compile.
Code: [Select]
actionseditor.pas(29,3) Fatal: Cannot find LCLIntf used by ActionsEditor, incompatible ppu=C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu, package LCLBase
.

Cannot test much further as using OPM to install my base components.
« Last Edit: October 13, 2017, 08:45:58 pm by josh »
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4415
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #2 on: October 13, 2017, 09:41:49 pm »
It works here (32 bit). Though I did not use a 2ndary install, but I did clean out the old config instead.
I did not need to adjust any path.

Actually I also went to menu: Package > Install/Uninstall Packages
and installed OPM from there, rather than opening the package.

May be a silly question, but when you opened the package, are you sure you where in the directory of the 2ndary install, and not by accident opened the package from your primary install?


Need some more info:
- What is the path to which you installed (eg: c:\lazarus2 or d:\laz_rc) ?
- What is the path of the directory you gave for config?
- Go to menu: View > Ide Internals > About IDE
  Copy and paste the content.

benohb

  • Full Member
  • ***
  • Posts: 142
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #3 on: October 13, 2017, 10:03:03 pm »
nice

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #4 on: October 13, 2017, 10:33:35 pm »
Hi Martin
Quote
Lazarus version: 1.8.0RC5
Lazarus svn revision: 56026
Lazarus build date: 2017/10/11
Lazarus was compiled for i386-win32
Lazarus was compiled with fpc 3.0.4

Global IDE options:
Primary config directory=C:\lazarus18rc5
Secondary config directory=C:\lazarus18rc5
LazarusDirectory=
Real LazarusDirectory=C:\lazarus18rc5\
Default CompilerFilename=fpc.exe
Real Default CompilerFilename=C:\lazarus18rc5\fpc\bin\i386-win32\fpc.exe
Project CompilerFilename=$(CompPath)
Real Project CompilerFilename=C:\lazarus18rc5\fpc\bin\i386-win32\fpc.exe
CompilerMessagesFilename=
Real CompilerMessagesFilename=C:\lazarus18rc5\components\codetools\fpc.errore.msg
FPC source directory=C:\lazarus18rc5\fpc\3.0.4\source
Real FPC source directory=C:\lazarus18rc5\fpc\3.0.4\source\
Test directory=C:\Users\Josh\AppData\Local\Temp\
Real Test directory=C:\Users\Josh\AppData\Local\Temp\

Working directory=C:\lazarus18rc5
Application.ExeName=C:\lazarus18rc5\lazarus.exe

Parameters:
C:\lazarus18rc5\lazarus.exe
--no-splash-screen
--started-by-startlazarus
--primary-config-path=C:\lazarus18rc5
--force-new-instance

Environment variables:
=::=::\
=::=::\
ALLUSERSPROFILE=s:\Documents and Settings\All Users\Application Data
APPDATA=C:\Users\Josh\AppData\Roaming
CommonProgramFiles=C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=DESKTOP-QJ9CDQS
ComSpec=C:\Windows\system32\cmd.exe
devmgr_show_nonpresent_devices=1
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
FPS_BROWSER_USER_PROFILE_STRING=Default
HOMEDRIVE=C:
HOMEPATH=\Users\Josh
LOCALAPPDATA=C:\Users\Josh\AppData\Local
LOGONSERVER=\\DESKTOP-QJ9CDQS
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\Josh\OneDrive
OS=Windows_NT
Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\lazarus_trunk\fpc\bin\i386-win32;;C:\Program Files (x86)\RemObjects Software\Elements\bin;C:\Program Files\PuTTY\;C:\Users\Josh\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\FreeArc\bin;C:\Program Files\Bandizip\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 1 Stepping 1, AuthenticAMD
PROCESSOR_LEVEL=23
PROCESSOR_REVISION=0101
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\Josh\AppData\Local\Temp
TMP=C:\Users\Josh\AppData\Local\Temp
USERDOMAIN=DESKTOP-QJ9CDQS
USERDOMAIN_ROAMINGPROFILE=DESKTOP-QJ9CDQS
USERNAME=Josh
USERPROFILE=C:\Users\Josh
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #5 on: October 13, 2017, 10:34:24 pm »
Screen captures that show sequence.

Sorry playing GTA V :)
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4415
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #6 on: October 13, 2017, 11:04:10 pm »
I just installed myself a 2ndary install to C:\lazarus18rc5

Setting the config to the same directory.
(I am not sure, but I think I remember that there are issues if the config path is equal to the install path / I recommend C:\lazarus18rc5\conf )

I did not get any errors, neither regards to fpc, nor opening or compiling opm.


Your "About IDE" looks ok to me.


When you get the error, please right click the message window, and select: copy > copy all/original messages.

Maybe this will yield some more info.


You may have first to go to tools > configure build lazarus
There put   -va    into the options field and save the settings (no need to build)

Then trigger the error.
copy all/original messages, but do NOT paste all of it here.
put in a local editor and search for lclintf (the unit that failed)

You will see lines like
Code: Pascal  [Select]
  1. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.ppu
  2. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.pp
  3. [0.353] (10000) Unitsearch: C:\lazarus18rc5\packager\units\i386-win32\LCLIntf.pas

And then either it does not find it at all (in which case it will be interesting to see what all the pathes where).
Or it will find it, but reject due to some error.

If it finds it there will be a line "PPU loading"
Code: Pascal  [Select]
  1. [0.353] (10001) PPU Loading C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  2. [0.353] (LCLINTF)  (10002) PPU Name: C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  3. [0.353] (LCLINTF)  (10005) PPU Time: 2017/10/11 18:13:10
  4. [0.353] (LCLINTF)  (10003) PPU Flags: 4395139
  5.  

wp

  • Hero Member
  • *****
  • Posts: 3953
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #7 on: October 13, 2017, 11:14:31 pm »
I did a secondary install, too. And everything was running fine. Installed OP - fine. Installed a few packages -- fine.

Maybe you got trapped by your antivirus? (Windows Defender did not want me to execute the downloaded installer because it is not signed, but I could define an exception).
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #8 on: October 13, 2017, 11:31:50 pm »
Hi Added a zip of the log, I could not see any thing odd, apart from the error, all the paths seemed fine.

This machine has many seperate folders for various versions of Lazarus, It has a Lazarus trunk folder that has multiple cross compilers, whether these are somehow interferring ?

I will attempt a clean install on another system that does not have any previous lazarus installations.

I have checked my AV/fireall for any triggered events and nothing has been triggered.

Will report back after tried on Vanilla System.
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3262
  • I like bugs.
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #9 on: October 13, 2017, 11:43:42 pm »
Yes the old installations somehow interfere. It does not find units that were moved or added.
A clean build usually helps then. Did you try it?

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #10 on: October 14, 2017, 12:07:21 am »
Hi JuhaManninen
Good call, before I rebuilt I also explicity set the folder for fpc compiler to the full path and filename of the 3.0.4 compiler; rather than just fpc.
Just in case somthing odd happening; the clean all rebuilt when complete and restarted i was then able to install OPM and now installing some of my base packages to start some testing.

Probably did not need to explicitly set the full file and path for fpc; but so far it's working :)
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4415
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #11 on: October 14, 2017, 12:11:42 am »
Ok found some more
Code: Pascal  [Select]
  1. [0.119] (10001) PPU Loading C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  2. [0.119] (LCLINTF)  (10002) PPU Name: C:\lazarus18rc5\lcl\units\i386-win32\lclintf.ppu
  3. [0.119] (LCLINTF)  (10008) PPU Invalid Version 173
  4.  

This means it was build with a version of fpc different to the one you use.

And I found this line in your log:
Code: Pascal  [Select]
  1. [0.016] Free Pascal Compiler version 3.1.1-r37445 [2017/10/11] for i386
  2.  

At some point you are loading the wrong fpc.
Or If you got the right fpc, then it uses the wrong ppc386

But then at the end it says
Code: Pascal  [Select]
  1. Error: C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe returned an error exitcode
  2.  

Which I don't understand. That should be 3.0.4

I downloaded the sourceforge rc5 32 bit right now. And in that install, that file identifies as  3.0.4
(And if I build opm with the rc5 I downloaded then it says 3.0.4 in the location where yours says 3.1.1)

----------------------
Bottom line:
I am not sure where the problem is, but it seems to be in your config.
Somehow your install uses the wrong fpc.

Or check your download, see if it has the right checksum.
Code: Pascal  [Select]
  1. fciv.exe -both lazarus-1.8.0RC5-fpc-3.0.4-win32.exe
  2. //
  3. // File Checksum Integrity Verifier version 2.05.
  4. //
  5.                 MD5                             SHA-1
  6. -------------------------------------------------------------------------
  7. 932252b15e118c380fd3021e1d6a893b 8a275d18533ac2e37ce77f234f3ef4c229da3ab8 lazarus-1.8.0rc5-fpc-3.0.4-win32.exe
  8.  
  9.  

Checksums are on our website. fciv.exe can be downloaded from https://www.microsoft.com/en-gb/download/details.aspx?id=11533
« Last Edit: October 14, 2017, 12:13:47 am by Martin_fr »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4415
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #12 on: October 14, 2017, 12:15:01 am »
Now I see it:
Error: C:\lazarus18rc5\fpc\bin\i386-win32\ppc386.exe

should be
C:\lazarus18rc5\fpc\3.0.4\bin\i386-win32\ppc386.exe


This explains also why fpc src were not found. You had an alternative fpc in the pas, and the IDE did find it.
« Last Edit: October 14, 2017, 12:16:44 am by Martin_fr »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4415
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #13 on: October 14, 2017, 12:20:31 am »
There may still be an issue, the IDE should have detected the need to rebuild the lclintf

josh

  • Sr. Member
  • ****
  • Posts: 437
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #14 on: October 14, 2017, 12:35:04 am »
Hi

Good catch.

The only location that i have fpc 3.1.1 is in my Lazarus Trunk folder; which is the one that has my trunk lazarus and cross compilers in.
I know I have this folder set in my system PATH environment.

Is 1.8 going to have problems with this, as if its picking up fpc 3.1.1 from non related folder ( although in system search path).

Would me setting explicitly the path to fpc in RC5 resolve the problem; or are likely other things to happen ( like you say LCLINTF should have been reported need to re-build).

I will do some test of building copying an old large project with many units in and compile it with rc5 and thoroughly go through the log to check which fpc version is being used and if its being used consistanly through the build.

I will also create a test app with lots of 3rd party comps on it and cross build to x64 and log the output to make sure the correct x-compiler is being used and that 3.1.1 has not been invoked somewhere.

Thanks for your help...

I have checked and the fpc in rc5 is 3.0.4.
« Last Edit: October 14, 2017, 12:52:07 am by josh »
Development Installation Lazarus 1.3, FPC 2.7.1,Windows 7/8 32/64, OSX, *nix

Test Environment Lazarus & FPC Trunk on Windows and OSX (Cocoa Mainly on OSX). Testing also Crosscompile windows to OSX.. 
Any posts made from 2015 will be based on Lazarus Trunk.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus