Recent

Author Topic: Fpcupdeluxe  (Read 792672 times)

El Salvador

  • Full Member
  • ***
  • Posts: 133
Re: Fpcupdeluxe
« Reply #1800 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

  • Full Member
  • ***
  • Posts: 134
Re: Fpcupdeluxe
« Reply #1801 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: 1738
Re: Fpcupdeluxe
« Reply #1802 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

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

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Fpcupdeluxe
« Reply #1804 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.

The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Fpcupdeluxe
« Reply #1805 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 »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Fpcupdeluxe
« Reply #1806 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: 1738
Re: Fpcupdeluxe
« Reply #1807 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: 2514
    • Additional info
Re: Fpcupdeluxe
« Reply #1808 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: 245
Re: Fpcupdeluxe
« Reply #1809 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.  


Josh

  • Hero Member
  • *****
  • Posts: 1270
Re: Fpcupdeluxe
« Reply #1811 on: March 25, 2021, 01:35:45 am »
Hi

Just tried to install trunk for win32

Using fpcupdeluxw for 32bit windows, it fails on multiple downloads, a little bit of investigation of logs, fpcupdeluxe is trying to download tools from
https://svn.freepascal.org/svn/fpcbuild/tags/release_3_2_2/install/binw32/
this is does not exist, it appears as though it should be
https://svn.freepascal.org/svn/fpcbuild/tags/release_3_2_2_rc1/install/binw32/

Also the link to openssl in extras is not valid, it too does not exist; not too sure where to find correct one though.
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

serbod

  • Full Member
  • ***
  • Posts: 142
Re: Fpcupdeluxe
« Reply #1812 on: March 28, 2021, 05:07:50 pm »
Just tried to install trunk for win32

Enable "Use local repo client" option.

AlanTheBeast

  • Sr. Member
  • ****
  • Posts: 348
  • My software never cras....
Re: Fpcupdeluxe
« Reply #1813 on: April 08, 2021, 10:14:21 pm »
Just DL'd fp..xe from Github onto a VM at work under Ubuntu. 

from: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/tag/1.8.2n
fpcupdeluxe-x86_64-linux

(was it supposed to be a different version ? -musl?

How do I install it?  (This is embarrassing.  I did install it on a VM at home - just don't recall how - I'm zilch^2 with Linux).
« Last Edit: April 08, 2021, 10:57:47 pm by AlanTheBeast »
Everyone talks about the weather but nobody does anything about it.
..Samuel Clemens.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Fpcupdeluxe
« Reply #1814 on: April 08, 2021, 11:28:32 pm »
How do I install it?  (This is embarrassing.  I did install it on a VM at home - just don't recall how - I'm zilch^2 with Linux).

First, make sure the file has the "executable" bit set (for most common desktops, Alt-Enter in the file manager, Permissions tab). Then put it wherever you want (normally would be its own folder in the home one) and run it (e.g. click or <enter> in the file manager).

Basically as in Windows, except for ensuring it's executable.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018