[Pkg-pascal-devel] Bug#981549: lazarus-ide: At startup, a message will appear if it is different from the ver described in version.inc.

Paul Gevers elbrus at debian.org
Thu Feb 4 09:35:41 GMT 2021


Control: tags -1 confirmed
Control: severity -1 important

Hi,

On 01-02-2021 10:22, averageos2 wrote:
> If lazarus-ide is different from the ver name described in version.inc in / etc / alternatives / lazarus / ide at startup, an error will be displayed.
> I want you to change version.inc to '2.0.10 + dfsg-4 + b1' as well as the package.

Thanks for the report.

Interesting, when I manually add (doesn't prevent the "wrong version"
error) or replace the current content in
/usr/lib/lazarus/2.0.10/ide/version.inc (which is where this alternative
points to), I get a pop-up with the following text:

"""
Welcome to Lazarus 2.0.10+dfsg-4+b1

There is already a configuration from version 2.0.10 in
/home/paul/.lazarus
The configuration will be downgraded/converted.

If you want to use two different Lazarus versions you must start the
second Lazarus with the command line parameter primary-config-path or pcp.

For example:
/usr/lib/lazarus/2.0.10/startlazarus --pcp=~/.lazarus_test
"""

The text of that pop-up is "Downgrade configuration" which is at least
confusing as this is definitely no downgrade, if anything it's an
upgrade. The choice I have is "Abort" or "Downgrade".

On top of that, when I hit "Abort" I get an Access Violation (see
below). It seems like this all doesn't work very pretty.

So, two possibilities:
1) we should patch the check in lazarus-ide to *not* fail on
distribution changes that keep upstream version intact
2) we have to make lazarus-src-2.0 a arch:any package and have to fix
the version string during rebuilds.

Paul


paul at mulciber ~ $ lazarus-ide

(lazarus-ide:28780): Gtk-WARNING **: 10:28:11.773: Unable to locate
theme engine in module_path: "adwaita",
Adding "" as a parameter
TLazarusManager.Run starting /usr/lib/lazarus/2.0.10/lazarus ...

(lazarus:28781): Gtk-WARNING **: 10:28:11.925: Unable to locate theme
engine in module_path: "adwaita",
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions]
PrimaryConfigPath="/home/paul/.lazarus"
Hint: (lazarus) [TMainIDE.ParseCmdLineOptions]
SecondaryConfigPath="/etc/lazarus"
LAZARUS END - cleaning up ...
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D773411B
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D773411B
Exception at 000055B6D7C2C7C9: EAccessViolation:
Access violation.
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D773411B
  $000055B6D777CE46
  $000055B6D7738BF9
  $000055B6D773411B
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D773411B
  $000055B6D777CE46
  $000055B6D7738BF9
  $000055B6D773411B
Exception at 000055B6D7C2C7C9: EAccessViolation:
Access violation.
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D7830BE6
  $000055B6D773411B
  $000055B6D77799A9
  $000055B6D7738A07
  $000055B6D773411B
  $000055B6D777CE46
  $000055B6D7738BF9
  $000055B6D773411B
TApplication.HandleException: EAccessViolation
Access violation
  Stack trace:
  $000055B6D7C2C7C9
  $000055B6D77A9135
  $000055B6D7830BE6
  $000055B6D773411B
  $000055B6D77799A9
  $000055B6D7738A07
  $000055B6D773411B
  $000055B6D777CE46
  $000055B6D7738BF9
  $000055B6D773411B
Exception at 000055B6D7C2C7C9: EAccessViolation:
Access violation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20210204/509f8d31/attachment.sig>


More information about the Pkg-pascal-devel mailing list