* * *

Author Topic: Fpcupdeluxe  (Read 99145 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 787
Re: Fpcupdeluxe
« Reply #510 on: May 14, 2017, 02:29:03 pm »
Thanks.

In the meantime.
FPC trunk now includes the necessary changes to compile from Windows (win32) towards various Darwin flavors !!
(crosscompiling from win64 towards others has some issues still: use win32)

To celebrate this, the latest version of fpcupdeluxe offers a colorful command output window, with heavy filtering.
It now shows only the necessary info, with colors to separate between different types of info.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 787
Re: Fpcupdeluxe
« Reply #511 on: May 14, 2017, 02:35:38 pm »
Please elaborate: I do not understand what you mean.
I see your edit now ! Explanation.


A user of fpcupdeluxe chooses a FPC version to install.
This version gets downloaded.

Fpcupdeluxe scans the makefile of the sources to decide which bootstrapper to use.
It uses the lowest version that is allowed by the makefile itself.

E.g. trunk makefile allows for 3.0.0 and 3.0.2
Code: Pascal  [Select]
  1. REQUIREDVERSION=3.0.0
  2. REQUIREDVERSION2=3.0.2

It chooses the lowest due to the limited availability of official bootstrappers.

And fpcupdeluxe will build a bootstrapper itself if even the lowest is not available.
To bootstrap this bootstrapper, the same procedure as above is used.

And if that is not working: https://github.com/newpascal/fpcupdeluxe/releases/tag/bootstrappers_v1.0
« Last Edit: May 14, 2017, 02:52:09 pm by DonAlfredo »

Thaddy

  • Hero Member
  • *****
  • Posts: 4617
Re: Fpcupdeluxe
« Reply #512 on: May 14, 2017, 03:26:31 pm »
I deleted because I saw that the bootstrap issue was solved elsewhere (by Marco). That was an omission.
But the 2.6.4 bootstrap was always there. I feared you made the same mistake all over again.

But I made a mistake in writing to hastily. (Too busy debugging Zeos...)
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

avra

  • Hero Member
  • *****
  • Posts: 1140
    • Additional info
Re: Fpcupdeluxe
« Reply #513 on: May 14, 2017, 09:19:39 pm »
I was going to create a bug tracker, but firefox is not letting me go to mantis, tells me site NOT safe.
Just tested with latest Firefox and Cyberfox and no access problem.
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

josh

  • Sr. Member
  • ****
  • Posts: 428
Re: Fpcupdeluxe
« Reply #514 on: May 15, 2017, 11:17:09 am »
My bookmark to mantis, firefox,chrome,ie generate nto secure or equivalent message.

https://mantis.freepascal.org/
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.

GetMem

  • Hero Member
  • *****
  • Posts: 2411
Re: Fpcupdeluxe
« Reply #515 on: May 15, 2017, 11:25:09 am »
@josh
Advanced-->Add Exception doesn't work for you?

josh

  • Sr. Member
  • ****
  • Posts: 428
Re: Fpcupdeluxe
« Reply #516 on: May 15, 2017, 12:10:37 pm »
Hi

I could add an exception (but highly not recommended), this problem has only recently happened, so some change has been made, probable letsencrypt ssl cert issue.
I suspect it will suddenly just start working.
The Forum has just been updated to https, so no more annoying firefox messages when login in :)
I think that https autoredirection should be implemented, so that if your googling a page that was http; the server auto redirects to https version; this can be set in .htaccess file

« Last Edit: May 15, 2017, 12:21:48 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.

avra

  • Hero Member
  • *****
  • Posts: 1140
    • Additional info
Re: Fpcupdeluxe
« Reply #517 on: May 15, 2017, 02:32:58 pm »
My bookmark to mantis, firefox,chrome,ie generate nto secure or equivalent message.
Are you on proxy? Last night I checked from home and no security msg, now I checked behind company proxy and I get security msg on Firefox, but not on Opera (Chrome based). Maybe you have lousy net admins like I do? I also remember that if you are behind a proxy all got worse when Firefox changed secure connection library a while ago, so I switched to Opera.
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

josh

  • Sr. Member
  • ****
  • Posts: 428
Re: Fpcupdeluxe
« Reply #518 on: May 15, 2017, 02:40:39 pm »
Hi

No Proxy

GTMetrics Report

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.

Cyrax

  • Hero Member
  • *****
  • Posts: 542
Re: Fpcupdeluxe
« Reply #519 on: May 16, 2017, 05:11:51 am »
Change your bookmark to bugs.freepascal.org. Problem solved.

avra

  • Hero Member
  • *****
  • Posts: 1140
    • Additional info
Re: Fpcupdeluxe
« Reply #520 on: May 21, 2017, 09:14:45 pm »
I am not sure if I should post it here, but is NewPascal/Mormot combo over fpcupdeluxe currently broken?

Some time ago samples worked, but if I now download 32bit NewPascal (v1.7 2017-04-18 FPC 3.1.1 SVN53048M) and Mormot from fpcupdeluxe on WinXP SP3 and Win10 64bit on first several examples I get errors like this:

Code: Pascal  [Select]
  1. Compile Project, Target: fpc\bin\i386-win32\TestSQL3.exe: Exit code 1, Errors: 2, Warnings: 3
  2. SynCommons.pas(6190,23) Warning: Some fields coming after "" were not initialized
  3. SynCommons.pas(13696,42) Warning: Some fields coming after "VType" were not initialized
  4. SynCommons.pas(16155,5) Warning: Destructor should be public
  5. SynFPCTypInfo.pas(223,27) Error: identifier idents no member "RecInitInfo"
  6. SynFPCTypInfo.pas(226,58) Error: identifier idents no member "RecInitData"
  7.  

compiler chokes on places like this:
Code: Pascal  [Select]
  1. {$ifdef FPC_NEWRTTI}
  2. function GetFPCRecInitData(TypeData: Pointer): Pointer;
  3. begin
  4.   if PTypeData(TypeData)^.RecInitInfo = nil then
  5.     result := TypeData
  6.   else
  7.     result := AlignTypeData(pointer(PTypeData(TypeData)^.RecInitData));
  8. end;
  9. {$endif}
  10.  

If I download official newpascal.zip with configure.bat and run.bat it doesn't suffer such problems.

Is it me forgetting something, or is it NewPascal/Mormot over fpcupdeluxe?
« Last Edit: May 21, 2017, 09:16:37 pm by avra »
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

hnb

  • Full Member
  • ***
  • Posts: 197
Re: Fpcupdeluxe
« Reply #521 on: May 22, 2017, 08:33:09 am »
I am not sure if I should post it here, but is NewPascal/Mormot combo over fpcupdeluxe currently broken?
...
If I download official newpascal.zip with configure.bat and run.bat it doesn't suffer such problems.

Is it me forgetting something, or is it NewPascal/Mormot over fpcupdeluxe?

the most stable NewPascal/mORMot combo is official newpascal.zip. fpcupdeluxe can be currently broken in this area, we need to put some more work in this direction (is possible that wrong mORMot is used with improper FPC compiler version). I am working on the improvements for official FPC trunk and after some of my new work I have plans to create more safe updates system for NewPascal/mORMot for fpcupdeluxe. New NewPascal release is delayed because Lazarus/FPC trunk is not stable enough atm.
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

DonAlfredo

  • Hero Member
  • *****
  • Posts: 787
Re: Fpcupdeluxe
« Reply #522 on: May 22, 2017, 09:51:25 am »
In addition to the previous posts.

I just did a vanilla install of NewPascal and mORMot and mORMotFPC with fpcupdeluxe (win32 on Win10-64).
TestSQL3 is working out-of-the-box for both (mORMot and mORMotFPC) !

So, I cannot reproduce the issues mentioned unfortunately.

hnb

  • Full Member
  • ***
  • Posts: 197
Re: Fpcupdeluxe
« Reply #523 on: May 22, 2017, 10:44:03 am »
In addition to the previous posts.

I just did a vanilla install of NewPascal and mORMot and mORMotFPC with fpcupdeluxe (win32 on Win10-64).
TestSQL3 is working out-of-the-box for both (mORMot and mORMotFPC) !

So, I cannot reproduce the issues mentioned unfortunately.
Very good news. Btw. the risk of incompatibility/problems by usage of fpcupdeluxe for NewPascal exist but is rather small. We can exclude that in the future by more proper branch policy (current state of branches is good but not perfect).
Checkout NewPascal initiative and donate beer - ready to use tuned FPC compiler + Lazarus for mORMot project

best regards,
Maciej Izak

avra

  • Hero Member
  • *****
  • Posts: 1140
    • Additional info
Re: Fpcupdeluxe
« Reply #524 on: May 23, 2017, 03:41:09 am »
I just did a vanilla install of NewPascal and mORMot and mORMotFPC with fpcupdeluxe (win32 on Win10-64).
TestSQL3 is working out-of-the-box for both (mORMot and mORMotFPC) !
Thank you for testing. I repeated once more on Win10 64bit with fpcupdeluxe 1.40g (so everything stayed the same) but now I got a working SVN52654 and back then I got non working SVN53048M ?!?  %)

I must have done something wrong but I do not know what.  :-\

Sorry for the confusion and for taking everyone's time.  :-[
« Last Edit: May 23, 2017, 03:43:12 am by avra »
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

 

Recent

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