Recent

Author Topic: fpcup 3.1.1 Update  (Read 136875 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #165 on: September 30, 2016, 08:07:53 am »
Can reproduce your problem.
Will update fpc(laz)up shortly !

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: fpcup 3.1.1 Update
« Reply #166 on: September 30, 2016, 08:27:20 am »
I also see fpclazup tries to compile the fpcbootstrap 2.6 with a ppc version 3.0.0 (located in fpcbootstrap). This also results in an error (previous version can't be compiled with later versions).

(I got a TEXTREC error somewhere, don't have the logs at the moment)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #167 on: September 30, 2016, 09:00:15 am »
You're right.
Fixed. Updated.
Please test.

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: fpcup 3.1.1 Update
« Reply #168 on: September 30, 2016, 10:10:06 am »
Works now for fpclaz_stable 32bit Windows.

Just curious... are you using a bootstrap FPC 3.0.0 now to compile FPC 3.0.0 stable in 32bit (Windows) ?

Shouldn't FPC always be compiled by an earlier version or is compiling with the same version allowed/supported ?

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: fpcup 3.1.1 Update
« Reply #169 on: September 30, 2016, 10:10:24 am »
Hi

running mysettings-fpcup-trunklaz

Code: [Select]
C:\fpcupsept2016\bin\i386-win32>fpcup --inifile=mysettings.ini --inisection=TrunkLaz
Fpcup, a FPC downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

Fpcup will download the FPC sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date FPC installation.

Version: based on commit fpcup001 (20150210)
Build date: 2016/09/30 08:57:28
Compiled for CPU: i386 on win32

fpcup: info: 30/09/2016 09:07:34: fpcup finished.
An unhandled exception occurred at $0041B8B0:
EStringListError: List index (-1) out of bounds
  $0041B8B0
  $0040483E
  $00405CB5


C:\fpcupsept2016\bin\i386-win32>pause
Press any key to continue . . .
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #170 on: October 01, 2016, 07:17:03 am »
@rvk

The original fpcup used the most recent bootstrap compiler available online. And because of this, OVERRIDEVERSIONCHECK was often needed, due to wrong bootstrap versions.

Fpc(laz)up now uses the FPC makefile itself to determine the correct bootstrap compiler. E.g. the makefile of 3.0.0 contains:
Quote
REQUIREDVERSION=2.6.4
# Accept 3.0.0, without requiring to using OVERRIDEVERSIONCHECK=1
# 3.0.0 should become REQUIREDVERSION after 3.0.0 final release
# and 2.6.4 should be moved to REQUIREDVERSION2
REQUIREDVERSION2=3.0.0
This means both 2.6.4 and 3.0.0 are  considered ok.
If this info is not available, fpc(laz)up  follows the normal  rules as you already mentioned.

@josh:
I will investigate.
But if you want something with Lazarus (TrunkLaz), you need fpclazup !

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #171 on: October 23, 2016, 02:48:20 pm »
Hi!

I'd like this:

Lazarus x64 (+x86 crosscompile) stable + fixes
with
fpc stable + fixes

What is the right command line of this?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #172 on: October 23, 2016, 02:59:17 pm »
Hmmm ... you need to supply more info.

System. Win ? Linux ? OSX ?

Combi's ?
Laz-stable+FPC-stable.
Laz-fixes+FPC-fixes.

Or also ?
Laz-stable+FPC-fixes.
Laz-fixes+FPC-stable.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #173 on: October 23, 2016, 03:03:46 pm »
Hi!

OS is Windows.

I think all users wanted this, and only this - for stable environment.

Lazarus x64 stable + fixes (+ x86 crosscompile)
and
fpc stable (that version, which shipped it with Lazarus) + fixes (+ x86 crosscompile)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #174 on: October 23, 2016, 03:38:31 pm »
Still not clear ... but however.
It is ill-adviced to use a Lazarus 64bit on Windows.
Standard practise is to use 32bit Lazarus and cross-compile / debug your app towards 64bit.

But again, here you go:

Put your fpclazup.exe somewhere on your system (lets propose in c:\fpclazup). Get a command prompt inside this dir. Run:

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZStable" --fpcURL="stable" --lazURL="stable" --verbose --getfullrepo

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZFixes" --fpcURL="fixes" --lazURL="fixes" --verbose --getfullrepo

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZTrunk" --fpcURL="trunk" --lazURL="trunk" --verbose --getfullrepo

However, I prefer using batchfiles as available in the bin-dir of fpcup:
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/bin/i386-win32
« Last Edit: October 23, 2016, 03:41:25 pm by DonAlfredo »

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #175 on: October 23, 2016, 04:23:11 pm »
Hi!

Thanks for the answer!

Quote
It is ill-adviced to use a Lazarus 64bit on Windows.
Standard practise is to use 32bit Lazarus and cross-compile / debug your app towards 64bit.

Yeah, but I want to help for you, because x86 version of your app never worked correctly, I always got crash when I tried it, and I wrote it many times, for example here: http://forum.lazarus.freepascal.org/index.php/topic,27211.msg222830.html#msg222830

Okay, I need all the three lines what you wrote step by step?
« Last Edit: October 23, 2016, 04:27:06 pm by totya »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #176 on: October 23, 2016, 04:37:15 pm »
The first line will give you FPC stable with Lazarus stable and a link on your desktop to start this combi.
The second line will give you FPC fixes with Lazarus fixes and a link on your desktop to start this combi.
The third line will give you FPC trunk with Lazarus trunk and a link on your desktop to start this combi.

Occasionally, I see the error you have reported. I think it has to do with Windows not liking long running processes that block.
Unfortunately, I cannot reproduce in such a way that I can debug.
But it does no harm.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #177 on: October 23, 2016, 05:31:51 pm »
Thanks fo these informations again!

Quote
But it does no harm.

When the error messages window appear, update process paused, it isn't good game pressing always the OK button to continue.

I will try the second line now...

I got many error messages:

Quote
fpclazup: info: Available bootstrapper has correct version !
fpclazup: info: Get the right binutils for intermediate bootstrap compiler.
fpclazup: info: Make path C:\FPCLAZFixes\fpcbootstrap does not have (all) binutils. Going to download needed binutils.
fpclazup: ERROR: Error downloading binutil: cpp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: dlltool.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: fp32.ico to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gcc.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: grep.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: windres.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: windres.h to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: zip.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: ar.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: as.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: cmp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: cp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: diff.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gdate.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gdb.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.

and so on...
« Last Edit: October 23, 2016, 08:04:19 pm by totya »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #178 on: October 23, 2016, 05:41:52 pm »
Seems that the svn website of FPC is very hard to reach at the moment.
So, the downloads will not succeed.

Just retry ...
Or check manually:
http://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #179 on: October 23, 2016, 06:00:22 pm »
Hi!

Few restart is failed too... but when I download manually with TortoiseSVN (svn update), these files succesfully downloaded immediately without any problem, so I think something wrong with your code.

Edit:
I got some error messages too, see attached file.
« Last Edit: October 23, 2016, 06:18:31 pm by totya »

 

TinyPortal © 2005-2018