Recent

Author Topic: Build FPC from SVN  (Read 3415 times)

guest63552

  • Guest
Build FPC from SVN
« on: January 15, 2019, 09:35:12 am »
Instaled FPC 3.0.4.

Following:
http://wiki.lazarus.freepascal.org/Debian_Packaging

svn checkout http://svn.freepascal.org/svn/fpcbuild/trunk fpcbuil
cd fpcbuild
make deb

! /bin/echo "Debian version (3.1.1) is not correct, expect 3.3.1"
Debian version (3.1.1) is not correct, expect 3.3.1
make: *** [Makefile:2682: debcheck] Error 1

What is wrong here?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Build FPC from SVN
« Reply #1 on: January 15, 2019, 10:27:05 am »
That is the instruction for making debian packages. My guess is that you need to edit those files to match your checkout, since they are only updated around release time.

I always just build FPC, without making debian packages (search for "freepascal buildfaq").

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: Build FPC from SVN
« Reply #2 on: January 15, 2019, 01:27:05 pm »
It also refers to an old version of trunk. The current trunk is 331, not 311. The RC for 320 is branched.
So if you refer to 3.1.1. you are two whole versions off.
Specialize a type, not a var.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Build FPC from SVN
« Reply #3 on: January 15, 2019, 02:30:46 pm »
It also refers to an old version of trunk. The current trunk is 331, not 311. The RC for 320 is branched.
So if you refer to 3.1.1. you are two whole versions off.

He might have the right checkout, it might just not be updated yet, as there is nothing released from that branch.

guest63552

  • Guest
Re: Build FPC from SVN
« Reply #4 on: January 15, 2019, 03:08:02 pm »
My guess is that you need to edit those files to match your checkout, since they are only updated around release time.

I suppose it is pointless to make a bugreport about and disrupt that regular interval to update require file... I would need that during weekend to perform some regression test with latest SVN version on clean distro and then I may fix that, if multiple files need to be fixed....

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Build FPC from SVN
« Reply #5 on: January 16, 2019, 04:10:47 pm »
While this is not rigorously done on development branches, it won't hurt either, I tried to up the version number in fpcbuild's repo changelog. Seems that is parsed to create the version number for the package.


 

TinyPortal © 2005-2018