Recent

Author Topic: fpcup 3.1.1 Update  (Read 98267 times)

josh

  • Hero Member
  • *****
  • Posts: 733
Re: fpcup 3.1.1 Update
« Reply #225 on: November 14, 2016, 06:15:36 pm »
Hi

Installing lazarus fpc for win 32 on win 7 - 64.

I am going to try fpcupdeluxe; and install in c:\development folder (after deleting its content) and use the trunk ++ button.
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.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: fpcup 3.1.1 Update
« Reply #226 on: November 14, 2016, 07:02:35 pm »
Trunk++ is a button with risks ... ;-)
It installs trunk+trunk + a lot of packages ... and these packages can be tricky ... you have been forwarned !

josh

  • Hero Member
  • *****
  • Posts: 733
Re: fpcup 3.1.1 Update
« Reply #227 on: November 14, 2016, 08:48:13 pm »
Hi

I was reeally just checking if deluxe installed in shortcuts for laz; which it did; as I dont want any of the additional packages. I am nw removing the folder again, and will be trying fpclazup again; it may have been just an svn hick up. So will let you know.

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.

tom.chris

  • New member
  • *
  • Posts: 8
Re: fpcup 3.1.1 Update
« Reply #228 on: November 20, 2016, 01:48:40 pm »
I got installed Lazarus 1.7 and FPC 3.1.1 on windows 7 x64 when i use trunk ++
OS : Windows 7 64 bit
Laz: Lazarus 1.6.0 FPC 3.0.0 i386-win32-win32/win64

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: fpcup 3.1.1 Update
« Reply #229 on: January 03, 2017, 12:31:15 pm »
Does old fpclazup still work?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: fpcup 3.1.1 Update
« Reply #230 on: January 03, 2017, 01:56:18 pm »
It should !
Issues encountered while using fpcupdeluxe (based on fpcup) are ported back into fpcup on a regular base.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6993
Re: fpcup 3.1.1 Update
« Reply #231 on: January 03, 2017, 02:07:33 pm »
I played a bit with fpcupdeluxe because of the freebsd crosscompile bugreport on win10/x64

- I get a smartscreen warning. Could be the "downloaded and EXE" status, but could also be the shortcut placed on the desktop (outside of an installer /setup that is probably a suspect action)
- the path (topleft edit box) sometimes is red on startup, sometimes only becomes red after changing something. (add edit.refresh after setting color?)

I select "fixes", i386 and "freebsd" and press "fpc only".

It begins, and downloads a 64-bit 2.6.2 compiler.  (why so ancient?) and checks out 3.0.0 compiler and rtl dirs.

It then builds a 64-bit 3.0.0 compiler (why?), and worse it then also builds the checked out fpc/ (FIXES ) repository with x86_64-win64.

What did I do wrong ? Should I have done install crosscompiler?

I tried that, and that fails as follows:

Quote
[..] Executing : D:\fpcupdeluxe\fpcbootstrap\make.exe "-v" (working dir: )
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
fpcupdeluxe: ERROR: any_freebsd386: searched but did not find any binary utilities !!
fpcupdeluxe: ERROR: Failed to get crossbinutils
fpcupdeluxe: ERROR: any_freebsd386: searched but did not find any library !!
fpcupdeluxe: ERROR: Failed to get crosslibrary
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\units\i386-freebsd
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\rtl\units\i386-freebsd
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\units\x86_64-win64
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\rtl\units\x86_64-win64
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly


rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: fpcup 3.1.1 Update
« Reply #232 on: January 03, 2017, 02:18:22 pm »
It should !
Issues encountered while using fpcupdeluxe (based on fpcup) are ported back into fpcup on a regular base.

Wow I thought it was discontinued! Thanks!

Thaddy

  • Hero Member
  • *****
  • Posts: 7884
Re: fpcup 3.1.1 Update
« Reply #233 on: January 03, 2017, 02:22:43 pm »
It begins, and downloads a 64-bit 2.6.2 compiler.  (why so ancient?) and checks out 3.0.0 compiler and rtl dirs.

That's because:
- only 2.6.X is a bootstrap release available on official websites? Which is supposed to be 2.6.4? But 2.6 is documented?
I often complained about that because there are FPC 3 binaries that are official.
- BigChimp heritage.

I have always found this confusing and have no clue WHY the starting compiler should not be 3.
The rest is unsupported after all. But a 2.6 should be a bootstrap for 3.
Hamlet 1.4 (nothing wrong with the Danish, btw)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6993
Re: fpcup 3.1.1 Update
« Reply #234 on: January 03, 2017, 02:49:08 pm »
It begins, and downloads a 64-bit 2.6.2 compiler.  (why so ancient?) and checks out 3.0.0 compiler and rtl dirs.

That's because:
- only 2.6.X is a bootstrap release available on official websites?

There is a i386-win32 bootstrap for 3.0.0 on FTP:
 932 -rw-r--r--  1 fpc fpc  954217 May 15  2016 i386-win32-ppc386.zip



DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: fpcup 3.1.1 Update
« Reply #235 on: January 03, 2017, 03:17:38 pm »
@marcov
Yes, you should have done install crosscompiler !

In general, fpcupdeluxe is a continuation of fpcup.
And, as correctly stated by Thaddy: its BigChimp heritage.
And so, fpcupdeluxe tries to continue following his rules.

In general:
Fpcupdeluxe needs much more user instruction.
A start of a wiki is there, but very very basic.
Will work on it further.

@marcov
A good wiki should/could  have guided you into using fpcupdeluxe the right way !
Again: work-in-progress.

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: fpcup 3.1.1 Update
« Reply #236 on: January 04, 2017, 08:50:52 am »
Where to get the previous fpcup & fplazup binaries?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1087
Re: fpcup 3.1.1 Update
« Reply #237 on: January 04, 2017, 09:39:41 am »
In the past, the fpc(laz)up binaries were part of a commit. This was plain wrong. So, they have been removed.
Binaries are now a release : https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases
The whole history is available: you can build a desired binary yourself.

Previous source and binaries: https://bitbucket.org/reiniero/fpcup/

rtusrghsdfhsfdhsdfhsfdhs

  • Full Member
  • ***
  • Posts: 162
Re: fpcup 3.1.1 Update
« Reply #238 on: January 04, 2017, 09:40:19 am »
Thanks!  :)

sierdolg

  • New member
  • *
  • Posts: 18
Re: fpcup 3.1.1 Update
« Reply #239 on: February 03, 2017, 01:22:14 pm »
Here's another one with lots of "Error running fpcup. Technical details: ...error executing sequence" errors when trying to install with "any lazURL= directive.

Looking for a way to automate fpc & lazarus' setup altogether with a selection of packages in a reproducible way, I came upon your fpclazup yesterday. Unfortunately, 19 of 20 attempts to bring up lazarus failed, amongst them variations with the default fpcup.ini and --lazURL="trunk|fixes|fixes1.6|stable", or without "--lazURL" specification and different sets of added packages. (As I have captured the respective output, I could supply additional information if necessary.)

Remarkably none of them involved any svn errors, instead of that I mostly got the triple
Code: Pascal  [Select]
  1. fpclazup: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
  2. fpclazup: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
  3. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  4.  
at the end.

So I would ask for a short explanation what this exactly means, i.e. how to track down from these data to the corresponding line in fpcup.ini.

The context is: fpclazup-x86_64-linux, based on commit fpcup016 (20170106) Build date: 2017/01/08 10:44:55 Compiled for CPU: x86_64 on linux, downloaded yesterday.
« Last Edit: February 03, 2017, 01:24:07 pm by sierdolg »