Recent

Author Topic: [SOLVED] Problem installing with FPCUpDeLuxe  (Read 9140 times)

AL

  • Sr. Member
  • ****
  • Posts: 264
[SOLVED] Problem installing with FPCUpDeLuxe
« on: March 23, 2020, 11:26:52 pm »
I had laz 2.1.0 and fpc 3.3.1 running fine on a VM Mojave.
To get a fixed bug I updated to Laz Trunk and got an error.
I then tried to downgrade back to 2.1.0 and got the same error.
The error is:
./lazbuild --lazarusdir=. --build-ide=
using config file /Users/al/Laztrunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/al/Laztrunk/config_lazarus" -> "/Users/al/Laztrunk/config_lazarus"
Error: (lazbuild) Broken dependency: IDEIntf 1.0->BuildIntf
make: *** [useride] Error 3

I also tried a totally new installation in a new directory and got the same error.

How can I resolve this?

Thank you
« Last Edit: March 31, 2020, 08:48:03 pm by AL »
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

ASBzone

  • Hero Member
  • *****
  • Posts: 733
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Problem installing with FPCUpDeLuxe
« Reply #1 on: March 23, 2020, 11:28:28 pm »
I had laz 2.1.0 and fpc 3.3.1 running fine on a VM Mojave.
To get a fixed bug I updated to Laz Trunk and got an error.


What version of FPCUpDeluxe are you using?
-ASB: https://www.BrainWaveCC.com/

Lazarus v4.3.0.0 (bcf314a670) / FreePascal v3.2.3-46-g77716a79dc (aka fixes)
(Windows 64-bit install w/Win32 and Linux on ARM and x64 cross-compilers via FpcUpDeluxe)

My Systems: Windows 10/11 Pro x64 (Current)

AL

  • Sr. Member
  • ****
  • Posts: 264
Re: Problem installing with FPCUpDeLuxe
« Reply #2 on: March 23, 2020, 11:32:09 pm »
Version 1.6.8b
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

AL

  • Sr. Member
  • ****
  • Posts: 264
Re: Problem installing with FPCUpDeLuxe
« Reply #3 on: March 24, 2020, 02:00:57 am »
Tried a few more times, always the same.
I am stuck.
I could recompile the culprit component, but with 2.1.0 and fpc 3.04 and get Lazarus to start.
But I need 3.3.1 to compile my project so I ask for a 3.3.1 upgrade and back in error.

Any help appreciated.
Can someone please give me a command line to compile the component ? and a command line to rebuild the IDE
 
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

balazsszekely

  • Guest
Re: Problem installing with FPCUpDeLuxe
« Reply #4 on: March 24, 2020, 06:34:19 am »
Hi Al,

In r62794, r62795, and r62796 the IDE interface was refactored. Ideally you should go back to r62793 and stay with that version until things are sorted out.
I don't have Mojave, but I assume svn is still available. Try this:
1. Open a terminal
2. Go to ../fpcupdeluxe/lazarus/ folder
3. svn up -r62793
4. Open fpcupdeluxe, go to setup, check "FPC/Laz rebuild only" or something similar
5. Press only Lazarus

Ps: After everything is done, don't forget to uncheck that checkbox in option

af0815

  • Hero Member
  • *****
  • Posts: 1409
Re: Problem installing with FPCUpDeLuxe
« Reply #5 on: March 24, 2020, 07:46:59 am »
in fpcupdeluxe you can in setup direct pin the svn versions of fpc and Lazarus seperate. Normally i write down my actual working versions before update. So i can went back if somethings goes wrong.
regards
Andreas

balazsszekely

  • Guest
Re: Problem installing with FPCUpDeLuxe
« Reply #6 on: March 24, 2020, 08:32:36 am »
@af0815
Quote
in fpcupdeluxe you can in setup direct pin the svn versions of fpc and Lazarus seperate
Cool! That's even better. The main point is, OP should go back to r. 62793 then rebuild the IDE.

nouzi

  • Sr. Member
  • ****
  • Posts: 329
Re: Problem installing with FPCUpDeLuxe
« Reply #7 on: March 24, 2020, 09:00:16 am »
Hi Al,

In r62794, r62795, and r62796 the IDE interface was refactored. Ideally you should go back to r62793 and stay with that version until things are sorted out.
I don't have Mojave, but I assume svn is still available. Try this:
1. Open a terminal
2. Go to ../fpcupdeluxe/lazarus/ folder
3. svn up -r62793
4. Open fpcupdeluxe, go to setup, check "FPC/Laz rebuild only" or something similar
5. Press only Lazarus

Ps: After everything is done, don't forget to uncheck that checkbox in option
thanks for sher this it work  🥰
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4715
  • I like bugs.
Re: Problem installing with FPCUpDeLuxe
« Reply #8 on: March 24, 2020, 09:56:51 am »
In r62794, r62795, and r62796 the IDE interface was refactored. Ideally you should go back to r62793 and stay with that version until things are sorted out.
I don't know what should be sorted out. I just ran "make clean lazbuild" and it worked without errors.

When using a Lazarus executable built before r62795, rebuilding gives an error.
Then just open components/buildintf/buildintf.lpk in the IDE and you are good to go.
Also see issue :
 https://bugs.freepascal.org/view.php?id=36819
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

balazsszekely

  • Guest
Re: Problem installing with FPCUpDeLuxe
« Reply #9 on: March 24, 2020, 10:12:14 am »
@Juha
Quote
I don't know what should be sorted out. I just ran "make clean lazbuild" and it worked without errors.
I don't have any issues building Lazarus, however OP is using fpcupdeluxe. By "sorted out" I mean until fpcupdeluxe is fixed.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4715
  • I like bugs.
Re: Problem installing with FPCUpDeLuxe
« Reply #10 on: March 24, 2020, 10:33:24 am »
I don't have any issues building Lazarus, however OP is using fpcupdeluxe. By "sorted out" I mean until fpcupdeluxe is fixed.
How does fpcupdeluxe build? Does it not use the Makefile included in Lazarus sources?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

balazsszekely

  • Guest
Re: Problem installing with FPCUpDeLuxe
« Reply #11 on: March 24, 2020, 10:46:10 am »
Quote
How does fpcupdeluxe build? Does it not use the Makefile included in Lazarus sources?
I'm not familiar with the inner-workings of fpcupdeluxe, however the bug report you linked, was filed by the author of fpcupdeluxe, so most likely a fix will be available soon.

nouzi

  • Sr. Member
  • ****
  • Posts: 329
Re: Problem installing with FPCUpDeLuxe
« Reply #12 on: March 24, 2020, 11:01:34 am »
fpcupdeluxe install lazarus out error with revision r62804
Lazarus 2.1.0 r62804 FPC 3.3.1 x86_64-linux-gtk2
Lazarus 2.1.0 r62804 FPC 3.3.1 x86_64-win64-win32/win64
thanks for fix
tested in linux
tested in windows 7
« Last Edit: March 24, 2020, 11:31:39 am by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4715
  • I like bugs.
Re: Problem installing with FPCUpDeLuxe
« Reply #13 on: March 24, 2020, 11:17:02 am »
Quote
How does fpcupdeluxe build? Does it not use the Makefile included in Lazarus sources?
I'm not familiar with the inner-workings of fpcupdeluxe, however the bug report you linked, was filed by the author of fpcupdeluxe, so most likely a fix will be available soon.
I don't think Don Siders is the author of fpcupdeluxe.
Anyway, Mattias added a package link (lpl) file in r62802 which apparently fixed things. I had already forgotten those link files.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

AL

  • Sr. Member
  • ****
  • Posts: 264
Re: Problem installing with FPCUpDeLuxe
« Reply #14 on: March 24, 2020, 02:19:47 pm »
Tried 62804 and got a different error:

Users/al/Lazarus/lazarus/lcl/interfaces/./carbon/carbonbars.pp(16,2) Error: (2023) User defined: only cpu i386 is supported
fpcupdeluxe: Start of compile error summary.
/Users/al/Lazarus/lazarus/lcl/interfaces/./carbon/carbondef.pp(187,1) Fatal: (10026) There were 1 errors compiling module, stopping
(3104) Compiling ./carbon/carbondef.pp
fpcupdeluxe: Start of compile error summary.
Fatal: (1018) Compilation aborted
/Users/al/Lazarus/lazarus/lcl/interfaces/./carbon/carbondef.pp(187,1) Fatal: (10026) There were 1 errors compiling module, stopping
fpcupdeluxe: Start of compile error summary.
Error: /Users/al/Lazarus/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
fpcupdeluxe: Start of compile error summary.
Error: (lazarus) Compile package LCL 2.1: stopped with exit code 1
fpcupdeluxe: Start of compile error summary.
Error: (lazarus) Compile package DebuggerIntf 0.1: terminated
fpcupdeluxe: Start of compile error summary.
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
fpcupdeluxe: Start of compile error summary.
Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
fpcupdeluxe: Start of compile error summary.
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned error code #512
fpcupdeluxe: Done !!

Trying 62793 next

62793 was OK No error.
Thank you all
Will there be an announcement when this is fixed?
« Last Edit: March 24, 2020, 02:28:44 pm by AL »
Laz 3.1, fpc 3.2.2, Win10
Laz 3.1  fpc 3.2.2, MacOS Monterey running on VMWare/Win 10
Laz 3.1  fpc 3.2.2 Ubuntu 20.04

 

TinyPortal © 2005-2018