LongDirtyAnimAlf / fpcupdeluxe

A GUI based installer for FPC and Lazarus
505 stars 94 forks source link

Replacing with new version will not compile Lazarus - Tag mismatch #689

Closed dkounal closed 5 months ago

dkounal commented 5 months ago

I just replaced the executable fpcupdeluxe-x86_64-win64.exe with the new version in an existing directory with compiled fpc+lazarus I requested to recompile FPC+lazarus from the buttons at the left. I got the following error in the image: εικόνα Also I have the following issue (lists will never be available) from previous versions that can be linked to this error: εικόνα Thank you for this excellent work!

LongDirtyAnimAlf commented 5 months ago

You need to install in a new, empty directory ! I cannot reproduce your issue with the tags unfortunately.

dkounal commented 5 months ago

Is there a way to help?

afriess commented 5 months ago

No, i see the same problem here. I think it is more a GIT-Problem or the way of working, how fpcupdeluxe is checking out.

The old Tag was eg. Lazarus_3_2 and the new Tag is Lazarus_3_4, so the tag-mismatch was triggered. If you check out for a specific Tag (not the whole git with the complete history), it look like, you can not checkout for another Tag.

So inplace upgrades to another Tagversion looks actual not possible with fpcupdeluxe, as Alfred mentions.

dkounal commented 5 months ago

Sure, but tags also can not be updated in the image above

LongDirtyAnimAlf commented 5 months ago

Regarding the Tags list ? The tags are fetched from GitLab the moment the Tags-tab is selected. This needs a few seconds. And works well on my own Windows 11 system. I cannot think of a reason that it does not work on your system.

And again, with the current FPC and Lazarus on GitLab, fpcupdeluxe will NOT allow you to change towards another tag (or branch) on an existing install. This has been made possible in earlier versions of fpcupdeluxe, but resulted in many many problems.

dkounal commented 5 months ago

Ok thanks a lot then. Thank you again for your time

dkounal commented 5 months ago

Concerning tags list, 20 minutes later I do not have a list of tags. But this is not a problem for me as I have to get a clean start