Recent

Author Topic: Lazarus 1.6 - 1st Release Candidate  (Read 116400 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 14166
  • Probably until I exterminate Putin.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #135 on: January 06, 2016, 01:37:34 pm »
http://www.freepascal.org/future.var

(two modifications for spelling mistakes since 2007, not the best resource to predict the future)

Then clean it out. Old information is often correct but more often false information. (prepared to help).
Specialize a type, not a var.

guest58172

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #136 on: January 10, 2016, 09:50:30 pm »
After a successful upgrade on linux 64 bit, painful on win32 (had to reinstall everything), now I'm on a linux 32 bit (Mint, where i've also encountered problems while upgrading).

After the upgrade when I try to recompile a project I got the following error:

Quote
Error: There is no method in an ancestor class to be overridden: "constructor Create(TComponent);"

This happens in a simple TAsyncProcess descendant. The problem didn't happen on my other systems.


Maybe unrelated but I receive two warnings when I compile a simple project (new proj, application):

Quote
Avertissements : 2
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure

guest58172

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #137 on: January 10, 2016, 10:31:42 pm »
After a successful upgrade on linux 64 bit, painful on win32 (had to reinstall everything), now I'm on a linux 32 bit (Mint, where i've also encountered problems while upgrading).

After the upgrade when I try to recompile a project I got the following error:

Quote
Error: There is no method in an ancestor class to be overridden: "constructor Create(TComponent);"

Is it normal that the .deb 32 bit and the 64 bit .rpm are not distributed with the same LCL sources ?

on Mint 32 bit (setup the .deb), I have this definition of TProcessUTF8, which I believe is the origin of the error:

Code: Pascal  [Select][+][-]
  1. TProcessUTF8 = type TProcess;

while on suse 64 bit (setup the .rpm)

the definition is (and the stuff compiles fine with this):

Code: Pascal  [Select][+][-]
  1. TProcessUTF8 = class(TProcess)
  2. end;  

The alias seems to be the cause of the troubles. Already reported ?
Did the packager for debian used the wrong SVN revision ?



Also from the language POV, isn' it a bit strange that type aliases prevent overriding ? FPC 3 bug ?

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 184
    • http://www.lazarus.freepascal.org
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #138 on: January 11, 2016, 11:09:16 am »
I just installed the rpm for 32bit and 64bit and both have the

  {$IFDEF UseTProcessAlias}
type
  TProcessUTF8 = class(TProcess)
  end;
  {$ENDIF}

guest58172

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #139 on: January 11, 2016, 11:29:04 am »
I just installed the rpm for 32bit and 64bit and both have the

  {$IFDEF UseTProcessAlias}
type
  TProcessUTF8 = class(TProcess)
  end;
  {$ENDIF}

Then it's only on the .deb package. (remember, I encounter the problem on Mint 32 bit -> Ubuntu-like -> based-on-Debian -> so .deb package)
I've opened a Mantis ticket for Laz: http://bugs.freepascal.org/view.php?id=29368
then another one for FPC: http://bugs.freepascal.org/view.php?id=29367

But a thing that I don't get is that the release construction process should be automated (isn't it the case ?)...then how can two different files be distributed for the same release point ?

That's crazy. :o

Thaddy

  • Hero Member
  • *****
  • Posts: 14166
  • Probably until I exterminate Putin.
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #140 on: January 11, 2016, 12:38:02 pm »
The deb packages are maintained by the distribution, i.e. are governed by the debian maintainers.
The easiest way to install that is through debian experimental for fpc 3.0.
Other distributions may well have a different release point, hence the difference is not fully controlled by the fpc/lazarus maintainers over all distributions.

That's why I always build from source with the provided package only as the starting compiler.
Much more control and far less issues between linux distributions.

That said: you have clearly found a bug, I added some comments to your report regarding Tbar = type Tfoo; and not being able to override a constructor. That is a bug. I am still  testing if it is a regression.
[edit]
It is not a regression from 2.6.4. Just tested.
« Last Edit: January 11, 2016, 01:56:14 pm by Thaddy »
Specialize a type, not a var.

guest58172

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #141 on: January 11, 2016, 03:17:31 pm »
The deb packages are maintained by the distribution, i.e. are governed by the debian maintainers.

Ok, I see what you mean, to be clear:
I've downloaded the .deb from SourceForge, as usual. They don't come from the official package manager. It's the 1.6RC1 as distributed on SF.

elite001

  • Newbie
  • Posts: 5
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #142 on: January 13, 2016, 08:34:04 am »
hello everyone.. sorry for my english...
Laz 1.6 not working properly if cfg files are stored in user profile where username - rus letters..(((


FTurtle

  • Sr. Member
  • ****
  • Posts: 292
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #143 on: January 13, 2016, 12:57:59 pm »
hello everyone.. sorry for my english...
Laz 1.6 not working properly if cfg files are stored in user profile where username - rus letters..(((
You can use alternative directory for configuration.
See here:
http://wiki.freepascal.org/Multiple_Lazarus#Solution_for_separating_instances_using_multiple_config_dirs
http://wiki.freepascal.org/Multiple_Lazarus/ru

calebs

  • Full Member
  • ***
  • Posts: 190
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #144 on: February 24, 2016, 01:53:38 pm »
Quote
O:-)  wp  O:-)    -     « Reply #17 on: Today at 07:51:20 pm »

There have been some recent modifications of LNet to make it compile under FPC3. Get yourself the trunk version of LNet.

Yes, the trunk version was the solution, Thank you     :)

Hello! Where do i download the trunk for lnet? I've tried with subversion with url http://svn.freepascal.org/svn/fpcprojects/lnet/trunk/ but asks for user and password

balazsszekely

  • Guest
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #145 on: February 24, 2016, 01:57:34 pm »
@calebs
Use a SVN client like TortoiseSVN, VisulaSVN or the command line.

calebs

  • Full Member
  • ***
  • Posts: 190
Re: Lazarus 1.6 - 1st Release Candidate
« Reply #146 on: February 24, 2016, 01:58:21 pm »
Thanks. I've figured it out.
I was rusty with svn

 

TinyPortal © 2005-2018