Recent

Author Topic: Not very up to date daily snapshot  (Read 2601 times)

explainedd

  • New Member
  • *
  • Posts: 10
Not very up to date daily snapshot
« on: January 23, 2022, 06:39:45 pm »
Hi!

I downloaded the daily source snapshot of the fixes tree (3.2.3 2022/Jan./23):
ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip

Because of this fix:
https://gitlab.com/freepascal.org/fpc/source/-/commit/e9d318e7e2f772bf455a92461cd5c229e69858d8

Than I checked compiler/x86/aoptx86.pas

It seems to me the file is different from the one on github/gitlab. The fix is missing.
https://gitlab.com/freepascal.org/fpc/source/-/blob/fixes_3_2/compiler/x86/aoptx86.pas

Will it be OK if I overwrite the content of the fpcbuild.zip with the gitlab code?

Thaddy

  • Hero Member
  • *****
  • Posts: 14157
  • Probably until I exterminate Putin.
Re: Not very up to date daily snapshot
« Reply #1 on: January 23, 2022, 06:46:18 pm »
In/Out of principle: NO.
The first link is to main/trunk. (which you have to build from source using 3.2.2 as the bootstrap compiler)
The second link is to the latest release, in this case 3.2.2.

Note that 3.2.2 also has a fixes branch but I do not know if that is packaged.
3.2.2 itself is basically frozen and only receives updates in fixes. It is a release.
Main/trunk is a development version and is a running target with almost daily updates that may or may not end up in a release version. It is also not recommended for normal users, advanced or not.
« Last Edit: January 23, 2022, 06:54:38 pm by Thaddy »
Specialize a type, not a var.

ccrause

  • Hero Member
  • *****
  • Posts: 843
Re: Not very up to date daily snapshot
« Reply #2 on: January 23, 2022, 07:44:07 pm »
Hi!

I downloaded the daily source snapshot of the fixes tree (3.2.3 2022/Jan./23):
ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip

Where did you find the date for that snapshot?  I just downloaded it and the latest date stamp in the compiler folder is 14 July 2021.  I suspect that this snapshot is not being maintained since the move to gitlab.

You can download a snapshot directly from gitlab: https://gitlab.com/freepascal.org/fpc/source/-/archive/fixes_3_2/source-fixes_3_2.zip

explainedd

  • New Member
  • *
  • Posts: 10
Re: Not very up to date daily snapshot
« Reply #3 on: January 23, 2022, 08:59:15 pm »
Thank You!

I checked the readme.rev file in the archive:

Free pascal source checkout of https://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_2 at Sun 23 Jan 2022 08:13:02 AM UTC

SVN...  :-[

ccrause

  • Hero Member
  • *****
  • Posts: 843
Re: Not very up to date daily snapshot
« Reply #4 on: January 23, 2022, 09:26:13 pm »
Thank You!

I checked the readme.rev file in the archive:

Free pascal source checkout of https://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_2 at Sun 23 Jan 2022 08:13:02 AM UTC

SVN...  :-[
Hmm, hopefully one of the maintainers get round to fixing the script that generates that snapshot.

I thought the snapshot was just a zip of the source folders, but I noticed there are install scripts too, so just pointing to the gitlab download is not quite the same.

explainedd

  • New Member
  • *
  • Posts: 10
Re: Not very up to date daily snapshot
« Reply #5 on: January 23, 2022, 11:25:03 pm »
I thought the snapshot was just a zip of the source folders, but I noticed there are install scripts too, so just pointing to the gitlab download is not quite the same.

Got it. Thanks! A small tutorial:

1. Get The FPC Build Environment
https://gitlab.com/freepascal.org/fpc/build/-/tree/fixes_3_2
Download than extract it to somewhere.

2. Get The FPC Source
https://gitlab.com/freepascal.org/fpc/source/-/tree/fixes_3_2
Download than extract the content of the source-fixes_3_2 directory into the build-fixes/fpcsrc directory of the Build Environment.

Finally build as usual.

 

TinyPortal © 2005-2018