Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-09

Which fpc/lazarus svn to use?

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kjow

Hi all,

I never understood which svn to download for stable "homemade buildings".

About trunk:

FPC -> http://svn.freepascal.org/svn/fpc/trunk/
Lazarus -> http://svn.freepascal.org/svn/lazarus/trunk/

About stable tree, which?
FPC:
http://svn.freepascal.org/svn/fpc/branches/fixes_2_6/ http://svn.freepascal.org/svn/fpc/branches/fixes_2_6_0/ http://svn.freepascal.org/svn/fpc/tags/release_2_6_2/

Lazarus:
http://svn.freepascal.org/svn/lazarus/branches/fixes_1_0/ http://svn.freepascal.org/svn/lazarus/branches/fixes_1_2/ http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0/ http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_0_12/ http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_1_99pre/

...and then, when a new version is released, I need to download an other svn url, deleting the old one? Can I upgrade?

Is there something similar to trunk tree (only one url) that is always updated to the latest revision/version?

Anyway, I'm under Win8 and FPC trunk tree has no problems (ok, with FPC revs <= r25566) and i386-win32, x86_64-win64, arm-android, arm-linux.

Trying to build all the three FPC svn above (fixes_2_6 or fixes_2_6_0 or release_2_6_2), it works only with i386-win32. If I try x86_64-win64 I get these errors:

...
...
...
make[4]: Leaving directory
`c:/Develop4/fpc/svn_sources/fpc_2.6.x_src/packages/p aszlib'
make -C fpmkunit bootstrap
make[4]: Entering directory
`c:/Develop4/fpc/svn_sources/fpc_2.6.x_src/packages/ fpmkunit'
c:/Develop4/fpc/svn_sources/fpc_2.6.x_src/compiler/ppc.exe src/fpmkunit.pp -n -F
uc:/Develop4/fpc/svn_sources/fpc_2.6.x_src/rtl/units/i386-win32 -Fuc:/Develop4/f
pc/svn_sources/fpc_2.6.x_src/packages/hash
-Fuc:/Develop4/fpc/svn_sources/fpc_2.
6.x_src/packages/paszlib
-Fuc:/Develop4/fpc/svn_sources/fpc_2.6.x_src/packages/f cl-process -dNO_UNIT_PROCESS -dNO_UNIT_ZIPPER -FUunits_bs/i386-win32 fpmkunit.pp(437,17) Error: Forward declaration not solved "constructor TPackageV
ariant.Create(TCollection);"
fpmkunit.pp(438,16) Error: Forward declaration not solved "destructor TPackageVa
riant.Destroy;"
fpmkunit.pp(452,14) Error: Forward declaration not solved "TPackageVariants.GetA
ctivePackageVariant:TPackageVariant;"
fpmkunit.pp(453,14) Error: Forward declaration not solved "TPackageVariants.GetD
efaultPackageVariant:TPackageVariant;"
fpmkunit.pp(454,15) Error: Forward declaration not solved "TPackageVariants.SetA
ctivePackageVariantName(AnsiString);"
fpmkunit.pp(455,15) Error: Forward declaration not solved "TPackageVariants.SetD
efaultPackageVariantName(AnsiString);"
fpmkunit.pp(457,14) Error: Forward declaration not solved "TPackageVariants.GetO
wner:TPersistent;"
fpmkunit.pp(459,14) Error: Forward declaration not solved "TPackageVariants.Add(
AnsiString):TPackageVariant;"
fpmkunit.pp(7319) Fatal: There were 8 errors compiling module, stopping Fatal: Compilation aborted
make[4]: *** [bootstrap] Error 1
make[4]: Leaving directory
`c:/Develop4/fpc/svn_sources/fpc_2.6.x_src/packages/f pmkunit'
make[3]: *** [fpmkunit_bootstrap] Error 2
make[3]: Leaving directory
`c:/Develop4/fpc/svn_sources/fpc_2.6.x_src/packages' make[2]: *** [packages_all] Error 2
make[2]: Leaving directory `c:/Develop4/fpc/svn_sources/fpc_2.6.x_src' make[1]: *** [build-stamp.x86_64-win64] Error 2
make[1]: Leaving directory `c:/Develop4/fpc/svn_sources/fpc_2.6.x_src' make: *** [crossall] Error 2

Thank you and best regards,

Kjow
www.kjow.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130927/32eb7ab8/attachment.html>

Reply by email

Mattias Gaertner
to Kjow
Show quoted text 8 lines
Hi all, I never understood which svn to download for stable "homemade buildings". About trunk: FPC -> http://svn.freepascal.org/svn/fpc/trunk/ Lazarus -> http://svn.freepascal.org/svn/lazarus/trunk/

That's the head of development. They are not stable.

Show quoted text 5 lines

fixes_2_6 is release_2_6_2+bug fixes
It depends on your definition of "stable" which one you prefer.

fixes_1_0 is 1.0.12+bug fixes

fixes_1_2 is an alpha version. Somewhat more stable than trunk.

...and then, when a new version is released, I need to download an other svn url, deleting the old one? Can I upgrade?

Yes. Or you can switch (svn switch newurl).

Is there something similar to trunk tree (only one url) that is always updated to the latest revision/version?

trunk is always the latest revision.

Mattias

Reply by email

Kjow
to Mattias Gaertner

2013/9/27 Mattias Gaertner

That's the head of development. They are not stable.

I'm sorry... I didn't specified this.
It was taken just as example.

Show quoted text 5 lines
> Is there something similar to trunk tree (only one url) that is always > updated to the latest revision/version? trunk is always the latest revision.

Oops, I'm sorry again. I meant if there is something like svn url, but about stable tree. Anyway you already answered to this.

Thank you for the reply!
Best Regards

Kjow
www.kjow.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130927/7f9416f0/attachment.html>

Reply by email

Reinier Olislagers
to Kjow: I never understood which svn to download for stable "homemade buildings". About trunk:…
Kjow wrote
I never understood which svn to download for stable "homemade buildings".

I'll list my preferences below ;)

FPC trunk right now is not terribly stable because of the big unicode changes coming in. That said, I do use it myself for FPC development/patches, and hobbyist projects. In case of problems either revert to a known working revision or just use a downloaded stock Laz 1.0.12+FPC 2.6.2 combination that I have installed anyway. I use fpcup so I can fairly easily manage multiple independent Laz installs but I might have mentioned that before ;)

For home use, I would definitely use Laz trunk. In general it's quite stable, and sees a lot of improvements and fixes.

If you don't choose FPC trunk I would choose this one as it gets fixes over existing stable FPC 2.6.x (currently FPC 2.6.2) and therefore should be more bug free.

Show quoted text 5 lines

I'd just use trunk.

...and then, when a new version is released, I need to download an other svn url, deleting the old one?

Well.... yes, that is an option. See below though.

Can I upgrade?

(untested, by memory) you could do an svn export of your existing directory to a new dir, then delete the old one (or a more hackish way that avoids copying: remove all .svn subdirs and any other svn files in your currerent directory).

Now you probably have most of the files, but you need to get the svn repo info/metadata as well as all updates/deletions/additions. do an svn checkout for the new url specifying the new directory. You probably will need to use --force or something as it will complain about the directory already existing, being non-empty etc.

Then do an svn update for good measure. Shouldn't really be necessary, but it can help.

Is there something similar to trunk tree (only one url) that is always updated to the latest revision/version?

Per definition trunk is always updated.
However, one of the *fixes branches would be an option if you want to get new fixes and less chances of bugs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130928/a9b3a3f0/attachment.html>

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 15 lines
[...] > ...and then, when a new version is released, I need to download an > other svn url, deleting the old one? Well.... yes, that is an option. See below though. > Can I upgrade? (untested, by memory) you could do an svn export of your existing directory to a new dir, then delete the old one (or a more hackish way that avoids copying: remove all .svn subdirs and any other svn files in your currerent directory). Now you probably have most of the files, but you need to get the svn repo info/metadata as well as all updates/deletions/additions. do an svn checkout for the new url specifying the new directory. You probably will need to use --force or something as it will complain about the directory already existing, being non-empty etc.

No.
A svn checkout will download all files.
If you do a checkout always start with an empty directory. Otherwise you merge, for example renamed files.

Either download everything with svn checkout or use svn switch to switch to another branch.

Mattias

Reply by email

Sven Barth
to Reinier Olislagers: I'll list my preferences below ;) FPC trunk right now is not terribly stable because of…
Reinier Olislagers wrote 9 lines
On 27/09/2013 22:30, Kjow wrote: > I never understood which svn to download for stable "homemade buildings". I'll list my preferences below ;) > > About trunk: > > FPC -> http://svn.freepascal.org/svn/fpc/trunk/ FPC trunk right now is not terribly stable because of the big unicode changes coming in.

Not terribly stable?! There might have been a short problematic phase after the merge of the cpstrrtl branch, but we're back on track again. The instable phase after the merge of the cpstrnew branch was much longer...

Regards,
Sven

Reply by email