Recent

Author Topic: Fpcupdeluxe  (Read 508424 times)

El Salvador

  • New Member
  • *
  • Posts: 48
Re: Fpcupdeluxe
« Reply #1770 on: February 27, 2021, 12:38:33 pm »
Just tried 1.8.2k in win32 (I'm updating Lazarus 2.0.10 to 2.0.12) and I have this error "fpcupdeluxe: Got an unexpected exception ... don't know what to do unfortunately.".

This is the log:
Quote
Going to install/update Lazarus only with given options.
FPCUP(deluxe) is starting up.

FPCupdeluxe basedir:       D:\fpcupdeluxe
Binutils dir:              D:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:             D:\fpcupdeluxe\fpcbootstrap

FPC URL:                   https://svn.freepascal.org/svn/fpc/tags/release_3_2_0
FPC source directory:      D:\fpcupdeluxe\fpcsrc
FPC install directory:     D:\fpcupdeluxe\fpc
FPC options:               

Lazarus URL:               https://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_12
Lazarus source directory:  D:\fpcupdeluxe\lazarus
Lazarus install directory: D:\fpcupdeluxe\lazarus
Lazarus options:           

Please stand back and enjoy !

27/02/2021 12:35:48: fpcupdeluxe: V320 (20210226) started.
FPCUPdeluxe V1.8.2k for i386-win32 running on Win64-10.0.19042

Checking dev-libs for: win32

Is it possible enable extra verbose log?

bpranoto

  • Jr. Member
  • **
  • Posts: 84
Re: Fpcupdeluxe
« Reply #1771 on: February 27, 2021, 03:09:46 pm »
When I tried to install the new fpcupdeluxe for lazarus version 2.0.12 over the previous version install directory (2.0.10) I get an Fpcupdeluxe encountered a (fatal) URL error:

Fpcupdeluxe encountered a (fatal) URL error.
Most common cause: overwtiting an existing install.
Sources with different URL cannot be installed in same directory.
Please select an new install directory when changing versions.

Is there a way to force to install to the old version so we don't need to reinstall all the component packages?

Thank you


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1772 on: February 27, 2021, 06:57:34 pm »
@El Salvador
There was a nasty upgrade bugger. So, a brand-new release to resolve this bugger. Release 1.8.2k is withdrawn.
Please use:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2l

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1773 on: February 27, 2021, 07:00:28 pm »
@bpranoto
In Setup+ there is a checkbox called "Auto-switch repo-URL". If you check this box, fpcupdeluxe will try to switch the repo's.
This is disabled by default due to the fact that it is known to fail more often than you like.
But you are welcome to try and report its success or faulire.

El Salvador

  • New Member
  • *
  • Posts: 48
Re: Fpcupdeluxe
« Reply #1774 on: February 27, 2021, 07:56:35 pm »
@El Salvador
There was a nasty upgrade bugger. So, a brand-new release to resolve this bugger. Release 1.8.2k is withdrawn.
Please use:
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2l
Tried, but I have same issue (i'm using FPCupdeluxe in Windows 10).  :'(

bpranoto

  • Jr. Member
  • **
  • Posts: 84
Re: Fpcupdeluxe
« Reply #1775 on: February 27, 2021, 07:59:54 pm »
@bpranoto
In Setup+ there is a checkbox called "Auto-switch repo-URL". If you check this box, fpcupdeluxe will try to switch the repo's.
This is disabled by default due to the fact that it is known to fail more often than you like.
But you are welcome to try and report its success or faulire.

It works very well. Thank you!!!

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1776 on: February 27, 2021, 08:11:02 pm »
@El Salvador
This should not happen. Please open an issue on Github.
Question: please test if a new install in an empty install directory works.

El Salvador

  • New Member
  • *
  • Posts: 48
Re: Fpcupdeluxe
« Reply #1777 on: February 28, 2021, 10:21:57 am »
Resolved thanks to a new installation of Lazarus. Thanks anyway.

josh

  • Hero Member
  • *****
  • Posts: 827
Re: Fpcupdeluxe
« Reply #1778 on: March 01, 2021, 02:23:53 am »
Hi

Just updated to latest Trunk (Git) on Big Sur (Intel).

And now my application is generating the following error on build.

Code: [Select]
/Users/Josh/Documents/My_Projects/Project_12/lib/x86_64-darwin/editor_unit.s:7569:14: error: invalid operand for instruction
        minsd   %xmm1,40(%rsp)
                      ^~~~~~~
/Users/Josh/Documents/My_Projects/Project_12/lib/x86_64-darwin/editor_unit.s:7607:14: error: invalid operand for instruction
        maxsd   %xmm1,48(%rsp)

Any ideas as to what is happening. Not had this kind of issue before.

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

  • Hero Member
  • *****
  • Posts: 827
Re: Fpcupdeluxe
« Reply #1779 on: March 01, 2021, 02:48:17 am »
Quick Follow Up

Issue is with Optimisation

Previously I used Optimization 2, this now generated the error; using Optimisation 0 or 1 is OK, 2 +3 gives the error and 4 now works when previously it did not.

So If anyone else gets similar; suggest checking/ changing Optimisation Level.

Addition
On further testing my apps no longer work reliabily with even Optimisation 1, when i have this set my applications generates an error when it is closed. (pointer being freed was not allocated). The close routine of the app does not manually free anything.
Setting Optimisation 0 ( No optimization) then the app runs fine, and closes without throwing an error.

Compiling the same with FPC 47919 and Lazarus 64169 No error with 0,1,2.




« Last Edit: March 01, 2021, 01:05:27 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: 2144
    • Additional info
Re: Fpcupdeluxe
« Reply #1780 on: March 01, 2021, 01:31:53 pm »
I have used fpcupdeluxe to download FPC and LAZ trunks on Debian x64 VM. It works. Now I am offline and because of some FPC patching experiments I want to recompile first FPC, and then LAZ. On Windows for FPC recompilation I used cd \myfpcsrcdir, make clean, make all, make install. On Linux I tried something similar using exports mentioned in the wiki but it failed (it doesn't like 3.3.1 compiler), and as an alternative in fpcupdeluxe I selected only "FPC/Laz rebuild only" in setup and pressed "Install/Update FPC+Laz" on trunk/trunk and failed again.

Before putting here my detailed steps, I would like to know if there is an official or at least recommended way to recompile FPC (downloaded via fpcupdeluxe) after modifying it's files on linux - since I was not able to find it.
« Last Edit: March 01, 2021, 01:36:40 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1441
Re: Fpcupdeluxe
« Reply #1781 on: March 01, 2021, 01:46:58 pm »
Quote
I selected only "FPC/Laz rebuild only" in setup and pressed "Install/Update FPC+Laz"
That is 100% correct !

avra

  • Hero Member
  • *****
  • Posts: 2144
    • Additional info
Re: Fpcupdeluxe
« Reply #1782 on: March 01, 2021, 02:39:10 pm »
Quote
I selected only "FPC/Laz rebuild only" in setup and pressed "Install/Update FPC+Laz"
That is 100% correct !

I get this error with extra verbose on:

Quote
Going to install/update FPC and Lazarus with given options.
FPCUP(deluxe) is starting up.

FPCupdeluxe basedir:       /home/avra/prg/lazarus/trunkall
Bootstrap dir:             /home/avra/prg/lazarus/trunkall/fpcbootstrap

FPC URL:                   https://svn.freepascal.org/svn/fpc/trunk
FPC source directory:      /home/avra/prg/lazarus/trunkall/fpc
FPC install directory:     /home/avra/prg/lazarus/trunkall/fpc
FPC options:               

Lazarus URL:               https://svn.freepascal.org/svn/lazarus/trunk
Lazarus source directory:  /home/avra/prg/lazarus/trunkall/lazarus
Lazarus install directory: /home/avra/prg/lazarus/trunkall/lazarus
Lazarus options:           

Please stand back and enjoy !

1-3-21 14:37:02: fpcupdeluxe: V319 (20210208) started.
FPCUPdeluxe V1.8.2j for x86_64-linux running on Debian GNU/Linux

Found valid as application.
Found valid gunzip application.
Found valid tar application.
Found valid make application.
fpcupdeluxe: info: FPCNativeInstaller (CleanModule: FPC): Running make distclean twice
make: *** No rule to make target 'distclean'.  Stop.
make: Entering directory '/home/avra/prg/lazarus/trunkall/fpc'
make: Leaving directory '/home/avra/prg/lazarus/trunkall/fpc'


ERROR: Fpcupdeluxe fatal error !
Sequencer (FPCCleanBuildOnly): Failure running fpcupdeluxe: error executing sequence FPCCleanBuildOnly
Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only

EDIT1: I have just checked not only "FPC/Laz rebuild only" but also all other default switches and compilation started... I will wait to see the outcome...

EDIT2: Outcome was positive. Problem solved. Thanks and sorry for the noise...
« Last Edit: March 01, 2021, 03:03:21 pm by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

heejit

  • Full Member
  • ***
  • Posts: 246
Re: Fpcupdeluxe
« Reply #1783 on: March 23, 2021, 05:07:37 pm »
Code: Pascal  [Select][+][-]
  1. fpcupdeluxe: ERROR: Failed to get crosslibrary
  2.  
  3.  
  4. Fpcupdeluxe failed due to missing cross libraries.
  5. Looking for fpcupdeluxe cross-tools on GitHub (if any).
  6. Going to look for the right cross-libraries. Can (will) take some time !
  7. Looking for: CrossLibsLinuxI386
  8. Looking for libs in: https://api.github.com/repos/LongDirtyAnimAlf/fpcupdeluxe/releases/tags/crosslibs_v1.3
  9. Looking for libs in: https://api.github.com/repos/LongDirtyAnimAlf/fpcupdeluxe/releases/tags/crosslibs_v1.2
  10. Looking for libs in: https://api.github.com/repos/LongDirtyAnimAlf/fpcupdeluxe/releases/tags/crosslibs_v1.1
  11. Looking for libs in: https://api.github.com/repos/LongDirtyAnimAlf/fpcupdeluxe/releases/tags/crosslibs_v1.0
  12. No luck in getting then cross-tools ... aborting.
  13.  


 

TinyPortal © 2005-2018