Recent

Author Topic: Online Package Manager  (Read 419703 times)

GetMem

  • Hero Member
  • *****
  • Posts: 3478
Re: Online Package Manager
« Reply #1650 on: July 20, 2019, 11:42:53 am »
GetMem,

The fix for compilation in i386 was applied.

Packages are working. However, we have just one inconvenient issue, which I've posted on Lazarus' list but, as you (all) know much about Packages, maybe can help me:

https://lists.lazarus-ide.org/pipermail/lazarus/2019-July/236725.html

You can update mORMot Packages now, if you want. But would be better to fix this inconvenient before. Thanks.

best regards,
Marcos Douglas
I will add it tomorrow or Monday.  I'm out of office with no PC available.

mdbs99

  • Full Member
  • ***
  • Posts: 143
    • Github
Re: Online Package Manager
« Reply #1651 on: July 20, 2019, 02:09:50 pm »
Quote
Packages are working. However, we have just one inconvenient issue, which I've posted on Lazarus' list but, as you (all) know much about Packages, maybe can help me:

https://lists.lazarus-ide.org/pipermail/lazarus/2019-July/236725.html
It is a bug in Lazarus but it seems that it was fixed by Mattias (see here) — but I haven't tested yet, but I will.

I will add it tomorrow or Monday.  I'm out of office with no PC available.
As we here don't use Lazarus trunk in production but mORMot, I don't know if we keep the current Package implementation, which works but it's showing those Hints by Lazarus when users add mORMot+zcomponent into the same project, or Plan B: remove Conditionals, which add ZeosLib "dynamically" into the Package, and tells users that zcomponent should be included manually if they want to — I prefer last one.

I'm asking Arnaud what he wants. So, don't need to be hurry.  :)

Thank you for your patience.
regards.

PS: I don't see mORMot in http://packages.lazarus-ide.org anymore?
Has it some robot compiling/sending and if something was wrong, it was removed automatically? 

GetMem

  • Hero Member
  • *****
  • Posts: 3478
Re: Online Package Manager
« Reply #1652 on: July 22, 2019, 06:43:25 am »
Quote
I'm asking Arnaud what he wants. So, don't need to be hurry.  :)
OK. I will wait.  :)

Quote
PS: I don't see mORMot in http://packages.lazarus-ide.org anymore?
Has it some robot compiling/sending and if something was wrong, it was removed automatically?
That was my mistake. Sorry for that. I readded the old version.

mdbs99

  • Full Member
  • ***
  • Posts: 143
    • Github
Re: Online Package Manager
« Reply #1653 on: July 22, 2019, 02:02:07 pm »
GetMem,

It's done!  :D
Please, update the sources. Thanks.

GetMem

  • Hero Member
  • *****
  • Posts: 3478
Re: Online Package Manager
« Reply #1654 on: July 22, 2019, 04:30:38 pm »
@mdbs99

Quote
It's done!  :D
Please, update the sources. Thanks.
Thank you. I updated the repository.

avra

  • Hero Member
  • *****
  • Posts: 1599
    • Additional info
Re: Online Package Manager
« Reply #1655 on: July 27, 2019, 01:01:17 am »
PS: (2) Here is a somewhat boring video about the install process: https://www.youtube.com/watch?v=IRJkyiOn3AA
Hopefully during the weekend I will catch time to look and do promised tests.
I didn't say which weekend  ;)

I installed with fpcupdeluxe 202+304 and installed first all internal packages that could be compiled, then started adding OPM packages like first all packages starting with A, then with B, and after I let it install all C packages it has shown "incompatible ppu". As always, and as you can see from the screenshot, it was not a problem with one of the newly installed packages, but with some old one. This time it was not BGRA but Sparta. It happens most often with these 2 packages, but it happened with other packages too. Unfortunately, workaround fix that works each time with 321+203 does not work with 304+202. I had to remove SpartaDockedFormEditor to be able to continue adding packages. Then I can install for some time, and then some other package shows incompatible ppu, I remove it and continue adding packages, and so on and so on... Unlike 321, 304 needs to be patched to avoid "no memory left" - but that's a non-related problem.
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

GetMem

  • Hero Member
  • *****
  • Posts: 3478
Re: Online Package Manager
« Reply #1656 on: July 27, 2019, 09:51:05 am »
@avra

Thanks for testing. Unfortunately I have no idea how to fix this issue, but I will try anyway.  :)  It looks like the internal package system not working properly. I don't think this issue is OPM related, OPM only triggers the error by installing multiple packages.
Can you please check if the same issue persist with Lazarus Trunk/ FPC  3.0.4?  If not, then something has changed in trunk since 2.0.2.

af0815

  • Sr. Member
  • ****
  • Posts: 321
Re: Online Package Manager
« Reply #1657 on: July 27, 2019, 01:14:41 pm »
I haVe seen such errors without OPM. By me it was triggered by changes in chmhelppackage.
regards
Andreas

wp

  • Hero Member
  • *****
  • Posts: 5998
Re: Online Package Manager
« Reply #1658 on: July 27, 2019, 01:50:29 pm »
Which changes? The most recent changes in folder components/chmhelp happened on May 14 (just po files) and April 18 ("IDE: fixed uninitialized result, issue 35411, from Ondrej"), but undone on the same day.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

af0815

  • Sr. Member
  • ****
  • Posts: 321
Re: Online Package Manager
« Reply #1659 on: July 27, 2019, 02:12:49 pm »
I will say, it is mit OPM related. The incompatible ppu error happens without any relationship tp OPM.
regards
Andreas

avra

  • Hero Member
  • *****
  • Posts: 1599
    • Additional info
Re: Online Package Manager
« Reply #1660 on: July 27, 2019, 11:04:56 pm »
Can you please check if the same issue persist with Lazarus Trunk/ FPC  3.0.4?
I just checked and it is there. It looks like it shows at the exact same place as previously shown. If it didn't show Lazarus version then you could think it was the same screenshot.

Workaround I offered does not work on FPC 3.0.x but works on 3.2.0. It might be a weak clue...
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

jmpessoa

  • Hero Member
  • *****
  • Posts: 1406
Re: Online Package Manager
« Reply #1661 on: August 13, 2019, 11:00:15 pm »

Hi, GetMem!

Can you, please,  update t"LAMW" packages to  "version 0.8.5"  ?

ref.   https://github.com/jmpessoa/lazandroidmodulewizard

Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

GetMem

  • Hero Member
  • *****
  • Posts: 3478
Re: Online Package Manager
« Reply #1662 on: August 14, 2019, 07:40:35 am »

Hi, GetMem!

Can you, please,  update t"LAMW" packages to  "version 0.8.5"  ?

ref.   https://github.com/jmpessoa/lazandroidmodulewizard

Thank you!
Done. Thanks for the new version.

patyi

  • Full Member
  • ***
  • Posts: 169
FortesReport CE upgrade please
« Reply #1663 on: August 14, 2019, 06:11:01 pm »
Hi !
Please upgrade FortesReport CE package as it does not work with Lazarus 2.0.5 / FPC 3.0.5 (fixes) installed from OPM.
It works correctly when downloaded and installed latest version from GitHub !

My system is XUbuntu 18.0.4.3 LTS 64bit, Lazarus 2.0.5/FPC 3.0.5 Fixes 64bit, installed with FpcUpDelux, crosscompile for Win32, Win64 and Linux 32.

lainz

  • Hero Member
  • *****
  • Posts: 3179
    • Lainz
Re: Online Package Manager
« Reply #1664 on: August 16, 2019, 01:44:32 am »
Hi @GetMem, can you update BGRAControls and BGRABitmap? i'm not incognito this time  8-)