Recent

Author Topic: Updating Debian / Ubuntu fpc Package  (Read 325 times)

bodo-hugo-barwich

  • New member
  • *
  • Posts: 7
Updating Debian / Ubuntu fpc Package
« on: October 16, 2020, 11:50:04 pm »
I'm trying to build my Automated Tests for my FreePascal Library with
GitHub Workflow and also with Travis-CI

The Tests mostly run on Ubuntu Images.

In most Repositories there is an fpc Compiler Package included.

fp-compiler-3.0.4



Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64


as seen at:
GitHub Automated Testing Workflow

but with the new FreePascal Release I noticed there have been a lot of changes that require code changes.

So I wonder who does the Package Updates and whether there are any Updates scheduled?

PierceNg

  • New Member
  • *
  • Posts: 31
Re: Updating Debian / Ubuntu fpc Package
« Reply #1 on: October 17, 2020, 04:38:10 am »
Why not use the Sourceforge .deb packages directly?

Since you are CI'ing a library and running the fptest driver program in console mode, with the FPC .deb packages, you also avoid installing Lazarus with all its attendant X11 and related libraries, meaning your CI jobs will run faster - from your example your pipeline run time is dominated by the 'install FPC' step.

I am using a Docker image built with the FPC .deb files with Drone CI.

winni

  • Hero Member
  • *****
  • Posts: 1904
Re: Updating Debian / Ubuntu fpc Package
« Reply #2 on: October 17, 2020, 11:40:03 am »
Hi!

Here is the official page about changes and new features in fpc 3.2.0

https://wiki.freepascal.org/FPC_New_Features_3.2.0

Winni

PascalDragon

  • Hero Member
  • *****
  • Posts: 2262
  • Compiler Developer
Re: Updating Debian / Ubuntu fpc Package
« Reply #3 on: October 17, 2020, 12:04:01 pm »
So I wonder who does the Package Updates and whether there are any Updates scheduled?

The packages that are part of the official distribution servers are done by those distributions.

We provide distribution independant packages with simple installer scripts however (see here).

bodo-hugo-barwich

  • New member
  • *
  • Posts: 7
Re: Updating Debian / Ubuntu fpc Package
« Reply #4 on: October 18, 2020, 01:07:04 pm »
Why not use the Sourceforge .deb packages directly?

Since you are CI'ing a library and running the fptest driver program in console mode, with the FPC .deb packages, you also avoid installing Lazarus with all its attendant X11 and related libraries, meaning your CI jobs will run faster - from your example your pipeline run time is dominated by the 'install FPC' step.

I am using a Docker image built with the FPC .deb files with Drone CI.

Thank you for taking interest in this issue.

The problem about downloading .deb files directly and install them is that Travis-CI blocks external downloads. (I think for security reasons). So the build hangs in the download forever until its finally killed by the CI Engine.

I also noticed that the installation is quite lengthly but I think there is no way reusing the created images with the personal account.

But I will also take a look at "Drone CI" thank you for the hint.

bodo-hugo-barwich

  • New member
  • *
  • Posts: 7
Re: Updating Debian / Ubuntu fpc Package
« Reply #5 on: October 18, 2020, 01:11:51 pm »
So I wonder who does the Package Updates and whether there are any Updates scheduled?

The packages that are part of the official distribution servers are done by those distributions.

Yes, I understand this procedure.
I was wondering whether someone of the FreePascal Team is maintainer of the Debian / Ubuntu Packages as part of the "Pascal Packaging Team
Maintainers List

PascalDragon

  • Hero Member
  • *****
  • Posts: 2262
  • Compiler Developer
Re: Updating Debian / Ubuntu fpc Package
« Reply #6 on: October 18, 2020, 01:20:00 pm »
I was wondering whether someone of the FreePascal Team is maintainer of the Debian / Ubuntu Packages as part of the "Pascal Packaging Team
Maintainers List

Nope, none of the core devs are Debian package maintainers.

 

TinyPortal © 2005-2018