Lazarus

Installation => Linux => Topic started by: guest63552 on January 15, 2019, 09:35:12 am

Title: Build FPC from SVN
Post by: guest63552 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?
Title: Re: Build FPC from SVN
Post by: marcov 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").
Title: Re: Build FPC from SVN
Post by: Thaddy 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.
Title: Re: Build FPC from SVN
Post by: marcov 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.
Title: Re: Build FPC from SVN
Post by: guest63552 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....
Title: Re: Build FPC from SVN
Post by: marcov 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