Recent

Author Topic: Fpcupdeluxe  (Read 794405 times)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Fpcupdeluxe
« Reply #885 on: July 28, 2018, 04:16:14 pm »
Hello.

Just looking at processutils unit, and this code
looks dodgy:

Code: Pascal  [Select][+][-]
  1.    if (Assigned(OnError) or Assigned(OnErrorM)) then
  2.             OnError(Self,false)
  3.           else
  4.             OnErrorM(Self,false);
  5.           exit;

If onerror is not  assigned, but onerrorm is assigned, then onerror is called nevertheless. I think it is a wrong copy and paste from similar code further down the line.

This piece of code is just below the
Code: Pascal  [Select][+][-]
  1.  // Avoid unpredictable behaviour as well as
  2.  // OSX bug 26706 (fixed in FPC trunk)

comment

hayanninja

  • New Member
  • *
  • Posts: 45
Re: Fpcupdeluxe
« Reply #886 on: August 06, 2018, 11:33:01 am »
I'm having issues running this. It worked fine in the past, but I reformatted my computer recently and can't get FpcUpDeluxe to work since.

Quote
Code: [Select]
FPCUPdeluxe V1.6.1g for i386-win32-win32

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

Binutils/make dir:  C:\Laz2\fpcbootstrap
Bootstrap dir:      C:\Laz2\fpcbootstrap
FPC URL:               https://svn.freepascal.org/svn/fpc/trunk
FPC options:           
FPC source directory:  C:\Laz2\fpcsrc
FPC install directory: C:\Laz2\fpc
Lazarus URL:        https://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:   
Lazarus directory:  C:\Laz2\lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 6/08/2018 20:37:19: fpcupdeluxe: V060 (20180712) started.
fpcupdeluxe: info: Windows major version: 10
fpcupdeluxe: info: Windows minor version: 0
fpcupdeluxe: info: Windows build number:  17134
fpcupdeluxe: info: FPCNativeInstaller (CheckAndGetTools): Getting OpenSLL library files.
fpcupdeluxe: WARNING: FPCNativeInstaller (DownloadOpenSSL): No OpenSLL library files available for SSL. Going to download them
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://indy.fulgan.com/SSL/openssl-1.0.2o-i386-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-i386-win32.zip from indy.fulgan.com/SSL/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-i386-win32.zip from indy.fulgan.com/SSL/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://indy.fulgan.com/SSL/openssl-1.0.2o-i386-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://indy.fulgan.com/SSL/openssl-1.0.2o-i386-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-i386-win32.zip from indy.fulgan.com/SSL/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-i386-win32.zip from indy.fulgan.com/SSL/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://indy.fulgan.com/SSL/openssl-1.0.2o-i386-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://wiki.overbyte.eu/arch/openssl-1.0.2o-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from wiki.overbyte.eu/arch/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from wiki.overbyte.eu/arch/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://wiki.overbyte.eu/arch/openssl-1.0.2o-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://wiki.overbyte.eu/arch/openssl-1.0.2o-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from wiki.overbyte.eu/arch/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from wiki.overbyte.eu/arch/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://wiki.overbyte.eu/arch/openssl-1.0.2o-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://www.magsys.co.uk/download/software/openssl-1.0.2o-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from www.magsys.co.uk/download/software/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from www.magsys.co.uk/download/software/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://www.magsys.co.uk/download/software/openssl-1.0.2o-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://www.magsys.co.uk/download/software/openssl-1.0.2o-win32.zip
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from www.magsys.co.uk/download/software/
fpcupdeluxe: info: Native downloader: Getting openssl-1.0.2o-win32.zip from www.magsys.co.uk/download/software/
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): Could not download file with URL http://www.magsys.co.uk/download/software/openssl-1.0.2o-win32.zip into C:\Users\<username>\AppData\Local\Temp (filename: FPCUPTMP00000.tmp.zip)
fpcupdeluxe: info: TNormalUnzipper: Going to extract files from C:\Users\<username>\AppData\Local\Temp\FPCUPTMP00000.tmp.zip into C:\Laz2\
fpcupdeluxe: info: Extracting libeay32.dll. #1 out of #2
fpcupdeluxe: info: Extracting ssleay32.dll. #2 out of #2
fpcupdeluxe: WARNING: FPCNativeInstaller (GetFile): OpenSLL library files download and unpacking ok
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading https://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_4/install/binw32/patch.exe
fpcupdeluxe: info: Native downloader: Getting patch.exe from svn.freepascal.org/svn/fpcbuild/tags/release_3_0_4/install/binw32/
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading https://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_4/install/binw32/patch.exe.manifest
fpcupdeluxe: info: Native downloader: Getting patch.exe.manifest from svn.freepascal.org/svn/fpcbuild/tags/release_3_0_4/install/binw32/
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
fpcupdeluxe: info: Native downloader: Getting 7za920.zip from downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/
fpcupdeluxe: info: TNormalUnzipper: Going to extract files from C:\Laz2\fpcbootstrap\7Zip\7za920.zip into C:\Laz2\fpcbootstrap\7Zip\
fpcupdeluxe: info: Extracting 7za.exe. #1 out of #1
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading http://downloads.sourceforge.net/project/gnuwin32/unrar/3.4.3/unrar-3.4.3-bin.zip
fpcupdeluxe: info: Native downloader: Getting unrar-3.4.3-bin.zip from downloads.sourceforge.net/project/gnuwin32/unrar/3.4.3/
fpcupdeluxe: info: TNormalUnzipper: Going to extract files from C:\Laz2\fpcbootstrap\unrar\unrar-3.4.3-bin.zip into C:\Laz2\fpcbootstrap\unrar\
fpcupdeluxe: info: Extracted #5 files out of #69
fpcupdeluxe: info: Extracted #10 files out of #69
fpcupdeluxe: info: Extracted #15 files out of #69
fpcupdeluxe: info: Extracted #20 files out of #69
fpcupdeluxe: info: Extracted #25 files out of #69
fpcupdeluxe: info: Extracted #30 files out of #69
fpcupdeluxe: info: Extracted #35 files out of #69
fpcupdeluxe: info: Extracted #40 files out of #69
fpcupdeluxe: info: Extracted #45 files out of #69
fpcupdeluxe: info: Extracted #50 files out of #69
fpcupdeluxe: info: Extracted #55 files out of #69
fpcupdeluxe: info: Extracted #60 files out of #69
fpcupdeluxe: info: Extracted #65 files out of #69
fpcupdeluxe: info: FPCNativeInstaller (GetFile): GIT not found. Downloading it (may take time) from https://github.com/git-for-windows/git/releases/download/v2.17.1.windows.2/MinGit-2.17.1.2-32-bit.zip
fpcupdeluxe: info: FPCNativeInstaller (GetFile): Downloading https://github.com/git-for-windows/git/releases/download/v2.17.1.windows.2/MinGit-2.17.1.2-32-bit.zip
fpcupdeluxe: info: Native downloader: Getting MinGit-2.17.1.2-32-bit.zip from github.com/git-for-windows/git/releases/download/v2.17.1.windows.2/
fpcupdeluxe: info: FPCNativeInstaller (GetFile): GIT download ready: unpacking (may take time).
Executing: C:\Laz2\fpcbootstrap\\7Zip\7za.exe "x" "-oC:\Laz2\fpcbootstrap\git\" "C:\Laz2\fpcbootstrap\git\git32.zip" (working dir: )

7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18

Processing archive: C:\Laz2\fpcbootstrap\git\git32.zip


Everything is Ok

Folders: 3
Files: 262
Size:       49106336
Compressed: 21149949
fpcupdeluxe: WARNING: FPCNativeInstaller (FindSVNSubDirs): Could not find svn executable in or under C:\Laz2\fpcbootstrap\svn\
fpcupdeluxe: info: FPCNativeInstaller (FindSVNSubDirs): Going to download SVN
fpcupdeluxe: info: Native downloader: Getting Apache-Subversion-1.10.0.zip from www.visualsvn.com/files/
fpcupdeluxe: info: TNormalUnzipper: Going to extract files from C:\Users\<username>\AppData\Local\Temp\FPCUPTMP00000.tmp.zip into C:\Laz2\fpcbootstrap\svn\
fpcupdeluxe: info: Extracting svn.exe. #1 out of #31
fpcupdeluxe: info: Extracting svnadmin.exe. #2 out of #31
fpcupdeluxe: info: Extracting svnbench.exe. #3 out of #31
fpcupdeluxe: info: Extracting svndumpfilter.exe. #4 out of #31
fpcupdeluxe: info: Extracting svnfsfs.exe. #5 out of #31
fpcupdeluxe: info: Extracting svnlook.exe. #6 out of #31
fpcupdeluxe: info: Extracting svnserve.exe. #7 out of #31
fpcupdeluxe: info: Extracting svnsync.exe. #8 out of #31
fpcupdeluxe: info: Extracting svnversion.exe. #9 out of #31
fpcupdeluxe: info: Extracting svnmucc.exe. #10 out of #31
fpcupdeluxe: info: Extracting svnrdump.exe. #11 out of #31
fpcupdeluxe: info: Extracting libsvn_client-1.dll. #12 out of #31
fpcupdeluxe: info: Extracting libsvn_delta-1.dll. #13 out of #31
fpcupdeluxe: info: Extracting libsvn_diff-1.dll. #14 out of #31
fpcupdeluxe: info: Extracting libsvn_fs-1.dll. #15 out of #31
fpcupdeluxe: info: Extracting libsvn_fs_fs-1.dll. #16 out of #31
fpcupdeluxe: info: Extracting libsvn_fs_x-1.dll. #17 out of #31
fpcupdeluxe: info: Extracting libsvn_fs_util-1.dll. #18 out of #31
fpcupdeluxe: info: Extracting libsvn_ra-1.dll. #19 out of #31
fpcupdeluxe: info: Extracting libsvn_repos-1.dll. #20 out of #31
fpcupdeluxe: info: Extracting libsvn_subr-1.dll. #21 out of #31
fpcupdeluxe: info: Extracting libsvn_wc-1.dll. #22 out of #31
fpcupdeluxe: info: Extracting libapr-1.dll. #23 out of #31
fpcupdeluxe: info: Extracting libaprutil-1.dll. #24 out of #31
fpcupdeluxe: info: Extracting msvcp100.dll. #25 out of #31
fpcupdeluxe: info: Extracting msvcr100.dll. #26 out of #31
fpcupdeluxe: info: Extracting APR License.txt. #27 out of #31
fpcupdeluxe: info: Extracting APR Util License.txt. #28 out of #31
fpcupdeluxe: info: Extracting OpenSSL License.txt. #29 out of #31
fpcupdeluxe: info: Extracting Subversion License.txt. #30 out of #31
fpcupdeluxe: info: Extracting ZLib License.txt. #31 out of #31
fpcupdeluxe: info: FPCNativeInstaller (DownloadSVN): SVN download and unpacking ok. Not going to search SVN client itself in C:\Laz2\fpcbootstrap\svn\
fpcupdeluxe: info: FPCNativeInstaller (GetModule: FPC): Start checkout/update of FPC sources.
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
svn: E155007: 'C:\Laz2\fpcsrc' is not a working copy
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
svn: E155007: 'C:\Laz2\fpcsrc' is not a working copy
fpcupdeluxe: info: Directory C:\Laz2\fpcsrc is not an SVN repository (or a repository with the wrong remote URL).
fpcupdeluxe: info: FPCNativeInstaller (DownloadFromSVN: FPC): Creating directory C:\Laz2\fpcsrc for SVN checkout.
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
svn: E155007: 'C:\Laz2\fpcsrc' is not a working copy
fpcupdeluxe: info: FPCNativeInstaller (DownloadFromSVN: FPC): Running SVN checkout or update.
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
svn: E155007: 'C:\Laz2\fpcsrc' is not a working copy
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
svn: E155007: 'C:\Laz2\fpcsrc' is not a working copy
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "https://svn.freepascal.org/svn/fpc/trunk/" "C:\Laz2\fpcsrc" (working dir: )
svn: E175012: Connection timed out
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "https://svn.freepascal.org/svn/fpc/trunk/" "C:\Laz2\fpcsrc" (working dir: )
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy 'C:\Laz2\fpcsrc' locked.
svn: E155004: 'C:\Laz2\fpcsrc' is already locked.
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\Laz2\fpcsrc" (working dir: )
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\Laz2\fpcsrc" (working dir: )
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "C:\Laz2\fpcsrc" (working dir: )
svn: E175012: Connection timed out
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "https://svn.freepascal.org/svn/fpc/trunk/" "C:\Laz2\fpcsrc" (working dir: )
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy 'C:\Laz2\fpcsrc' locked.
svn: E155004: 'C:\Laz2\fpcsrc' is already locked.
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\Laz2\fpcsrc" (working dir: )
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "C:\Laz2\fpcsrc" (working dir: )
svn: E175012: Connection timed out
Executing: C:\Laz2\fpcbootstrap\svn\bin\svn.exe "info" "C:\Laz2\fpcsrc" (working dir: )
Path: fpcsrc
Working Copy Root Path: C:\Laz2\fpcsrc
URL: https://svn.freepascal.org/svn/fpc/trunk
Relative URL: ^/trunk
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 39572
Node Kind: directory
Schedule: normal

fpcupdeluxe: info: FPCNativeInstaller (DownloadFromSVN: FPC): SVN gave error code: 1

fpcupdeluxe: info: FPCNativeInstaller (DownloadFromSVN: FPC): SVN gave error message: Path: fpcsrc
Working Copy Root Path: C:\Laz2\fpcsrc
URL: https://svn.freepascal.org/svn/fpc/trunk
Relative URL: ^/trunk
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 39572
Node Kind: directory
Schedule: normal


fpcupdeluxe: info: FPCNativeInstaller (GetModule: FPC): FPC was at: failure
fpcupdeluxe: info: FPCNativeInstaller (GetModule: FPC): FPC is now at revision: rking
fpcupdeluxe: ERROR: FPCNativeInstaller (GetModule: FPC): Checkout/update of FPC sources failure.


ERROR: Fpcupdeluxe fatal error !

I have tried using both the 32-bit and 64-bit versions of the latest release, as well as 64-bit versions of a few older versions, and disabling antivirus / etc just in case. Windows 10 Pro. Always fails at this point.

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Fpcupdeluxe
« Reply #887 on: August 06, 2018, 03:17:35 pm »
What means fail at this point? There is no message?

Edit: Sorry on my mobile i was not able to scoll, so i didn't see the messages
« Last Edit: August 06, 2018, 05:47:01 pm by af0815 »
regards
Andreas

soerensen3

  • Full Member
  • ***
  • Posts: 213
Re: Fpcupdeluxe
« Reply #888 on: August 06, 2018, 03:34:39 pm »
It gives several svn errors.
Quote
svn: E175012: Connection timed out
But before it downloads svn so there seems to be an internet connection.
Quote
svn: E155004: Working copy 'C:\Laz2\fpcsrc' locked.
I don't work with svn, only with git but maybe it does not have access to the folder (Maybe because you ran the installer as an admin before and now you don't? But this is only guessing!)
Generally it is really a bad idea to install anything in the root dir of C which is probably your system drive because of access rights. Maybe you should try again in your user folder?
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Fpcupdeluxe
« Reply #889 on: August 06, 2018, 05:58:20 pm »
look if c:\Laz2 you have all rights

what is in c:\Laz2\fpcsrc - are the sources inside or not ?

If yes C:\Laz2\fpcbootstrap\svn\bin\svn.exe update inside the c:\Laz2\fpcsrc should work
I think svn cannot access the reposotiry because the messsage svn: E175012: Connection timed out is raised - this can be a problem on the server, the connection or a firewall is blocking

------
I have normaly not such troubles under Win10/64/pro. I create the directory, gvive authenticated users all right to this dir and start fpcupdeluxe from this dir NOT as administrator.

--
Quote
Generally it is really a bad idea to install anything in the root dir of C which is probably your system drive because of access rights.
He is not using the root dir, but you have to create the correct rioghts for c:\Laz2.
   
« Last Edit: August 06, 2018, 06:04:57 pm by af0815 »
regards
Andreas

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Fpcupdeluxe
« Reply #890 on: August 06, 2018, 07:09:11 pm »
Hello.

Just looking at processutils unit, and this code
looks dodgy:

Code: Pascal  [Select][+][-]
  1.    if (Assigned(OnError) or Assigned(OnErrorM)) then
  2.             OnError(Self,false)
  3.           else
  4.             OnErrorM(Self,false);
  5.           exit;

If onerror is not  assigned, but onerrorm is assigned, then onerror is called nevertheless. I think it is a wrong copy and paste from similar code further down the line.

This piece of code is just below the
Code: Pascal  [Select][+][-]
  1.  // Avoid unpredictable behaviour as well as
  2.  // OSX bug 26706 (fixed in FPC trunk)

comment

BUMP

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #891 on: August 06, 2018, 10:01:50 pm »
@marcov: still 15000km from home !

soerensen3

  • Full Member
  • ***
  • Posts: 213
Re: Fpcupdeluxe
« Reply #892 on: August 07, 2018, 12:25:34 am »
He is not using the root dir, but you have to create the correct rioghts for c:\Laz2.
Well the folder Laz2 is in the root dir. That's what I meant. It's better to use your home folder. You don't mess with your system folders and you don't need to set any rights and you can simply copy it with your user folder when migrating to another system.

According to this it _should_ be port 443:
https://stackoverflow.com/questions/7249097/what-ports-need-to-be-open-for-tortoisesvn-to-authenticate-clear-text-and-comm
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

hayanninja

  • New Member
  • *
  • Posts: 45
Re: Fpcupdeluxe
« Reply #893 on: August 08, 2018, 11:17:09 am »
Tried checking permissions etc, didn't make a difference. But I did try using Git rather than SVN source, and it worked.

Nonetheless, it appears that when using Git, the only option is to install trunk. Which works, but it seems to have a couple of nasty bugs, and I'd rather go back to 1.8.4 / 3.0.4 (but keep fpcupdeluxe involved, for easy install of cross compilers). Is there any way around that?

Re: use of homefolder, if I get a new computer or reformat, I prefer to set everything up from scratch again anyway. A bit less time efficient, I know, but I just feel it's a bit cleaner.
« Last Edit: August 12, 2018, 10:04:25 pm by hayanninja »

hayanninja

  • New Member
  • *
  • Posts: 45
Re: Fpcupdeluxe
« Reply #894 on: August 13, 2018, 09:49:42 pm »
Okay, so I've looked into this a bit more.

It appears that when SVN times out, it's fetched an incomplete copy of the FPC source code.

I tried manually checking out the repos using TortoiseSVN (yuck, it forces integration into Windows Explorer. I am definitely removing this as soon as I no longer need it). I notice that it'll work, usually for a minute or two (in the best case it worked for 5-6 mins) before the transfer rate will drop to 0 and no progress will occur.

By cancelling this, (if nesseccary) doing a clean with "break write locks" enabled, and then trying to update the repo from the remote (<--- may be git-specific terminology here, I'm not familiar with SVN), repeatedly, I can eventually get the whole repo downloaded. I've gotten this to the point I have the full FPC source now, and FpcUpDeluxe will properly build FPC (before running into the same timeout error while setting up Lazarus). If I continue this, I should eventually be able to download them.

Unrealistic suggestion: According to Google, SVN is known to have these kind of issues in general for some people. FPC and Lazarus should move to a better source control, like Git.

More realistic suggestion: Lazarus and FPC do already have a GitHub mirror. If the devs can be convinced to actually put the proper release tags on that repo (or maybe they are there and I just overlooked them), FpcUpDeluxe just needs to support getting specific branches / tags from Git. Maybe it already does even, and it just needs options for the specific versions.

Even more realistic suggestion: Make FpcUpDeluxe detect the "timeout error" message and just try checkout again if it happens. Perhaps give up if it's happening repeatedly with no progress being made.

Best suggestion but completely outside this community's control: SVN need to fix their shit!

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Fpcupdeluxe
« Reply #895 on: August 13, 2018, 11:09:43 pm »
You can use a git repro with fpcupdeluxe  too. There is a git mirror from Graeme, synced every 10 mins IMHO.
regards
Andreas

hayanninja

  • New Member
  • *
  • Posts: 45
Re: Fpcupdeluxe
« Reply #896 on: August 14, 2018, 12:45:23 am »
You can use a git repro with fpcupdeluxe  too. There is a git mirror from Graeme, synced every 10 mins IMHO.

Indeed, and I was able to install Trunk using it. However, the Git repo itself appears to lack the tags for specific versions (other than trunk), except on some really outdated versions, so short of finding the commit IDs themself I don't think there'd be any way to make use of that? At this point, I want to try the fixes branch, and if that still has the problems I'm having with Trunk, then switch to stable; while keeping use of fpcupdeluxe for easy installation of cross-compilers / updating.

It looks like this way of manually repeatedly doing checkouts with TortoiseSVN should work for getting a base version of the repo, and hopefully there won't be too many problems after that. (I suspect the issue could similarly be solved by repeatedly running FpcUpDeluxe until everything works, too, but this way gives a bit more useful feedback.) EDIT: Confirmed, successfully installed 1.8.5 / 3.0.5 this way.
« Last Edit: August 14, 2018, 04:42:40 am by hayanninja »

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Fpcupdeluxe
« Reply #897 on: August 14, 2018, 07:18:47 am »
GIT is not SVN and verce visa. The systems are to different. I think this is the problem for fpcupdeluxe, he cannot handle the GIT repro like a svn repro. The branching is different and not done in the mirrored GIT repros of freepascal.
regards
Andreas

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #898 on: August 14, 2018, 01:55:12 pm »
SVN timeouts can also be caused by older SVN clients.

By default, fpcupdeluxe uses the SVN client that is available on the system.

I have added the option (Windows only) to force fpcupdeluxe to download and use its own SVN client. Perhaps this will help prevent time-outs. Feel free to try this pre-release.

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.6.1h

See checkboxes under Setup+ to be able to force the use of a local SVN client !

MISV

  • Hero Member
  • *****
  • Posts: 783
Re: Fpcupdeluxe
« Reply #899 on: August 15, 2018, 10:01:41 am »
my problem installing virtualtreeviewnew on a fresh 64bit/cocoa trunk has returned (lclextensions can not find include file)

posted at http://forum.lazarus.freepascal.org/index.php?topic=42226

 

TinyPortal © 2005-2018