Recent

Author Topic: Fpcupdeluxe  (Read 508266 times)

sstvmaster

  • Full Member
  • ***
  • Posts: 241
Re: Fpcupdeluxe
« Reply #1755 on: February 18, 2021, 04:46:05 pm »
Solved, thanks to Don and Michael. See: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/342
« Last Edit: February 18, 2021, 07:16:13 pm by sstvmaster »
Windows 10 (64 bit)
Lazarus: 2.0.12 / Trunk x32

Bi0T1N

  • Jr. Member
  • **
  • Posts: 59
Re: Fpcupdeluxe
« Reply #1756 on: February 20, 2021, 02:37:21 pm »
Solved, thanks to Don and Michael. See: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/342
Thanks, I've had the same problem. Deleting the fpcbootstrap folder solved it :)
However, I only replace the fpcupdeluxe binary so all these bootstrap utilities seem to stay and not getting updated or is v1.8.2g of fpcupdeluxe too old and v1.8.2h forces to download a newer FPC version?
If the utilities are not updated maybe show a message that they should be updated/fpcbootstrap folder be deleted so that this error do not pop up again.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1757 on: February 20, 2021, 04:05:58 pm »
The bootstrap utilities (m.i. the bootstrap compiler) are not influenced by the fpcupdeluxe version.
Fpcupdeluxe reads the Makefile of FPC to find a bootstrap version.

FPC 3.2 contains this:
REQUIREDVERSION=3.0.4
REQUIREDVERSION2=3.2.0

FPC trunk (3.3.1) contains this:
REQUIREDVERSION=3.2.0
REQUIREDVERSION2=3.0.4

As you can see, version 3.0.4 is allowed for both 3.2 as well as 3.3.1.
However, 3.0.4 does not work that well anymore.

If fpcupdeluxe finds an available 3.0.4 in the bootstrap directory, it will use it while it is allowed by the Makefile.
If you delete the bootstrapper, fpcupdeluxe will download a new one. The highest allowed. So, it will try to download a 3.2.0 bootstrapper.
So, deleting the bootstrapper and re-run fpcupdeluxe might solve this problem.

OkobaPatino

  • Full Member
  • ***
  • Posts: 197
Re: Fpcupdeluxe
« Reply #1758 on: February 22, 2021, 11:29:28 am »
DonAlfredo,

Today I faced an issue I wanted to share with you, Fpcupdeluxe was saying it had done everything well, but Lazarus was not the latest Trunk. After a while I found out that there is an untracked file "packager/globallinks/chmhelppkg-0.2.1.lpl" that prevents git to merge, but there was no hint in the logs and I find this while executing git separately. After removing that file, git could merge and Fpcupdeluxe done the job.

Here is the git output:
Quote
git.exe pull --progress -v --no-rebase "origin"
From https://github.com/graemeg/lazarus
= [up to date]            upstream     -> origin/upstream
= [up to date]            fixes_0.9.28 -> origin/fixes_0.9.28
= [up to date]            master       -> origin/master
error: The following untracked working tree files would be overwritten by merge:
packager/globallinks/chmhelppkg-0.2.1.lpl
Please move or remove them before you merge.
Updating 11bab9a731..1fdfd8b521
Aborting

I think there should be a warning or stop if git throws such error.

ydd

  • New Member
  • *
  • Posts: 39
Re: Fpcupdeluxe
« Reply #1759 on: February 22, 2021, 10:59:04 pm »
Quote
do you have plans for Apple M1 native support?
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.8.2g/fpcupdeluxe-aarch64-darwin-cocoa.zip
This version might work for you.

I want to try with LLVM support, for reference I use: https://wiki.freepascal.org/LLVM
As I understand I should enable LLVM=1 and -Clflto
I tried to pase this in Advance settings / Options Override / FPC options
but it failed.
Please help what I should to do? thanks

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1760 on: February 24, 2021, 09:52:15 am »
@OkobaPatino
If I would know how to detect this error, there would definitely be a warning or a stop.
To implement this I need a reproduceable setup to simulate this error and to handle it.
If you can provide me with this, I will look into it.

@ydd
Will look into this.
However. As I have no Mac, I am only able to test inside an x86_64 VM 10.15 on Windows.

OkobaPatino

  • Full Member
  • ***
  • Posts: 197
Re: Fpcupdeluxe
« Reply #1761 on: February 24, 2021, 10:50:57 am »
I reproduce the problem like this:
Check the source repo and find the latest commit that I didn't pull already, for example this: https://github.com/graemeg/freepascal/commit/b87c37003e8b0c4680690ab7be171695e76680ae
Change the file (i_linux.pas in this case) so it will conflict when I want to pull.
If I use a git client, it will raise a merge error. But if I use Fpcupdeluxe, git pull task will be cancelled and ignored, so it will only do the clean and compile.


Side question, how do you compile Fpcupdeluxe for this many platforms for each release?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1762 on: February 24, 2021, 11:32:18 am »
@OkobaPatino

Ok. Will try to reproduce.

About all those binaries ... I like to cross-compile ... and use fpcupdeluxe (on Windows) to do all the dirty work for me.
See included screenshot. Two installs of FPC 3.2 and Lazarus trunk. One for normal use. One for specials.
FPC and Lazarus are amazing.

OkobaPatino

  • Full Member
  • ***
  • Posts: 197
Re: Fpcupdeluxe
« Reply #1763 on: February 24, 2021, 02:23:19 pm »
Indeed they are amazing!
Your work made it made it very easy. Thank you.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1764 on: February 24, 2021, 07:28:27 pm »
@ydd
LLVM support is not something that is easily implemented in fpcupdeluxe. So, for now, this will not be supported. If more platforms are supported and the feature has made it into a stable FPC version, I will have another look at it. Please remind me.

bpranoto

  • Jr. Member
  • **
  • Posts: 84
Re: Fpcupdeluxe
« Reply #1765 on: February 26, 2021, 07:14:58 am »
fpcupdeluxe per today (Feb 26,2021) still show the stable lazarus version as https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_10 eventhough the new version 2.0.12 was just released


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1384
  • Former Delphi 1-7, 10.2 User
Re: Fpcupdeluxe
« Reply #1766 on: February 26, 2021, 07:31:37 am »
@bpranoto: What did your last unpaid slave die of? Overwork?
Lazarus 2.1 r65019 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r65019 FPC 3.3.1 r49223 macOS 11.2.3 aarch64 Xcode 12.4
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1767 on: February 26, 2021, 08:02:11 am »
 8-) ... rest assured ... a new release is on its way ...  :D

bpranoto

  • Jr. Member
  • **
  • Posts: 84
Re: Fpcupdeluxe
« Reply #1768 on: February 26, 2021, 01:28:26 pm »
8-) ... rest assured ... a new release is on its way ...  :D

Thank you very much. This is a very great product.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1769 on: February 26, 2021, 04:00:52 pm »
New release for Lazarus 2.0.12 and embedded work.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2k

Thanks to user Michael (@MIR), a lot of features regarding embedded and FreeRTOS have gone into FPC and fpcupdeluxe.
To celebrate this, special speedbutons have been added to easy the install especially targeted at the Wio Terminal and the Raspberry Pico.
https://www.seeedstudio.com/Wio-Terminal-p-4509.html

A speedbutton for Ultibo has also been added.

In a separate post we will give more info, especially about the FPC/FreeRTOS running on Wio Terminal.

For Darwin: a GIT-mirror of Lazarus 2.0.12 can be chosen as a source for Lazarus.
For FreeRTOS/embedded: a special FPC-fork called embedded-mir has all features, together with Lazarus-embedded. The dedicated speedbuttons will install these.

Thanks again for to all who have worked together to make this possible.

 

TinyPortal © 2005-2018